help for installation on windows platform

Xu Zhou xuzhou at comp.nus.edu.sg
Fri Dec 20 09:43:34 EST 2002


I run nmake to compile the program. But the compile is failure. here is the message, What's wrong with it?
Thanks,
ex1.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall GA2DBinaryStringGenome::~GA2DBinaryStringGenome(void)" (??1GA2DBinaryStringGenome@@UAE at XZ)
ex1.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall GASimpleGA::~GASimpleGA(void)" (??1GASimpleGA@@UAE at XZ)
ex1.obj : error LNK2001: unresolved external symbol "public: class GAGenome const & __thiscall GAStatistics::bestIndividual(unsigned int)const " (?bestIndividual at GAStatistics@@QBEABVGAGenome@@I at Z)
ex1.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall GASimpleGA::populationSize(unsigned int)" (?populationSize at GASimpleGA@@UAEHI at Z)
ex1.obj : error LNK2001: unresolved external symbol "public: __thiscall GASimpleGA::GASimpleGA(class GAGenome const &)" (??0GASimpleGA@@QAE at ABVGAGenome@@@Z)
ex1.obj : error LNK2001: unresolved external symbol "public: __thiscall GA2DBinaryStringGenome::GA2DBinaryStringGenome(unsigned int,unsigned int,float (__cdecl*)(class GAGenome &),void *)" (??0GA2DBinaryStringGenome@@QAE at IIP6AMAAVGAGenome@@@ZPAX at Z)
ex1.obj : error LNK2001: unresolved external symbol "void __cdecl GARandomSeed(unsigned int)" (?GARandomSeed@@YAXI at Z)
ex1.obj : error LNK2001: unresolved external symbol "public: void __thiscall GAStatistics::flushScores(void)" (?flushScores at GAStatistics@@QAEXXZ)
ex1.obj : error LNK2001: unresolved external symbol "public: int __thiscall GAParameterList::set(char const *,void const *)" (?set at GAParameterList@@QAEHPBDPBX at Z)
ex1.obj : error LNK2001: unresolved external symbol "public: int __thiscall GAParameterList::set(char const *,double)" (?set at GAParameterList@@QAEHPBDN at Z)
Debug/testGA1.exe : fatal error LNK1120: 10 unresolved externals

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20021220/2ff70082/attachment.htm


More information about the galib mailing list