[Lemon-user] error LNK2001: unresolved external symbol "struct lemon

Alpar Juttner alpar at cs.elte.hu
Mon Jun 17 16:28:13 CEST 2013


> 
> I built the lemon library using cmake and visual c++ 2008 on windows
> platform. I followed the instructions on the Lemon website. However,
> I'm receiving the following link error when trying to compile a
> program:
> 
> 
> error LNK2001: unresolved external symbol "struct lemon::Invalid const
> lemon::INVALID" (?INVALID at lemon@@3UInvalid at 1@B)

You should also add the LEMON lib when _link_ your own code.

Regards,
Alpar




More information about the Lemon-user mailing list