User forums > Help
SDL and Codeblocks/MinGW - WinMain undefined reference
aboeing:
I have uploaded the codeblocks project with source here:
http://www.adrianboeing.com/tmp/sdl%20test.zip
MortenMacFly:
--- Quote from: aboeing on June 17, 2009, 03:40:24 am ---I have uploaded the codeblocks project with source here:
http://www.adrianboeing.com/tmp/sdl%20test.zip
--- End quote ---
Link against "mingw32" first. Next time you can try to use the wizard to create a project template for you. Cause that's what I have done and it just worked. ;-)
aboeing:
Thanks MortenMacFly! That was it, I had the dependencies in the wrong order:
for future reference this is the order you must have:
-lmingw32
-lSDLmain
-lSDL
Navigation
[0] Message Index
[*] Previous page
Go to full version