<html>
<blockquote type=cite class=cite cite><br>
Hi all,<br><br>
I have problems using GAlib with VC++6.0.<br>
I have made a static library project and changed the setting. Now I have
started another project using ex1.C (renamed Opta.cpp) and get the
following message:<br><br>
Opta.cpp<br>
Linking...<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public:
virtual __thiscall
GA2DBinaryStringGenome::~GA2DBinaryStringGenome(void)&quot;
(??1GA2DBinaryStringGenome@@UAE@XZ)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public:
virtual __thiscall GASimpleGA::~GASimpleGA(void)&quot;
(??1GASimpleGA@@UAE@XZ)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public:
virtual int __thiscall GASimpleGA::populationSize(unsigned int)&quot;
(?populationSize@GASimpleGA@@UAEHI@Z)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public:
__thiscall GASimpleGA::GASimpleGA(class GAGenome const &amp;)&quot;
(??0GASimpleGA@@QAE@ABVGAGenome@@@Z)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public:
__thiscall GA2DBinaryStringGenome::GA2DBinaryStringGenome(unsigned
int,unsigned int,float (__cdecl*)(class GAGenome &amp;),void *)&quot;
(??0GA2DBinaryStringGenome@@QAE@IIP6AMAAVGAGenome@@@ZPAX@Z)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;void __cdecl
GARandomSeed(unsigned int)&quot; (?GARandomSeed@@YAXI@Z)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public: void
__thiscall GAStatistics::flushScores(void)&quot;
(?flushScores@GAStatistics@@QAEXXZ)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public: int
__thiscall GAParameterList::set(char const *,void const *)&quot;
(?set@GAParameterList@@QAEHPBDPBX@Z)<br>
Opta.obj : error LNK2001: unresolved external symbol &quot;public: int
__thiscall GAParameterList::set(char const *,double)&quot;
(?set@GAParameterList@@QAEHPBDN@Z)<br>
Debug/Opta.exe : fatal error LNK1120: 9 unresolved externals<br>
Error executing link.exe.<br><br>
Opta.exe - 10 error(s), 0 warning(s)<br><br>
Hope someone can help me resolve this!<br><br>
Thanks<br><br>
Sam<br><br>
********************************************************************************
<br>
<font color="#008080"><b>Samuel Danthine</b> <br>
</font>Department of Economics<br>
University of Rochester <br>
238 Harkness Hall<br>
Rochester, NY 14627<br><br>
<font color="#0000FF">Phone</font>:(585) 275 5287<br>
<font color="#0000FF">Fax:</font> (585) 256 2309 <br>
<font color="#000080">E-mail</font>: samd@troi.cc.rochester.edu <br>
Homepage:
<a href="http://troi.cc.rochester.edu/~samd" eudora="autourl"><font color="#0000FF"><u>http://troi.cc.rochester.edu/~samd</a></u></font>
<br>
---------------------------------------------------------------------------------------------------</blockquote>
<x-sigsep><p></x-sigsep>
******************************************************************************** <br>
<font color="#008080"><b>Samuel Danthine</b> <br>
</font>Department of Economics<br>
University of Rochester <br>
238 Harkness Hall<br>
Rochester, NY 14627<br><br>
<font color="#0000FF">Phone</font>:(585) 275 5287<br>
<font color="#0000FF">Fax:</font> (585) 256 2309 <br>
<font color="#000080">E-mail</font>: samd@troi.cc.rochester.edu <br>
Homepage: <a href="http://troi.cc.rochester.edu/~samd" eudora="autourl"><font color="#0000FF"><u>http://troi.cc.rochester.edu/~samd</a></u></font> <br>
---------------------------------------------------------------------------------------------------<br>
</html>