Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Journeyman III

Difficulty opening Glut project in Code:Blocks

I am a newbie having trouble setting up a default glut project using Code::Blocks.  I have a Dell Studio XPS running 64 bit windows 7 with an AMD Radeon HD 6570M/5700 Series board.  I installed AMP APP SDK 2.7 after downloading it from the AMD website.

I followed the Code::Blocks instructions for setting up a Glut project, but do not get the expected graphics screen.  In fact, it always gives a segmentation fault when it gets to the glutCreateWindow command, with the error:

In atioglxx!DrvValidateVersion () (C:\Windows\SysWOW64\atioglxx.dll)

followed by:

LoadLibrary failed with error 998: invalid access to memory location.

It appears to try to access a null address and then crashes.

What is going wrong?  Is there a header or library file I am missing?

Can anyone share a working Code::Blocks glut project example?



0 Replies