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 / *4315 (-20)
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Yeah, at this point I think the problem is not with linking or shared libs, but perhaps a problem between Mesa and your X server. What X server are you using? Is it XFree86 or one of those commercial servers. I seem to recall official redhat (...) (25 years ago, 27-Jan-00, to lugnet.cad.dev)
 
  [Fwd: A request for color assistance...]
 
(...) (25 years ago, 27-Jan-00, to lugnet.cad.dev)
 
  Re: A request for color assistance...
 
(...) I'd ask around in the .cad.dev group -- there are a couple of pretty good lists already for various utilities. A couple that stand out in your list about as being "off" are: - Blue -- LEGO blue is darker, greener, and grayer than 0,0,x - (...) (25 years ago, 27-Jan-00, to lugnet.general, 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)
 
  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
 
(...) 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
 
(...) Funny other thing, though: If I go into main.c and just start hacking some of the constants and recompile, I can get it to do things like position the window anywhere I want, or make it any size, or make it come up with any background color (...) (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
 
(...) and (...) Which windows compiler did you try? VC++ or gcc or the exe in the zip file? (...) Do you mean the /ldraw/model dir or whatever directory the model on the command line is in? eg. c:\mydatfiles in the example below. ldglite (...) (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
 
(...) I had this up and running in a few minutes under Win98. Adequate launching and rendering achieved by dragging files onto the executable (in Explorer). Rendering was definitely slower than LDLite. When looking for subfiles, LDLite will look in (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) ... (...) Quoting the ldglite home page: (...) Which probably isn't the problem, but what the heck. Steve (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: Missing parts of parts?
 
(...) Weird. Works OK in my LEdit. The only suspicious candidates would be the files box4t.dat or box4-1.dat. Make sure both of those files are in your ldraw\p directory. Steve (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
 
(...) 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
 
(...) 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
 
(...) Ah Ha! I guess that proves the problem is with GL. Now how do we fix it... (...) Yeah, I knew that, but I'm too lazy to find my way to the setup page. Then I get the reminder when I go to post. Thanks for the link though. Perhaps you could add (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  Re: ldglite (ldlite for OpenGL and Linux) new stuff
 
(...) Hmm, same thing -- blank white window. :-( (...) First, make sure you've got cookies enabled in your browser. Then go to (URL) fill that out as you did before, and before pressing Submit, make sure that the checkbox labeled "Keep my (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)
 
  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
 
I just thought of another thing to try. In main.c search for #ifdef DRAW_AXIS. Put this right above it. #define DRAW_AXIS 1 This will draw the x,y,z axis in red, green, and blue like in the gif file on the website. That'll show if GL is working. I (...) (25 years ago, 26-Jan-00, to lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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