Hi:<div><br></div><div>I downloaded GALib version 247. I compiled as documented, using the following command</div><div><br></div><div>nmake /f makefile.vcpp</div><div><br></div><div>I got ga.lib.</div><div><br></div><div>I am now trying to create a vc++ project, referencing ga.lib. In my MSVC ide I have set the following.</div>
<div><br></div><div>C/C++ -> General -> Additional Include Directories = path to where the header files reside</div><div>Linker -> Input -> Additional Dependencies = ga.lib</div><div>Linker -> General -> Additional Library Directories = path to where the ga.lib resides</div>
<div><br></div><div>I created a vc++ solution based on ex1, when I am compiling I am getting a lot of linker errors. Primarily, the error output mentions msvcprtd.lib and libcmtd.lib</div><div><br></div><div>Error Output:</div>
<div>1>msvcprtd.lib(MSVCP100D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already defined in ga.lib(GA2DBinStrGenome.o)</div>
<div>1>LIBCMTD.lib(setlocal.obj) : error LNK2005: __configthreadlocale already defined in MSVCRTD.lib(MSVCR100D.dll)</div><div><br clear="all">My OS is Windows Pro 7, x86_64.</div><div><br></div><div>I would really appreciate if someone can help me in compiling the examples in MSVC++ ide.<br>
<br>-- <br>Regards,<br>Arup<br>
</div>