View Full Version : dout in compiling sdk program in GNU compiler
i have got a gnu c++ compiler . when i compile my sdk program it is showing some link errors . i am using windows 2000. can anyone tell me what should i do .
07-09-2001, 07:11 AM
Well... without seeing specific link errors, the best I can do is guess. You probably aren't linking in certain libraries. For instance whenever I do a glut app in Linux with the GNU compiler I have to do the following for the compilation command...
g++ blah.cpp -o blah -lglut -lGL -lGLU
The -lWhatever gets passed to the linker telling it to link in library "Whatever" (in this case glut, GL, and GLU).
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.