Help for GAlib++

yuhuanan yuhuanan at up369.com
Wed Apr 17 15:07:24 EDT 2002


Dear Webmaster:
  I am  a graduate in China.I have gotten a copy of GALib++ from your ftp site.The GaLib++ library is a so useful tool for me to do genetic-algorithm related programming.When i was working on it,I have encountered some problems.
I will be very grateful if you can tell me how to deal with these problems.Here is my problem:
when i compiled the GaDemo project with microsoft Visual C++6,I got the following error message: can not open file "..\galib-2.4.4\projects\library\Debug\galib.lib".I browsered through the directory of GaLib++,I could not find the galib.lib. I excluded the galib.lib from the project and got the projected compiled.Howerver,I got the following error message:

Linking...
gademoView.obj : error LNK2001: unresolved external symbol "void __cdecl GAErr(class GASourceLocator,char const *,char const *,enum GAErrorIndex,char const *,char const *)" (?GAErr@@YAXVGASourceLocator@@PBD1W4GAErrorIndex@@11 at Z)
gademoView.obj : error LNK2001: unresolved external symbol "float __cdecl ran2(void)" (?ran2@@YAMXZ)
gademoView.obj : error LNK2001: unresolved external symbol "double __cdecl GAUnitGaussian(void)" (?GAUnitGaussian@@YANXZ)
gademoView.obj : error LNK2001: unresolved external symbol "public: int __thiscall GAParameterList::set(char const *,double)" (?set at GAParameterList@@QAEHPBDN at Z)
gademoView.obj : error LNK2001: unresolved external symbol "public: int __thiscall GAParameterList::set(char const *,void const *)" (?set at GAParameterList@@QAEHPBDPBX at Z)
gademoView.obj : error LNK2001: unresolved external symbol "public: __thiscall GASimpleGA::GASimpleGA(class GAGenome const &)" (??0GASimpleGA@@QAE at ABVGAGenome@@@Z)
gademoView.obj : error LNK2001: unresolved external symbol "public: __thiscall GADemeGA::GADemeGA(class GAGenome const &)" (??0GADemeGA@@QAE at ABVGAGenome@@@Z)
gademoView.obj : error LNK2001: unresolved external symbol "public: __thiscall GAIncrementalGA::GAIncrementalGA(class GAGenome const &)" (??0GAIncrementalGA@@QAE at ABVGAGenome@@@ ...........
Debug/gademo.exe : fatal error LNK1120: 55 unresolved externals
Error executing link.exe.
   Then I did not know how to do .I am looking forward to your answers.
									            yours truely
        									   yuhuanan at up369.com




More information about the galib mailing list