Code::Blocks Forums

User forums => Help => Topic started by: spw6404 on November 23, 2012, 10:26:50 pm

Title: Trouble setting up GLUT project
Post by: spw6404 on November 23, 2012, 10:26:50 pm
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
Title: Re: Trouble setting up GLUT project
Post by: jds on April 16, 2013, 09:00:50 pm
Did you ever find a solution to this problem, as I am also getting the same.