Custom build compiler flags not working in codeblocks
Hi I am trying to build some sdl2 and opengl c++ code in codeblocks. I have added -lGL -lGLU and -lSDL2 in the project build options. When I build I still get undefined references. When I compile with g++ on the command line these build options work. Why do they not work in codeblocks?
I would really like to use codeblocks instead of the command line.
How can I make it work?
Thanks.
|