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 / 275
274  |  276
Subject: 
Re: ldglite broke in Mac OS X 10.2.2
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Thu, 28 Nov 2002 02:38:06 GMT
Viewed: 
1895 times
  
In article <H64xLI.MI4@lugnet.com>,
"Don Heyse" <dheyse@hotmail.spam.go.away.com> wrote:

In lugnet.cad.dev.mac, James Reynolds writes:
The ldglite window in Mac OS X 10.2.2 shows nothing...  I am assuming it
broke in 10.2.  Apple changed quite a bit between 10.1 and 10.2.

It probably just needs to be rebuilt.

I just checked and the SourceForge compile farm only has 10.1 available
so I can't compile it on 10.2 right now.  Didn't Apple switch to make
extensive use of OpenGL in the 10.2 desktop?  Who knows what that may
have broken.  (Perhaps the patched GLUT library needs an update for 10.2
as well.)  Anyhow, I'm way overdue for a 9.6 release of ldglite.  Perhaps
I'll spend the time over the Christmas holiday to work out all the OS
issues and make a new release.  Meanwhile, do you still get a console
window with the OpenGL version and extension info?  What's it say?

Don

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 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

/usr/share/tcsh/examples

without updating the references to the files. Copying

/usr/share/tcsh/examples/rc
/usr/share/tcsh/examples/login

to

/etc/csh.cshrc
/etc/csh.login

respectively restored lost aliases (like ll for ls -l)  and tells the
terminal to read user's config files as it lauches a shell.

I think that is the first problem. Once I copied those files my path
file was read and LDGLite lauched and loaded my model and all the parts
that my model needed.

I though everything was good, but not quite. I can rotate my model with
the mouse, but LDGLite will not receive any key commands. Previously,
clicking the window bar would activate the program to receive keyboard
commands, but clicking the window bar no longer activates the program
too receive keyboard commands.

I thought, maybe LDGLite needed to be recompiled too run with 10.2. So
without having any idea of what I am doing I typed

[cmasi-lt:~/Desktop/ldglite] cjmasi% make -f makefile.macx
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -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
cc -c -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3Math.cpp
cc -c -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3Input.cpp
cc -c -g -I./osx -DUNIX -DMACOS_X -DUSE_OPENGL -DUSE_L3_PARSER
-DUSE_BMP8 -DNEED_MIN_MAX  -DTILE_RENDER_OPTION  L3View.cpp
cc -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
cc -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   -lm
ld: Undefined symbols:
___gxx_personality_v0
make: *** [ldglite] Error 1

Needless to say, I couldn't find an LDGLite file anywhere. Well, that is
all my input on the problem.

Chris



Message has 2 Replies:
  Re: ldglite broke in Mac OS X 10.2.2
 
On keys not being received by GLUT apps: Date: Tue, 26 Nov 2002 09:20:44 -0800 To: Mac OpenGL List <mac-opengl@lists.apple.com> From: Geoff Stahl <gstahl@apple.com> Subject: Re: Glut and key events This is a know problem with glut apps run from the (...) (22 years ago, 28-Nov-02, to lugnet.cad.dev.mac)
  Re: ldglite broke in Mac OS X 10.2.2
 
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: (...) I was told to fix this by adding "-lstdc++" to the cc flags. So I (...) (22 years ago, 28-Nov-02, to lugnet.cad.dev.mac)

Message is in Reply To:
  Re: ldglite broke in Mac OS X 10.2.2
 
(...) I just checked and the SourceForge compile farm only has 10.1 available so I can't compile it on 10.2 right now. Didn't Apple switch to make extensive use of OpenGL in the 10.2 desktop? Who knows what that may have broken. (Perhaps the patched (...) (22 years ago, 25-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
    

Custom Search

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