+ 1
Code::Blocks SDL2 WinMain@16 problem
Im learning c++ and wanted to get started with sdl but everytime I get "undefined reference to WinMain@16" error. I tried everything, read every tutorial, included "include" and "lib" directories, typed -lmingw32 -lSDL2main -lSDL2, in main i have (int argc, char* argv[]). I dont know what i did wrong or havent included but i really want to get this working. Please help.
2 Respuestas
+ 1
And you can use other applications like dev, code block, turbo c++ and many more because some functions dose not work in SoloLearn you can get more freedom in the above applications
+ 1
Brother first show me your code