PDA

View Full Version : more Open GL with C++ Borland compiler



02-01-2002, 05:15 PM
Hi there, I'm having a problem compiling the glut code and the last couple of similar posts did not yield the answer I'm looking for. I have placed glut.h in \include\Gl and glut32.lib in \lib (and \lib\psdk). I have the directory \lib in the ILINK.cfg linker file. When I test my sample file I get the message "unresolved external 'glutinit' (or other functions I've used) referenced from program name". I'm assuming the main function code is in the glut32.lib file so either I'm not linking to it or maybe I'm just way off base.

thanks, Mike

02-01-2002, 06:10 PM
Never mind...I finally figured out that I had to link the glut32.lib manually on the command line...me stupid!

Mike