06-07-2011 10:01 PM
hi.
I'm trying to make a dll file from simulink model.
but some error occurred in simlink build process.
I reinstalled Visual C++, Matlab. and Veristand
and changed compiler to miscrosoft visual c++ 6.0 using cmex -setup command.
How can I solve this problem?
### Creating C:\VeriStand\2010\ModelInterface\tmw\lib\VC6.0\R2007b\RELEASE\rtwlib_sit.lib
lib /nologo /out:C:\VeriStand\2010\ModelInterface\tmw\lib\VC6.0\R2007b\RELEASE\rtwlib_sit.lib @C:\VeriStand\2010\ModelInterface\tmw\lib\VC6.0\R2007b\RELEASE\rtwlib_sit.txt
Couldn't open Libary file '/nologo.lib': No such file or directory
STMicroelectronics - Librarian - rel 2.02
Is it a new file? (y/n):NMAKE : fatal error U1077: 'lib' : return code '0x2'
Stop.
C:\Temp\test_niVeriStand_rtw>echo The make command returned an error of 2
The make command returned an error of 2
03-22-2013 05:54 PM
03-26-2013 01:26 PM
That compile error looks like something within Matlab... the .lib it couldn't find might be a path issue.
Otherwise, check out this thread which goes through some of the more in depth stuff to setup to create .dlls (ie choosing NIVeriStand.tlc as the target file, getting the VeriStand server setup in Matlab, etc).