Glut32.dll is missing

Gazatteer
Posts: 7
Joined: Tue Oct 26, 2010 10:36 pm

Glut32.dll is missing

Post by Gazatteer »

Hello

When I try to run AppBox2dDemo I get the following error:
The program can't start because glut32.dll is missing from your computer. Try reinstalling the program to fix this problem.

The Box2dDemo directory within BulletBuild contains GLUT32.DLL.

I have used CMake to build the Bullet as http://bulletphysics.org/mediawiki-1.5. ... om_scratch

I have build all projects within Bullet_Physics using Visual Studio 2010.

Please note bullet-2.77-win32_executables work without any problem.

Please help.
priest_wd
Posts: 10
Joined: Wed Sep 22, 2010 3:33 pm

Re: Glut32.dll is missing

Post by priest_wd »

Hello

Have you tried copying glut32.dll from other Demo folder to Box2dDemo or Debug folder?

Greetings
Gazatteer
Posts: 7
Joined: Tue Oct 26, 2010 10:36 pm

Re: Glut32.dll is missing

Post by Gazatteer »

thanks for the reply, I will try your suggestion tonight.

I still need to after building the all how come I get this error? Is it something to do with Visual Studio 2010?

I have Windows 7 x64 bit operating system but Visual Studio is 32 bit. Is this the problem?
priest_wd
Posts: 10
Joined: Wed Sep 22, 2010 3:33 pm

Re: Glut32.dll is missing

Post by priest_wd »

Well.... I dont think so... I'm using Visual Express 2008 in Windows 7 64-bit and the Box2dDemo works fine. You can also take a look in the "CMakeLists.txt" file, to see what's going on when Visual build the app.

Greetings!
Gazatteer
Posts: 7
Joined: Tue Oct 26, 2010 10:36 pm

Re: Glut32.dll is missing

Post by Gazatteer »

The demo works when the glut32.dll file is placed in the Debug folder but this does not solve my problem.

On another computer running Visual Studio 2008 and Windows XP I don't get this problem. Also, the file glut32.dll does not exist in any demo's Debug library but the demo still works.

I have located the problem. The problem is that Glut is not preinstalled on Windows 7 and it does not come with Visual Studio 2010.

Does anyone know how I can setup Glut for Windows 7 and Visual Studio 2010?