To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 3773
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) I didn't either, until I compiled & installed Mesa. (...) Yup, same here (except Mesa). (...) Whoa, that's interesting... You had trouble linking before making the softlinks?? I don't remember having trouble linking at all -- but I definitely (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Weird. It was looking for the object libraries at runtime, yet the filesize was wicked huge. (I wonder what's up with that? It should only be a few Kb in size.) Now I just linked it a different way -- closer to what the Mesa demos do -- and it (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Hmmm, perhaps now we're onto something. My executable is only 189110 bytes. Significantly smaller! ;^) I don't think the executable is supposed to be statically linked. I didn't add anything to the makefile to do that. Do you have the .a files (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
libtool eh? What the heck is that? I seem to have it in /usr/local/bin but "man libtool" turns up nothing. I guess I'll have to read the man pages on gcc and ld to find out more about the shared libs vs static linking switches. Oh well, I was gonna (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Actually I'm not quite as impressed as I was a few minutes ago. I checked the size of the executable in the zip file and it's only 81064 bytes. The bloat we saw was the debugging symbols. You can remove them with this. strip ldglite I now (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Whoa -- the ldglite I produced via libtool is an sh wrapper for .libs/ldglite produced by ltmain.sh (part of libtool I guess). That's how it's so small! :) 3k seemed awful small to me too -- almost unbelievable. 20k I could believe easily, 3k (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) My /usr/local/lib has: libGL.so -> libGL.so.1.2.0 libGLU.so -> libGLU.so.1.2.0 libglut.so -> libglut.so.3.7.0 and as far as I can tell, the symlinks do point to real library files... $ file * libGL.la: English text libGL.so: symbolic link to (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) OK, I grabbed a new zipfile and tried that. It gacked at me until I did this: $ su # cd /usr/lib ln -s /usr/local/lib/libglut.so.3 ln -s /usr/local/lib/libGLU.so libMesaGLU.so.3 ln -s /usr/local/lib/libGL.so libMesaGL.so.3 exit $ ./ldglite (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) $ make -f makefile.linux gcc -c -g -DUNIX -DUSE_OPENGL ldliteVR_main.c gcc -c -g -DUNIX -DUSE_OPENGL stub.c stub.c: In function `init_zimage': stub.c:1062: warning: comparison of distinct pointer types lacks a cast stub.c: In function (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)

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