[Coin-symphony] unresolved external symbol

Ali Baharev ali.baharev at gmail.com
Tue Mar 14 18:08:05 EST 2006


I have the COIN_2006Mar13.tgz.

I have Microsoft Visual Studio .NET 2003 installed (VC 7).

I have created Makefile-s from the corresponding *.dsp files. I have
attached them.

I had to uncomment the following lines:

#if !defined(HAS_SRANDOM)
extern int srandom PROTO((unsigned seed));
#endif
#if !defined(HAS_RANDOM)
extern long random PROTO((void));
#endif

in COIN\SYMPHONY\src\TreeManager\tm_func.c

Won't it cause problems later?

When linking sym_exe i get this:

[...]

glpmpl4.c
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
osiLib.lib(OsiSolverInterface.obj) : error LNK2019: unresolved
external symbol "public: __thiscall OsiAuxInfo::OsiAuxInfo(void *)"
(??0OsiAuxInfo@@QAE at PAX@Z) referenced in function "public: void
__thiscall OsiSolverInterface::setApplicationData(void *)"
(?setApplicationData at OsiSolverInterface@@QAEXPAX at Z)
.\Debug\symphony.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

C:\COIN\SYMPHONY\src\WIN32>

With dumpbin.exe on osiLib.lib i get this:

37B 00000000 UNDEF  notype ()    External     |
??0OsiAuxInfo@@QAE at PAX@Z (public: __thiscall
OsiAuxInfo::OsiAuxInfo(void *))

I don't know what it means but i guess the UNDEF(ined) is the problem.

What shall i do now?

Thanks in advance,

Ali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.tgz
Type: application/x-gzip
Size: 11057 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20060315/45807ec0/attachment.tgz>


More information about the Symphony mailing list