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