VTD:MSC Software 安装&License激活方法
一、安装nvidia显卡驱动
选择适配电脑配置的NVIDIA驱动,选中后点击[button](Apply change)。
二、安装依赖包
sudo apt-get install xterm
sudo apt-get install freeglut3
sudo apt-get install openssh-server
sudo apt-get install nfs-common
sudo apt-get install mesa-utils
sudo apt-get install xfonts-75dpi
sudo apt-get install libusb-0.1-4
sudo apt-get install python
sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install openjdk-8-jdk
sudo apt-get update
三、安装license管理工具:helium
如果HostID = 空,则返回上一步,安装依赖sudo apt-get install lsb
将两个路径如图空格改成下划线。
四、安装VTD软件
一直下一步:
五、配置license,运行软件
zq@zq:~/vtd/VTD.2023.3/bin$ ./vtdStart.sh --select
setting VTD Project Directory
setting VTD SETUP Directory
working in VTD_ROOT=/home/zq/vtd/VTD.2023.3
------------------------------------------
Virtual Test Drive
------------------------------------------
SETUP SETUP SETUP /home/zq/vtd/VTD.2023.3/bin/../Data/Setups
Working Directory /home/zq/vtd/VTD.2023.3/bin/../Data/Setups
____________________________________________
SETUP SELECTION
____________________________________________
Please enter the number of your target setup.
[ 0 ] AdamsPassengerCar
[ 1 ] AdamsTruckTrailer
[ 2 ] CameraHIL
[ 3 ] ColorSegmentation
[ 4 ] Deterministic.headless
[ 5 ] Deterministic.noIG
[ 6 ] Distortion.FishEye
[ 7 ] Distortion.Pinhole
[ 8 ] DualHost
[ 9 ] DualIGDualPlayer
[ 10 ] FlowGenerator
[ 11 ] Four.FishEye
[ 12 ] GroundTruth
[ 13 ] GroundTruth.headless
[ 14 ] Joystick
[ 15 ] PBR_High
[ 16 ] PBR_Standard
[ 17 ] Standard
[ 18 ] Standard.HDR
[ 19 ] Standard.headless
[ 20 ] Standard.LeftHandTraffic
[ 21 ] Standard.Materials
[ 22 ] Standard.noGUInoIG
[ 23 ] Standard.noIG
[ 24 ] Standard.Sound
[ 25 ] Standard_SQ
Current [ 26 ] Standard_zq
[ 27 ] Stereo
[ 28 ] TripleIGTriplePlayer
[ 29 ] WindshieldWiper
[ Enter ] Keep current setting [ Standard_zq ]
-->Selection: 26
打开26号工程:Standard_zq,如下图Apply Configuration 按钮为绿色,说明license激活成功。
5.1 异常报错
若该按钮为灰色,则重新激活license服务。
```bash
zq@zq:~$ cd /msc/MSC.Software/MSC_Licensing/Helium
zq@zq:/msc/MSC.Software/MSC_Licensing/Helium$ sudo ./lmgrd -c license.dat -l …/LOG/lmgrd.log
[sudo] password for zq:
报错如下图所示:
该秘钥为CN版本,需要下载对应软件包:
如上图命令,可检测秘钥是否激活成功。
5.2 配置开机启动
The file "msclmgrd" is a script created by the installer that
can be used to automatically start and stop the MSC license
server at system start-up and shutdown.
Use the following steps to setup the script for your system:
1. Make any modifications needed for your environment.
2. As root, copy the script to /etc/init.d/msclmgrd
3. As root, create symbolic links to the script in the run-level
directory used by your system. For example, if your system
uses run-level 5 as the default, use these commands to create
symbolic links to the msclmgrd script to be run at system
start-up and system shutdown:
/bin/ln -s /etc/init.d/msclmgrd /etc/rc5.d/S98msclmgrd
/bin/ln -s /etc/init.d/msclmgrd /etc/rc5.d/K98msclmgrd
The S link is run at system start-up, and the K link is
run at system shutdown.
4. At system start-up, the operating system runs all of the
S## scripts in numerical order, so choose a number that
causes the msclmgrd script to be run after any script
used to start basic networking services.
5. The script makes no attempt to handle restart or
refresh mode. If you require these features, you
must add them to the script based on your specific needs.
cd /msc/MSC.Software/MSC_Licensing/Helium/startup_script
sudo cp msclmgrd.example /etc/init.d/msclmgrd
cd /etc/init.d/
ls
如图生成msclmgrd
sudo chmod +x msclmgrd
给于执行权限,该文件变为绿色。
runlevel
sudo /bin/ln -s /etc/init.d/msclmgrd /etc/rc5.d/S98msclmgrd
sudo /bin/ln -s /etc/init.d/msclmgrd /etc/rc5.d/K98msclmgrd
如果runlevel反馈为4,则:
sudo /bin/ln -s /etc/init.d/msclmgrd /etc/rc4.d/S98msclmgrd
sudo /bin/ln -s /etc/init.d/msclmgrd /etc/rc4.d/K98msclmgrd
六、 运行VTD
、
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/74430b260fae429d9598ac9be15aee23.png#pic_center)
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/231f66d8b3fe4b67bcd3a4f52f22632c.png#pic_center)