05-12-2021 12:40 AM
Hello friends,
I have some trouble when I build simulink model with NIVeriStand.tlc.
software info: Matlab(R2017b), Complier(Microsoft Visual C++ 2017 (C)), VeriStand (2020 R5)
One possible reason is that when I installed the compiler, I installed the Build Tool Visual C++ 2017, but did not install Visual Studio 2017.because Build Tool Visual C++ 2017 will not occupy the number of Visual Studio 2017 software licenses. does this have an effect?
Solved! Go to Solution.
05-12-2021 02:48 AM
I have solved this problem, just as mentioned, Build Tool Visual C++ 2017 is not enough for compile simulink model using NIVeristand.tlc( it's enough for compile simulink model using ert.tlc / autosar.tlc). VS2017 is needed.
05-12-2021 06:23 AM
Hello Leoyang,
You do not need a licensed version of Visual Studio 2017 to compile Simulink models using NIVeriStand.tlc. You can download and install the free version (Community Edition) and it will work fine. All you need to do is make sure you also install the SDKs, as shown below:
Alternatively, you can also install any version of Visual Studio 2017, but you do not need to license them. You can have them on your system, unactivated (if you don't use the IDE for development), but you will still be able to compile Simulink models.
Hope this helps.
Ray
09-09-2021 02:50 AM
Hello jano_rajmond,
I installed the vs2017 as you said,but when i compile simulink models shows "can not found “\rtw\c\tools\vctools.mak” do you know how to solve this problem,thanks!