Author Topic: Open gl compiler flags not working  (Read 2047 times)

Offline Al99

  • Single posting newcomer
  • *
  • Posts: 1
Open gl compiler flags not working
« on: December 21, 2023, 12:17:09 pm »
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.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1634
Re: Open gl compiler flags not working
« Reply #1 on: December 21, 2023, 12:44:34 pm »
Post a full rebuild log in code tags (the # above the post window).