Archived

This topic is now archived and is closed to further replies.

nyStagmus

SDL+Lua=error?

Recommended Posts

nyStagmus    122
I have been trying all day to get Lua and SDL to play nice in VC7. SDL requires that I use a multithreaded DLL code generation. So far so good. Then I add in the Lua codebase since I need to make some modifications. Now it breaks down with an unhandled exception error when WinMain is called from the crt. I have used Lua before without SDL and have never encountered this problem. I should add that I tried removing Lua from the project and everything works fine. So there I am. Does anyone know what is going on? I am getting a bit desperate by now I might add.

Share this post


Link to post
Share on other sites
nyStagmus    122
Thanks for the reply Brad. Yes I have tried. It now works after I excluded certain standard libraries that were included more than once for some reason. Don''t know why, but now it seems to work...

Share this post


Link to post
Share on other sites