Lua LNK2005 error : solution not really satisfying
So,
I am using Lua 5.0 with Visual Studio .NET. So, i added the header files, included the precompiled libs from the lua page and got many lnk2005. All of them said that some functions are crashing with function names from a library called libcmt.lib.
So i excluded this one from being linked into the project and now it works. But is there another way than excluding this file ?
THX for your answers
Common problem, discussed on the Lua mailing list every few days. It happens a lot to the SDL people, too. Some say it''s because your linking options (eg. multithreaded, dll, etc) for your project differ from those used with Lua. Other people just exclude the extra library and have no ill effects.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement