Advertisement

Lua LNK2005 error : solution not really satisfying

Started by July 22, 2003 07:16 PM
1 comment, last by Metzler 21 years, 4 months ago
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.
Advertisement
THX. I will look into the mailing list.

This topic is closed to new replies.

Advertisement