News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Open gl compiler flags not working

Started by Al99, December 21, 2023, 12:17:09 PM

Previous topic - Next topic

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).