Author Topic: How do I set up an OpenGL GLUT project ?  (Read 6381 times)

The Salesman

  • Guest
How do I set up an OpenGL GLUT project ?
« on: April 26, 2008, 11:55:58 pm »
I already have the platform SDK installed

Any help would be appreciated, thanks

Offline Barking_Mad

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: How do I set up an OpenGL GLUT project ?
« Reply #1 on: April 27, 2008, 03:34:30 am »
Need info. What OS are you on?

In Linux you just create a codeblocks GLUT project and compile :P

You need to specify the $(#glut) global variable and point CB to GLUTs include and lib directories and thats about it, i had to modify one of the lib names also.

See these attached images.

[attachment deleted by admin]
WooF! WooF! - Ubuntu 8.10 & CB 5432 & GCC 4.3.2
To see the world in a grain of sand and heaven in a wild flower
To hold infinity in the palm of your hand and eternity in an hour - W.B

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: How do I set up an OpenGL GLUT project ?
« Reply #2 on: April 27, 2008, 09:05:21 am »
Did you try the GLUT wizard already?! It ships with C::B.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ