To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 454
453  |  455
Subject: 
GLUT 3.2
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Tue, 22 Jul 2003 18:14:21 GMT
Viewed: 
1894 times
  
Errrr.... I can get GLUT for Mac OS X 5 (GLUT-3.0) to compile without a
problem, but the GLUT currently posted on Apple's developer site, GLUT
for Mac OS X 7 (GLUT-3.2), won't compile.

OS X 10.2.6, with Dec 2002 dev tools installed.

The last block of text that gets spit out before the compiler reports
that the build failed is included below.

Thanks,
Chris

DynamicLibrary.LinkUsingFileList
/tmp/GLUT_External.dst//System/Library/Frameworks/GLUT.framework/Versions
/A/GLUT
    /usr/bin/gcc3  -o
/tmp/GLUT_External.dst//System/Library/Frameworks/GLUT.framework/Versions
/A/GLUT   "-L/Users/cjmasi/src/glut/build"
"-L/Users/cjmasi/src/glut/build" "-L."  "-F/Users/cjmasi/src/glut/build"
"-F/Users/cjmasi/src/glut/build"  -filelist
"/Users/cjmasi/src/glut/build/GLUT_External.build/GLUT
(Framework).build/Objects-normal/LinkFileList"  "-framework" "OpenGL"
"-framework" "Cocoa" "-framework" "ApplicationServices" "-framework"
"CoreFoundation" "-framework" "IOKit" "-lForeground"  "-arch" "ppc"
"-Wl,-S" "-Wl,-exported_symbols_list" "GLUT.exp" "-prebind"
"-Wl,-single_module" "-dynamiclib" "-compatibility_version" "1"
"-current_version" "1" "-seg1addr" "3E000000"  -install_name "`echo
"/System/Library/Frameworks/GLUT.framework/Versions/A/GLUT" |
/usr/bin/sed 's!//*!/!g'`"
ld: table of contents for archive: ./libForeground.a is out of date;
rerun ranlib(1) (can't load from it)
ld: warning prebinding disabled because dependent library:
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.d
ylib can't be searched
/usr/bin/libtool: internal link edit command failed
...failed DynamicLibrary.LinkUsingFileList
/tmp/GLUT_External.dst//System/Library/Frameworks/GLUT.framework/Versions
/A/GLUT ...
** BUILD FAILED **



Message has 1 Reply:
  Re: GLUT 3.2
 
(...) ... (...) I've played this game before. The BSD (or whatever OSX is underneath) linker is more picky about its archives than Linux or (probably) solaris. When people port code from these systems to OSX they sometimes forget to add the extra (...) (21 years ago, 23-Jul-03, to lugnet.cad.dev.mac)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR