|
Prev: What format specifier, modifier, do I need for a 64 bit unsigned int
Next: What format specifier, modifier, do I need for a 64 bit unsigned int
From: Aggro on 27 May 2008 16:27 utente wrote: > I'm trying to compile a calculator named Graphcalc, > > http://gcalc.sourceforge.net > > on my debian testing, amd64 > > file 'install' says: qmake --> make --> run it in console (no installation) > > but 'make' gives me full of errors, among which many 'undefined > reference to `glxxxxxxxx'' > > please: > > - am I OT (or better try other ng?) Pretty much yes. > - can you help I'm very new to compiling, googled a bit and found > someone saying to manually edit the option -lglut, does it make sense? You might need to add all these: -lGLU -lGL -lglut To the command which prints the error. The one starting with "g++ -o graphcalc". The error you received is because the linker was not told about the libraries which are used. -lglut and such commands inform your compiler about which libaries should be used in the linking. Also see: http://ubuntuforums.org/showthread.php?t=684776 And the comments for this bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1099825&group_id=73729&atid=538763
From: utente on 28 May 2008 13:56
Aggro ha scritto: > You might need to add all these: > > -lGLU -lGL -lglut > > To the command which prints the error. The one starting with "g++ -o > graphcalc". > > The error you received is because the linker was not told about the > libraries which are used. -lglut and such commands inform your compiler > about which libaries should be used in the linking. > > Also see: > http://ubuntuforums.org/showthread.php?t=684776 > > And the comments for this bug: > http://sourceforge.net/tracker/index.php?func=detail&aid=1099825&group_id=73729&atid=538763 > hep!! it was quite under the eyes. sorry for the trouble, and many thanks...! |