News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Trouble setting up GLUT project

Started by spw6404, November 23, 2012, 10:26:50 PM

Previous topic - Next topic

spw6404

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, and am using their glut32.dll and glut64.dll.

I set up Code::Blocks with MinGW and followed the Code::Blocks instructions for setting up a Glut project, i.e. putting library and include files in the C:\Program Files\Common Files\MinGW\glut, but do not get the expected graphics results.  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.

Is there a header or library file I need to include or link with to provide additional variable definitions?

Can anyone share a working Code::Blocks example?

Regards,

spw6404

jds

Did you ever find a solution to this problem, as I am also getting the same.