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 / 465
464  |  466
Subject: 
Re: GLUT 3.2
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Wed, 23 Jul 2003 14:28:53 GMT
Viewed: 
1716 times
  
In lugnet.cad.dev.mac, Christopher Masi wrote:
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. • ...
ld: table of contents for archive: ./libForeground.a is out of date;
rerun ranlib(1) (can't load from it)

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 ranlib
calls needed to placate the linker. If this is the right answer, then I'm
surprised the Apple people didn't notice it.

Solution(?): Do as the message says and find libForeground.a (probably in your
GLUT tree somewhere). Run ranlib on it. Make again (without a make clean or a
reconfiguration, otherwise another bad libForeground will be created).
3) Profit.

ld: warning prebinding disabled because dependent library:
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.d
ylib can't be searched

This second error is more mysterious and might mean I've got the wrong end of
the stick. Anyway, worth a try.



Message has 1 Reply:
  Re: GLUT 3.2
 
(...) Charles, thanks. This solution worked for me. (Sorry Chris, I posted in the ldglite thread before trying this out -- it worked much faster than I thought!) Perhaps the other error was dependent on the libForeground problem. Chris, since (...) (21 years ago, 24-Jul-03, to lugnet.cad.dev.mac)

Message is in Reply To:
  GLUT 3.2
 
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 (...) (21 years ago, 22-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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