バックナンバーはこちら。
https://www.simulationroom999.com/blog/model-based-of-minimum-2-backnumber/
はじめに
前回はXCP Basicを動作させるまでの方針と実験構成を決めたところ。
若干確定し切れていない作業もあるが、それは追々状況を見ながら考えていく。
今回はXCP Basicを入手しビルドしてみようと思う。
登場人物
博識フクロウのフクさん
![指差しフクロウ](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
イラストACにて公開の「kino_k」さんのイラストを使用しています。
https://www.ac-illust.com/main/profile.php?id=iKciwKA9&area=1
エンジニア歴8年の太郎くん
![技術者太郎](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
イラストACにて公開の「しのみ」さんのイラストを使用しています。
https://www.ac-illust.com/main/profile.php?id=uCKphAW2&area=1
XCP Basicを入手
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
次はXCP Basicの入手だ。
以前もURLは張ったが以下から入手可能だ。
Vector社 XCP Basic
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
zipファイルが入手できたからこれを解凍すれば良いんだね。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/「技術者a」13アップ.png)
と、
てっきりソースコードが圧縮されてたのかと思ってたけど
setup.exeが出てきたぞ。
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/お休みフクロウ.png)
それでインストール・・・。
というかXCP Basicのソースコードを展開する場所を指定するだけだ。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
とりあえず実行してみよう。
XCP Basicのインストール
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
なんか良くある使用許諾の奴が出てきた。
![XCP Basic EULA、Agreement on the Delivery of CANape Driver Generator and Library § 1 Scope of Contract1.1 Vector shall deliver to You the XCP ECU driver together with the related user documentation, altogether in the following referred to as “SOFTWARE”.、XCP Basic InstallShield Wizard、License Agreemnet、Please read the following license agreement carefully、Vector、I accept the terms in the license agreement、I do not accept the terms in the license agreement、Print、Back、Next、Cancel](https://www.simulationroom999.com/blog/wp-content/uploads/2021/10/02_XCP-Basic-EULA.png)
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
これが以前説明したXCP BasicのEULA(使用許諾)の文面だ。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者02アップ.png)
確かここでやったね。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
ここはaccept側を選んでOKだな。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者02アップ.png)
次はインストールフォルダの選択か。
![XCP Basicインストール先、XCP Basic InstallShield Wizard、Destinaton Folder、Vector、Click Next to install to this folder, or click Change to install to different folder.、Install XCP Basic to:、Documents、Vector_XCP_Basic、Change、Back、Next、Cancel](https://www.simulationroom999.com/blog/wp-content/uploads/2021/10/03_XCP-Basicインストール先.png)
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
普通のインストーラだとProgram filesとかになるけど、
これはドキュメントフォルダになるんだな。
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/お休みフクロウ.png)
まぁ実行ファイルをインストールするわけじゃなくて、
ソースコードの展開先を指定するだけだからね。
特に問題なければドキュメントフォルダのままのインストールでもOKだ。
必要に応じてそこからコピーして使っても良いし。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者02アップ.png)
そういうことなら、そのまま次へ・・・。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者01アップ.png)
うん。
インストールできたっぽい。
ビルド環境
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/「技術者a」13アップ.png)
ソースコードを入手したけど、
ビルド環境はどうする?
恒例のVisual Studio 2017 express?
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
そうだね。
ライセンス的にもそれが一番問題が無いだろう。
Community版でもビルド自体はOKだし、個人利用であれば全く問題無いが、
企業内で利用すると何かしら制約多いしね。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/技術者02アップ.png)
じゃーここからDLしてインストールすればOKか。
まぁ僕の環境だとすでにインストール済みだけどね。
Virtual CAN Bus
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
一応Virtual CAN Busにも触れておくか。
![太郎くん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/「技術者a」13アップ.png)
これはVector社のデバイスドライバに含まれている機能なんだっけ?
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/お休みフクロウ.png)
そうだね。
Vector Driver SetupをDLしてインストールすると使用できるようになる。
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
というわけでソースコード、環境周りの準備はできたところだ。
まとめ
![フクさん](https://www.simulationroom999.com/blog/wp-content/uploads/2020/05/指差しフクロウ.png)
まとめだよ。
- XCP Basicを入手方法。
- Vector社のサイトから入手。
- インストール。
- 最初にEULAが出てくる。
- インストール先にはXCP Basicのソースコードが展開されるので好きなところでOK。
- ビルド環境は恒例のVisual Studio 2017 express。
- Virtual CAN Busのインストール。
バックナンバーはこちら。
コメント