freeglut.dll missing
Solution 1
You can't just grab random DLLs off the interwebtubes and dump them on your PC. There are versioning issues to consider that you're completely bypassing. It should have been a hint when the MSVC runtime dependency didn't link up.
Install the freeGLUT package properly, in its entirety.
Solution 2
I have had the same problem. Follow these steps:
Assuming that you have performed all steps given in the book.
- Download the source code from companion site…I think the folder is SB5 and its 92 MB.
- Then build the project named 'freeglut.vcproj'.
- It will produce freeglut.dll apart from other files.Put freeglut.dll into c:\windows\syswow64 folder and all is done.
harryprotist
Updated on July 09, 2022Comments
-
harryprotist almost 2 years
I am reading the OpenGl superbible, and on the very first triangle program it will not run. the program compiles just fine but when i run it, it gave me the error message freeglut.dll is missing from your computer. I downloaded that and put it in the correct directory, and it said that MSVCR71.dll was missing, so i downloaded that and put it in the correct directory and it began to say "The procedure entry point __glutCreateWindowWithExit could not be located in the dynamic link library freeglut.dll." does anyone know what i am doing wrong? i followed all the directions that the book told me.