Forum > OpenGL
How to use OpenGl
User137:
Did you also try placing it in application folder?
3Ducker:
Yes, but doesn't work.
User137:
Look in the GL related .pas files. Somewhere at the top of them should be path to glut32.dll. You want to know if there's something like 'lib\glut32.dll' instead, or other path to it.
Second thing that comes to mind, is that your glut32.dll would somehow be corrupted or wrong version.
Oh well, i've used OpenGL for years and never needed glut. You can try dglOpenGL header specifically made for pascal. 1 file that contains everything needed, supports OpenGL 4.3 and works crossplatform on both 32 and 64 bit systems, and on Delphi aswell.
3Ducker:
It is work on Free Pascal or Lazarus? Or only in Delphi.
User137:
Yes it works fine with Lazarus (i said Delphi aswell). I use it along with TOpenGLContext. My game engine does window init here:
https://code.google.com/p/nxpascal/source/browse/trunk/src/nxGL.pas#869
Navigation
[0] Message Index
[*] Previous page