Archived

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

SDL+Lua=error?

This topic is 5002 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
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