PDA

View Full Version : Problem with GLUT



marlesno
11-17-2003, 12:51 AM
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).]

holyburak
11-17-2003, 12:55 AM
you might have missed to include the library file glut32.lib to your project.

nexusone
11-17-2003, 05:31 AM
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:
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).]

mikael_aronsson
11-17-2003, 05:40 AM
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

Deiussum
11-17-2003, 05:42 AM
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... http://www.opengl.org/discussion_boards/ubb/smile.gif



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