I just downladed all the GLUT-stuff files, copied them into the appropriate folders and used the Borland BCC32 to compile my program.
Anyway, I get the following error message:
Well, I noticed that i actually didnt have these files. So where do I get them? And why the heck is the GLUT.h-file bugged? Or is it not and I have made some mistake? The program is alright, it runs fine at my friend’s.
So, any suggestions?
I believe there’s a utility called implib, or something similar, for Borland Compilers, used to create import libraries for DLL-files. Use that one to create import libraries for the three missing files. The corresponding DLL-files are called the same as the library files in the error messages, but with a .DLL extension, and should be in the system directory of your Windows installation folder.
The extern “C” stuff is required as OpenGL uses the C calling convention and will break apart when you try to treat it as C++. The error you get means that you somehow managed to redefine some of the OpenGL functions with different parameter lists. This function overloading is illegal in C.
For the latest versions of the libs, have a look at the Glut for Win32 page and also check out the Borland notes in the readme .
[This message has been edited by zeckensack (edited 03-09-2002).]