<div dir="ltr">Hi all,<div>I am trying to compile and run the provided examples using visual studio 2010. but unfortunately it returns the following linking errors. Any idea how can I solve this problem?</div><div>Thanks</div>

<div>Sina</div><div><br></div><div><div>ex1.obj : error LNK2019: unresolved external symbol &quot;public: virtual __thiscall GA2DBinaryStringGenome::~GA2DBinaryStringGenome(void)&quot; (??1GA2DBinaryStringGenome@@UAE@XZ) referenced in function _main</div>

<div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: virtual __thiscall GASimpleGA::~GASimpleGA(void)&quot; (??1GASimpleGA@@UAE@XZ) referenced in function _main</div><div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: class GAGenome const &amp; __thiscall GAStatistics::bestIndividual(unsigned int)const &quot; (?bestIndividual@GAStatistics@@QBEABVGAGenome@@I@Z) referenced in function _main</div>

<div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: virtual int __thiscall GASimpleGA::populationSize(unsigned int)&quot; (?populationSize@GASimpleGA@@UAEHI@Z) referenced in function _main</div><div>

1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall GASimpleGA::GASimpleGA(class GAGenome const &amp;)&quot; (??0GASimpleGA@@QAE@ABVGAGenome@@@Z) referenced in function _main</div><div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall GA2DBinaryStringGenome::GA2DBinaryStringGenome(unsigned int,unsigned int,float (__cdecl*)(class GAGenome &amp;),void *)&quot; (??0GA2DBinaryStringGenome@@QAE@IIP6AMAAVGAGenome@@@ZPAX@Z) referenced in function _main</div>

<div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;void __cdecl GARandomSeed(unsigned int)&quot; (?GARandomSeed@@YAXI@Z) referenced in function _main</div><div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: void __thiscall GAStatistics::flushScores(void)&quot; (?flushScores@GAStatistics@@QAEXXZ) referenced in function &quot;public: virtual void __thiscall GAGeneticAlgorithm::evolve(unsigned int)&quot; (?evolve@GAGeneticAlgorithm@@UAEXI@Z)</div>

<div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: int __thiscall GAParameterList::set(char const *,void const *)&quot; (?set@GAParameterList@@QAEHPBDPBX@Z) referenced in function &quot;public: int __thiscall GAParameterList::set(char const *,unsigned int)&quot; (?set@GAParameterList@@QAEHPBDI@Z)</div>

<div>1&gt;ex1.obj : error LNK2019: unresolved external symbol &quot;public: int __thiscall GAParameterList::set(char const *,double)&quot; (?set@GAParameterList@@QAEHPBDN@Z) referenced in function &quot;public: float __thiscall GAGeneticAlgorithm::pCrossover(float)&quot; (?pCrossover@GAGeneticAlgorithm@@QAEMM@Z)</div>

<div>1&gt;c:\Sina\uni\GAlib Tests\Vs2010\vcpp2010\Debug\ex1.exe : fatal error LNK1120: 10 unresolved externals</div></div></div>