[Lemon-user] Error LNK2001 in Build

Jean-Bertrand Gauthier jean-bertrand.gauthier at hec.ca
Mon Sep 10 18:00:46 CEST 2012


I observed the same problem.  It seems there is some missing information 
passed to cmake.  I further notice that the HTML project is absent as well.

Try to do build solution from the menu first.  Then build each instance 
listed in the order of the instructions.  If that doesn't work tyr to 
change LEMON_DOC_SOURCE_BROWSER to yes in cmake.  This should actually 
make no difference but it did for me...

On 14/08/2012 12:03 PM, Yaniv Yacoby wrote:
> Hey,
>
> I am trying to use Lemon - specifically Dijkstra's algorithm - and I 
> am getting the following errors when building it:
> error LNK2001: unresolved external symbol "struct lemon::Invalid const 
> lemon::INVALID".
>
> To install it, I followed the procedure in this link: 
> http://lemon.cs.elte.hu/trac/lemon/wiki/InstallCmake
> (I am using Visual Studio 2010 on Windows 7)
>
> One suspicious symptom I found was that when I built RUN_TESTS (in the 
> last section of the installation procedure), it could not find any of 
> the files necessary to run the tests, and I got an error message 
> saying that it failed in running 35 out of 35 tests.
>
> Does anyone know what could have caused this and how to fix it?
>
> Thanks!
>
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20120910/6da1212b/attachment.html>


More information about the Lemon-user mailing list