Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Running Beginning OpenGL Game Programming Second edition, compilation error.

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Maindric   Members   

122
Like
0Likes
Like

Posted 11 November 2010 - 04:12 PM

I tried to set up Code::Blocks to compile the example. I got all the libs and include files set up, but I keep getting this error:


||=== simple, Debug ===|
ld.exe||cannot find -lGL|
||=== Build finished: 1 errors, 0 warnings ===|

It is the example in chapter 1. I read through everything, and it does not really explain how to set up OpenGL...

I have been looking this error up for the last couple of days. It has been a road block, and I need some help...

Am I not doing something right? Anyone used this book, if so, how were you able to compile the code.

System:
HP Pavilion dv6-3050us
ATI Radeon Mobility HD 5650
4GB RAM
AMD 2.0 Quad Core
Windows 7 Prem 64-bit

#2 5k3l3t0r   Members   

106
Like
0Likes
Like

Posted 15 July 2014 - 11:01 PM

I believe how you declare you include files in your editor.  It is case sensitive.  try gl/






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.