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 / 8918
  Re: Building LDGLite for off-screen rendering only
 
(...) I had done that (I thought). And now I have done it again. Same result. I suppose I should admit that I cheated a little bit, and just used a symlink to the directory containing Mesa (to keep my directory structure clean). But is there any (...) (21 years ago, 16-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) If it's the current version of Mesa (5.0.1), and it's been configured with the correct ./configure switches, then no, I don't see why using a symlink would cause any problems. Anyhow, I just patched things up to work with the latest sources. (...) (21 years ago, 16-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) hmmm... here's what I get: $ gmake -f makefile.osmesa gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8 -DNEED_MIN_MAX -DUSE_PNG -DTILE_RENDER_OPTION -DOSMESA_OPTION -IMesa-5.0.1/include -c -o dirscan.o dirscan.c dirscan.c: In function (...) (21 years ago, 17-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) You seem to be missing glut.h. I thought I spotted it in the Mesa-5.0.1/include/GL directory, but I may have also installed the MesaDemos package which contains glut. If you don't have glut.h in that directory you can either install (but not (...) (21 years ago, 18-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) ok, cool - got that, now I get this: $ gmake -f makefile.osmesa gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8 -DNEED_MIN_MAX -DUSE_PNG -DTILE_RENDER_OPTION -DOSMESA_OPTION -IMesa-5.0.1/include ldliteVR_main.o platform.o dirscan.o (...) (21 years ago, 18-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) Standard? Not unless you're a Microsoft follower. However, I must admit I'm baffled by this one. The -DUNIX is supposed to tell platform.h to define some flags which cause the stricmp and strnicmp functions in platform.c to get built. You've (...) (21 years ago, 18-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) That did fix the problem. the make finished successfully! and it works! (URL) need to get Steve to teach me how to use it :) (...) nothing - no match. Thank you so much for your help :) Dan (21 years ago, 18-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) Tried that. Here's the tail of the output from the build: gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8 -DNEED_MIN_MAX -DUSE_PNG -DTILE_RENDER_OPTION -DOSMESA_OPTION -IMesa-5.0.1/include ldliteVR_main.o platform.o dirscan.o gleps.o (...) (21 years ago, 19-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) Please see (URL) makefile correction apparently didn't make it back to sourceforge... /Lars (21 years ago, 19-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) It seems like that. Here's the exact change I made to make it work: % cvs diff makefile.osmesa Index: makefile.osmesa ===...=== RCS file: /cvsroot/ldglite/ldg...e.osmesa,v retrieving revision 1.2 diff -u -3 -p -r1.2 makefile.osmesa --- (...) (21 years ago, 19-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) Hey, thanks for the reminder, it's in there now. I wonder which release of gcc it is that suddenly requires me to include the C++ libraries. I've been trying to avoid C++ to keep the ldglite executables smaller. Jacob, is the libc++ only a (...) (21 years ago, 19-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) FWIW, I (think that I) didn't need the c++ libs for the off-screen build on the BSD box. Dan (21 years ago, 19-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) I couldn't get the full LDGLite to compile with the current version of the source code. I have GCC-3.2 on the system I compiled the off-screen-only version on LDGLite on. I haven't tested it on Munin yet. You're welcome to do that. Play well, (...) (21 years ago, 20-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) Ok, send me an email. I forgot how to login, or ssh forgot my public key or something like that. Don (21 years ago, 21-May-03, to lugnet.cad.dev)
 
  (canceled)
 
 
  Re: Building LDGLite for off-screen rendering only
 
hmmm. Trying to actually put this into place - we're running into a segfault: ldglite -s.85 -q -i1 -MS3033.png 3033.dat GL_VERSION = 1.4 Mesa 5.0.1 GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture (...) (21 years ago, 29-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) Nothing comes to mind right away except maybe the png and zlib header files in the ldglite zip file might conflict with whatever versions you've actually got installed. I originally put them there for the windows build and have been meaning to (...) (21 years ago, 29-May-03, to lugnet.cad.dev)
 
  Re: Building LDGLite for off-screen rendering only
 
(...) that did it. I still had to manually add the -L/usr/local/lib -L/usr/local/lib/pth, but that's ok. coool :) (21 years ago, 29-May-03, to lugnet.cad.dev)

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