Author Topic: problems installing openGL  (Read 5359 times)

0 Members and 1 Guest are viewing this topic.

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 230
    • View Profile
    • Homepage
problems installing openGL
« on: March 18, 2012 »
I installed openGL acording to instructions from a book, but when I try to run the first (downloaded) example program I get an alert saying:

"Program can't start because glut32.dll is missing"

However glut32.dll is right where the book says it should be (Windows\System32). I'm thinking it might have something to do with the fact that I don't save my projects in the default VC++ projects folder?

The only difference from the book instructions is that I put the glut.h header file into C:\Program Files(x86)\... instead of  C:\Program Files\...
www.kirl.nl
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 230
    • View Profile
    • Homepage
Re: problems installing openGL (Solved)
« Reply #1 on: March 18, 2012 »
Solved it by copying glut32 to Windows\System instead of Windows\System32...

Seems weird to me because of the suffix 32 and because there were no other dll's in that folder, but at least the example runs now...
www.kirl.nl
Challenge Trophies Won:

Offline LittleWhite

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 418
  • Karma: 31
  • It's me!
    • View Profile
Re: problems installing openGL
« Reply #2 on: March 18, 2012 »
The demoscene will never die, never!

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 230
    • View Profile
    • Homepage
Re: problems installing openGL
« Reply #3 on: March 18, 2012 »
Thanks for the heads up littleWhite, where do you suggest I put the dlls?

This folder drudgery is pretty terrible. It's the same problem when exporting 3d scenes with textures and my friend was having similar problems with his audio samples recently. It's in need of a revolutionairy update of some sort...
www.kirl.nl
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: problems installing openGL
« Reply #4 on: March 18, 2012 »
glut32.dll should be in the folder with your exe.  Basically, noone else will have it in their Windows folders (because only Microsoft dlls should live there) and if you distribute your app other people will need a copy.

Quote
It's in need of a revolutionairy update of some sort...
Microsoft's answer to this in .Net land is 'manifests' and the GAC.

Jim
Challenge Trophies Won:

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1219
  • Karma: 230
    • View Profile
    • Homepage
Re: problems installing openGL
« Reply #5 on: March 19, 2012 »
I see, thanks.

When I say revolutionairy I mean something that would solve all folder problems across the board, not just for programming specifically. Meaby the cloud will save us from folder hell... :-\

www.kirl.nl
Challenge Trophies Won:

Offline Canopy

  • Atari ST
  • ***
  • Posts: 208
  • Karma: 20
    • View Profile
Re: problems installing openGL
« Reply #6 on: March 22, 2012 »
good old DLL hell!

M$ has flip flopped on their policy from saying "bung it in system32" to, "keep it with the app"..

right now i believe its "keep it with the app" as that lessens cross app compatibility issues.

but they have added side by side.. which can make things even worse far from revolutionary