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 / 277
276  |  278
Subject: 
Re: ldglite broke in Mac OS X 10.2.2
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Thu, 28 Nov 2002 09:14:06 GMT
Viewed: 
4476 times
  
Hehehe.  I don't think ldglite broke with 10.2...  I had a bad LDRAW folder
(well, it wasn't the linux distro).  Anyway, at least I found out that the
makefile needs to be fixed:

> ld: Undefined symbols:
> ___gxx_personality_v0
> make: *** [ldglite] Error 1

I was told to fix this by adding "-lstdc++" to the cc flags.  So I changed:

CFLAGS=-g -I./osx -DUNIX -DMACOS_X ....

to:

CFLAGS=-g -lstdc++ -I./osx -DUNIX -DMACOS_X .....

It compiled, and it compiled "successfully".  Lots of warning and stuff.
The verbos stuff is at the bottom of this message.

>  The big thing that Apple screwed up with the terminal in 10.2 is the
> terminal launching stuff. When terminal opens a shell in 10.2 none of
> the commands in a users shell login commands is executed. Apparently,
> Apple moved some important files from where they were to

I heard Apple purposely removed all their 10.1 shell customizations because
Unix admins new to Mac OS X didn't like them.  So they made it optional.  Read:

/usr/share/tcsh/examples/README

It tells you how to get all the 10.1 stuff back.  I tried ldglite without
the the shell customizations and it doesn't make a difference with ldglite.

Anyway, sorry for the false alarm.

It is nice to hear that Apple is going to fix the title bar thing.

James

------------------------------------------------
Compiling ldglite

[ibook:~/Desktop/ldglite.1] james% make -f makefile.macx
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  ldliteVR_main.o platform.o
dirscan.o gleps.o camera.o f00QuatC.o quant.o stub.o lcolors.o y.tab.o
lex.yy.o qbuf.o main.o ldglpr.o L3Edit.o L3Math.o L3Input.o L3View.o tr.o
-o ldglite -framework OpenGL -framework GLUT -lobjc   -lm
rm -rf l3glite
ln -s ldglite l3glite
rm -rf l3gledit
ln -s ldglite l3gledit
[ibook:~/Desktop/ldglite.1] james% make -f makefile.macx
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o ldliteVR_main.o
ldliteVR_main.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o platform.o platform.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o dirscan.o dirscan.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o gleps.o gleps.c
gleps.c:460: illegal expression, found `}'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
gleps.c: In function `spewSortedFeedback':
gleps.c:460: warning: deprecated use of label at end of compound statement
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o camera.o camera.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o f00QuatC.o f00QuatC.c
/usr/include/architecture/ppc/math.h:350: warning: redefinition of macro M_PI
f00QuatC.h:29: warning: this is the location of the previous definition
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o quant.o quant.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o stub.o stub.c
stub.c: In function `zClear':
stub.c:1656: warning: passing arg 1 of `zReset' from incompatible pointer type
stub.c:1656: warning: passing arg 2 of `zReset' from incompatible pointer type
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o lcolors.o lcolors.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o y.tab.o y.tab.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o lex.yy.o lex.yy.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o qbuf.o qbuf.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o main.o main.c
main.c: In function `SaveDepthBuffer':
main.c:2444: warning: assignment from incompatible pointer type
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o ldglpr.o ldglpr.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o L3Edit.o L3Edit.c
cc: -lstdc++: linker input file unused because linking not done
cc -c -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3Math.cpp
cc: -lstdc++: linker input file unused because linking not done
cc -c -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3Input.cpp
cc: -lstdc++: linker input file unused because linking not done
cc -c -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3View.cpp
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o tr.o tr.c
cc: -lstdc++: linker input file unused because linking not done
cc -g -lstdc++ -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  ldliteVR_main.o platform.o
dirscan.o gleps.o camera.o f00QuatC.o quant.o stub.o lcolors.o y.tab.o
lex.yy.o qbuf.o main.o ldglpr.o L3Edit.o L3Math.o L3Input.o L3View.o tr.o
-o ldglite -framework OpenGL -framework GLUT -lobjc   -lm
rm -rf l3glite
ln -s ldglite l3glite
rm -rf l3gledit
ln -s ldglite l3gledit



Message has 2 Replies:
  Re: ldglite broke in Mac OS X 10.2.2
 
(...) I think I told you to add it to the *linking* command ;-) I don't know your makefile, perhaps there is an LFLAGS? Removing it from C[C]FLAGS will get rid of these warnings: (...) /Lars (24 years ago, 28-Nov-02, to lugnet.cad.dev.mac)
  Re: ldglite broke in Mac OS X 10.2.2
 
(...) I changed this and was able to compile LDGLite using the command line too. However, I found that the precompile binary that I downloaded works better (rotation is faster) than the one I compiled (rotation stalls). (...) I should take notes (...) (24 years ago, 29-Nov-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: ldglite broke in Mac OS X 10.2.2
 
(...) Hi Don and James, I got LDGLite working almost. I have to preface what I say with the following: I don't really have any idea what I am talking about :) The big thing that Apple screwed up with the terminal in 10.2 is the terminal launching (...) (24 years ago, 28-Nov-02, to lugnet.cad.dev.mac)

13 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
    

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