[Coin-symphony] compile error (now linking error)
Baharev Ali
ali.baharev at gmail.com
Fri Mar 10 17:43:18 EST 2006
First, thanks for the prompt and detailed replies.
I have downloaded the brand new COIN_2006Mar10.tgz.
I have compiled COIN's Coin, Clp, OsiClp and Cgl libraries using the
*.dsp files. They seem to be OK, no error occured.
I have had to comment out these lines:
#if !defined(HAS_SRANDOM)
extern int srandom PROTO((unsigned seed));
#endif
#if !defined(HAS_RANDOM)
extern long random PROTO((void));
#endif
in tm_func.c and _NOT_ in proto.h. By the way, won't it cause problems
in the future?
I changed line 347 in COIN\SYMPHONY\src\WIN32\sym.mak:
lib.exe /nologo /out:$(OUTDIR)\symphonyLib.lib $(OUTDIR)\*.obj
(The command "lib.exe" is unknown on my system.)
Now it is:
link -lib /nologo /out:$(OUTDIR)\symphonyLib.lib $(OUTDIR)\*.obj
After all i get this:
[...]
glprng.c
"symphonyLib.lib" created successfully...
...
Compiling SYMPHONY main function...
Skipping... (no relevant changes detected)
main.c
main compiled successfully...
...
Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF'
specification
LINK : fatal error LNK1104: cannot open file 'libcmtd.lib'
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
What shall i do now?
I have checked, libcmtd.lib is not on my computer.
Please note, that i have Microsoft Visual C++ Toolkit 2003 on my system.
Thanks,
Ali
More information about the Symphony
mailing list