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 / 288
287  |  289
Subject: 
Re: ldglite broke in Mac OS X 10.2.2
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Fri, 29 Nov 2002 07:51:37 GMT
Viewed: 
4399 times
  
> I feel like I missed half of this conversation somewhere.  What's
> going on here, is there some super secret L3P OSX port happening
> that I don't know about? :^)

Yup.  :-)

> Anyhow, there is no LFLAGS in the makefile, but there is a GL_LIBS
> line in the OSX makefile that should serve the same purpose.  Try adding
> the -lstdc++ to that line instead of CFLAGS and let me know if it works.
> Also does it break anything to compile with that flag on OSX 10.1?

Well, it compiles.  There are still warnings.  I don't have a 10.1 box to
test compiling on though.

So I changed:

GL_LIBS=-framework OpenGL -framework GLUT -lobjc

To:

GL_LIBS=-framework OpenGL -framework GLUT -lobjc -lstdc++

And compiled it and got this:

[ibook:Lego/ldglite/ldglite.1] james% rm *.o
[ibook:Lego/ldglite/ldglite.1] james% make -f makefile.macx
gcc -g -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
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o platform.o platform.c
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o dirscan.o dirscan.c
gcc -g -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
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o camera.o camera.c
gcc -g -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
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o quant.o quant.c
gcc -g -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
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o lcolors.o lcolors.c
gcc -g -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
gcc -g -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
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o qbuf.o qbuf.c
gcc -g -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
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o ldglpr.o ldglpr.c
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o L3Edit.o L3Edit.c
gcc -c -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3Math.cpp
gcc -c -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3Input.cpp
gcc -c -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3View.cpp
gcc -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8
-DNEED_MIN_MAX  -DTILE_RENDER_OPTION    -c -o tr.o tr.c
gcc -g -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 -lstdc++   -lm
rm -rf l3glite
ln -s ldglite l3glite
rm -rf l3gledit
ln -s ldglite l3gledit



Message is in Reply To:
  Re: ldglite broke in Mac OS X 10.2.2
 
(...) I feel like I missed half of this conversation somewhere. What's going on here, is there some super secret L3P OSX port happening that I don't know about? :^) Anyhow, there is no LFLAGS in the makefile, but there is a GL_LIBS line in the OSX (...) (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
    

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