Seems to work well, but had trouble closing it on my win7 box?
Minor issue
![smile :)](/forums/images/smilies/smile9.gif)
Code: Select all
C:\MinGW\bin\mingw32-make -f Makefile.win
pause
C:\MinGW\bin\mingw32-make clean -f Makefile.win
pause
You need the pre-compiled Visual Studio libraries (or compile SDL by hand) since ".a"-Files will only work with MinGW. To link against SDL with VS you either need .lib files - or link directly to the SDLMain DLL.Nomad wrote:I am using Visual Stuido, not mingw.
When I was using makefile, it tried to build a console app and I've got "uresolved external _console_main referenced in SDLmain.a". I've digged into SDLMain.a and found a reference to WinMain, so I manually switched to Win32 app. This time linker complained about unresolved "_alloca" in SDLMain.a, which is an intrinsic and should not be in object files.
So, I have not found any options to build under MSVC.
Users browsing this forum: No registered users and 5 guests