Author Topic: configuring for OpenGL  (Read 9372 times)

Offline afrim

  • Single posting newcomer
  • *
  • Posts: 2
configuring for OpenGL
« on: May 13, 2015, 07:36:15 am »
hello guys

i am using linux mint and by reviews i saw that codeblocks can be used for open gl anyone can tell me how to configure please?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: configuring for OpenGL
« Reply #1 on: May 13, 2015, 09:15:39 am »
As any other library. Search for a tutorial, look in the manual, etc.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: configuring for OpenGL
« Reply #2 on: May 13, 2015, 11:37:02 am »
What exactly do you want to configure, anyway?

OpenGL is almost certainly installed on the system (shaders being used for cinnamon effects and such), and the header file is almost certainly present, too (unless you've manually deleted it).

There's a compileable, working "New OpenGL project" template within Code::Blocks as well as a GLFW template. Apart from maybe having to do something like apt-get install glew if you want to use GLEW, what else could you possibly need to do?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."