04-20-2011 07:38 AM
Hello.
I am trying to create a simple simulink model for cRio. Unfortunately it does not work, though there is no problem when i try generating a dll for a Farlab OS.
I installed the Visual Studio 8 SDK as well as adding the NIVeriStandSignalProbe to Simulink. In RealtimeWorkshop Options I chose NIVeriStand_VxWorks.tlc. When clicking the build-button, the following error occours:
Error building Real-Time Workshop target for block diagram 'Differer'. MATLAB error message:
Error using ==> RTW.genMakefileAndBuild
It appears that the build process was unable to locate some utility (e.g. make,
compiler, linker, etc.). Please verify your path and tool environment variables
are correct. You should be able to execute the make command:
.\Differer.bat
at an MS DOS Command Prompt in the directory:
d:\Prog\MATLAB\R2006b\work\Differer_niVeriStand_VxWorks_rtw
Currently, this generates the following error:
d:\Prog\MATLAB\R2006b\work\Differer_niVeriStand_VxWorks_rtw>set MATLAB=D:\Prog\MATLAB\R2006b
d:\Prog\MATLAB\R2006b\work\Differer_niVeriStand_VxWorks_rtw>c:\gccdist\supp\setup-gcc.bat && make -f Differer.mk GENERATE_REPORT=0 ADD_MDL_NAME_TO_GLOBALS=1 NIDEBUG=0 NIOPT="Default" OPTS=""
The system cannot find the path specified.
Looking forward to some help!
Solved! Go to Solution.
05-06-2011 04:42 AM
Hello PhilippB,
for me it looks like that this is an error related to your Matlab settings.
Do you get the same error when you try to build a model without the VeriStand option?
Kind regards
Carsten
07-12-2011 04:46 AM
You just mentioned that you installed the Visual C++ toochain. For cRIOs VxWorks you need the GNU toolchain from here: http://zone.ni.com/devzone/cda/tut/p/id/5694