[Lemon-user] LNK2019: unresolved external symbol

Sean Dorch Charleston thejohnnyc at hotmail.com
Sat Jun 4 01:35:35 CEST 2011


Hello,
I'm using Visual Studio 2010 on Windows Vista 64 and I'm unable to complete the LEMON installation.  After running cmake and opening the solution file generated, I can't build ALL_BUILD as I get 64 errors that look like:

Error    517    error LNK2019: unresolved external symbol glp_create_index referenced in function "protected: __cdecl lemon::GlpkBase::GlpkBase(void)" (??0GlpkBase at lemon@@IEAA at XZ)    C:\Users\John Gunnar Carlsson\LEMON\test\lemon.lib(glpk.obj)    lp_test
Error    518    error LNK2019: unresolved external symbol glp_create_prob referenced in function "protected: __cdecl lemon::GlpkBase::GlpkBase(void)" (??0GlpkBase at lemon@@IEAA at XZ)    C:\Users\John Gunnar Carlsson\LEMON\test\lemon.lib(glpk.obj)    lp_test
Error    519    error LNK2019: unresolved external symbol glp_copy_prob referenced in function "protected: __cdecl lemon::GlpkBase::GlpkBase(class lemon::GlpkBase const &)" (??0GlpkBase at lemon@@IEAA at AEBV01@@Z)    C:\Users\John Gunnar Carlsson\LEMON\test\lemon.lib(glpk.obj)    lp_test

Am I supposed to link to GLPK manually?  How can I do that?
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20110603/7ded421d/attachment.html>


More information about the Lemon-user mailing list