🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Lua LNK2005 error : solution not really satisfying

Started by
1 comment, last by Metzler 20 years, 11 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
Advertisement
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.
THX. I will look into the mailing list.

This topic is closed to new replies.

Advertisement