zoqafr.blogg.se

Codeblocks compiler settings to prevent winmain16 errors
Codeblocks compiler settings to prevent winmain16 errors




codeblocks compiler settings to prevent winmain16 errors

Build: Debug in Tutorial1 (compiler: GNU GCC Compiler). I mainly work under Linux, so that's my setup which I use to test my code under Windows.

codeblocks compiler settings to prevent winmain16 errors

This could show errors, however, if you try to compile other people's code. * Doing this means that you wont have to copy SDL2.dll at the same directory where the executable is. Then, you will be able to compile all SDL2 projects by doing the following:Īnd add the following at the extra linker settings (note the order): copy the contents of 'bin' at 'mingw/bin'* copy the contents of 'lib' at 'mingw/lib' copy the contents of 'include' at 'mingw/include/SDL2/' > From the appropriate folder (x86, 圆4 or whatever they are called), do: > Download the mingw binaries from the SDL website

codeblocks compiler settings to prevent winmain16 errors

> Remove anything that has to do with SDL from Codeblocks/MinGW. If that is easy for you, and you'll be using SDL2, just for compiling your programs, try this method:






Codeblocks compiler settings to prevent winmain16 errors