This time i builded my program under linux intersci (couldn't make it
work on windows) and i'm trying to build a dll on a windows platform,
for that i'm using Visual C++ 2008 express + SP1.
I trink that the builder.sce generated by intersci must be the same on
linux and windows, but went loaded it displays:
-----------------------------------
-->exec check_builder.sce;
ilib_name =
libchecka
Generate a gateway file
Generate a loader file
Generate a Makefile: Makelib
Running the makefile
Compilation of check
Compilation of ccheck
NMAKE : fatal error U1077: '"C:\Archivos de programa\Microsoft
Visual Studio 9.0\VC\bin\cl.EXE"' : return code '0x2'
Stop.
!--error 10000
unix_s: error during "nmake /Y /nologo /f Makelib.mak ccheck.obj"
execution
at line 34 of function unix_s called by :
line 35 of function ilib_compile called by :
line 59 of function ilib_build called by :
ilib_build(ilib_name,table,files,libs);
line 7 of exec file called by :
---------------------------------
i get the same error on every file a try to compile, they build fine
on linux (with gcc copiler).
Any ideas on how to build it on a windows platform?
I met the same question as yours, I guess it is due to some .h files
that cannot be found in Windows
Here's some advice that was given to me when I had a compiler issue:
The files are placed in ScicosLab's TMPDIR. Just type TMPDIR at the
prompt. You can go to this directory in MSDOS shell of Visual Express
and launch the compilation to obtain detailed error messages.
c:\Users\ramin\AppData\Local\Temp\SCI_TMP_6488_>nmake /f Makelib.mak
You may have to edit two lines in the Makelib.mak to remove
-Dmexfunction_=mex$*_ -DmexFunction=mex_$*
and
-Dmexfunction=mex$*
Thanks a lot, usually I put the c code to compile and test them in
VS2008 :), your advice is really useful for me!