perhaps you add opengl32.lib and glut32.lib to Projects->preferences->linker (i don’t know if these menu-points are correct cause i only have VC6++ German version…)
You need to include the libraries in your project. Not sure specifically how to do that for Builder, but Mcbastian’s description of how to do that for VC++ 6.0 works for the US version as well.
If you are using glut, you shouldn’t need to include the libraries in your project as they are already included in glut.h.
taken from glut.h : #pragma comment (lib, “winmm.lib”) /* link with Windows MultiMedia lib / #pragma comment (lib, “opengl32.lib”) / link with Microsoft OpenGL lib / #pragma comment (lib, “glu32.lib”) / link with OpenGL Utility lib / #pragma comment (lib, “glut32.lib”) / link with Win32 GLUT lib */
As you can see you don’t really need to include the libraries in your project the way it is meant to be done in CBuilder or vc++. You can simply add the following line to your code
#pragma comment (lib, “mylib.lib”)
thus even if you don’t use glut simply add the following lines to your program :
Ah, yes one other thing… for you umount. If you are using Borland CBuilder 5 you might need to use the implib utility to make new .lib files as CBuilder doesn’t use the same format of .lib as vc++. I needed to do that with CBuilder 4 for glut32.lib.
Implib can be found in the bin directory of your CBuilder installation and the command line is
implib <path>\glut32.lib <path>\glut32.dll