Code::Blocks SDL2 [email protected] problem
Im learning c++ and wanted to get started with sdl but everytime I get "undefined reference to [email protected]" 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.
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
Brother first show me your code