[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: problems linking with lua...
- From: Terence Martin <tmartin@...>
- Date: Wed, 6 Nov 2002 11:19:07 -0800
Have you double checked:
- That the library path includes where the lua libs are
- That you're specifying the right library
Another thing I've noticed causing problems is if you try to link code
generated as "Multithreaded" with code generated as "Single Threaded",
it can go all stupid, telling you it can't find stuff, or that there's
duplicate symbols, etc.
The extern "C" part is vital though. C++ won't link with library
On Wed, 6 Nov 2002 19:08:11 -0000
"Keith" <email@example.com> wrote:
> I am having problems getting my project to link with lua.
> I keep getting unresolved extern error messages no matter what I do.
> "unresolved external symbol _lua_open" I am using MS VC++ 6.00 and
> have set my project setting as I normally do to link in statically
> linked libs.
> I have also tried using:
> extern "C"
> #include "lua.h"
> but that does not resolve the issue.
> Any suggestions???
> Thanks in advance
> Keith A. Taylor
> Email: firstname.lastname@example.org