Forum > OpenGL
How to use OpenGl
3Ducker:
I'd like to use opengl under lazarus. I tried to use glut unit after placed glut.dll to syswow64, but it doesn't work. If I run the programme with unit glut, there's a debugger expection notification with "Couldn't load glut32.dll. What is the problem?
Leledumbo:
What's your system bitness? And where do you get the glut.dll from? In 32-bit system, the library should be glut32.dll (and perhaps it's hardcoded in the glut wrapper, haven't checked) and it can be put in the same folder as the executable or anywhere in PATH.
3Ducker:
I'm have 64bit windows 7
Leledumbo:
Seems like the dll name is still glut32.dll on 64-bit systems. Assuming your program is also 64-bit, you may put the dll along with the exe or in system32. syswow64 is for 32-bit dlls.
3Ducker:
If I think what you think it still doesn't work.
Navigation
[0] Message Index
[#] Next page