Author Topic: Trouble setting up GLUT project  (Read 4168 times)

spw6404

  • Guest
Trouble setting up GLUT project
« 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

Offline jds

  • Single posting newcomer
  • *
  • Posts: 2
Re: Trouble setting up GLUT project
« Reply #1 on: April 16, 2013, 09:00:50 pm »
Did you ever find a solution to this problem, as I am also getting the same.