[Coin-symphony] unresolved external symbol

Menal Guzelsoy megb at lehigh.edu
Tue Mar 14 18:23:52 EST 2006


Ali,

osiLib.dsp is out of date and doesn't contain the file OsiAuxInfo.cpp which is
added recenty to Osi repository. So, just add this file to the source 
file list
of the project and rebuild osiLib library.

Let me know if this helps.

Menal.

Quoting Ali Baharev <ali.baharev at gmail.com>:

> 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.
>
> 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
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the Symphony mailing list