Problem with GLUT

I included glut32.lib. Maybe the problem is that glut32.dll is out of c:\windows (I can’t put it there - access forbidden). I use dev-c++.

[This message has been edited by marlesno (edited 11-17-2003).]

you might have missed to include the library file glut32.lib to your project.

Can you be more clear on the error message?
Is the only problem that you can not copy glut32.dll to windows directory?

If it is windows XP, you may need to log in under the main user. I don’t run it, so someone else my have to guide you on that.

Originally posted by marlesno:
[b]I included glut32.lib. Maybe the problem is that glut32.dll is out of c:\windows (I can’t put it there - access forbidden). I use dev-c++.

[This message has been edited by marlesno (edited 11-17-2003).][/b]

You have to log in as administrator to get access rights to the Windows directory, a quick solution is to put the dll in the same directory as your application, an application looks in the directory where the app is for dll files first before looking in the windows and PATH directories.

Mikael

If you are on a computer where you don’t have admin rights, you can always just put the glut32.dll in the same location as your executable.

Edit: Damn. Mikael must have been posting at about the same time as me…

[This message has been edited by Deiussum (edited 11-17-2003).]