User forums > Help

Open gl compiler flags not working

(1/1)

Al99:
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.

Miguel Gimenez:
Post a full rebuild log in code tags (the # above the post window).

Navigation

[0] Message Index

Go to full version