Hello I am trying to learn how to program sdl and opengl in codeblocks on linux mint victoria. When I build an opengl c++ file it ignores the custon compiler flags I added, -lGL -lglut and -lGLU but these flags work on the command line with g++ and the file compiles fine and runs. Why are these custom compiler flags not working in codeblocks? How can I fix it?
Thanks.