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 / 8958
8957  |  8959
Subject: 
Re: Building LDGLite for off-screen rendering only
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 29 May 2003 13:03:20 GMT
Viewed: 
3670 times
  
In lugnet.cad.dev, Dan Boger wrote:
> hmmm.  Trying to actually put this into place - we're running into a segfault:
> 
>   ldglite -s.85 -q -i1 -MS3033.png 3033.dat
> 
> Write PNG 3033.png
> zsh: segmentation fault (core dumped)  ldglite -s.85 -q -i1 -MS3033.png
> 
> Any suggestions?  This goes away if I drop the -i1...  so it seems that there's
> something in the png code?  if I do a
> 
>   strings ldglite | grep -i png
> 
> I see (among other things):
> 
> libpng version 1.2.4 - July 8, 2002
> 
> Ideas?

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 move them out of the way into a subdirectory only
used by the windows makefile.  Try moving (or removing) z*.h, png*.h, and
*.a from the ldglite directory and rebuilding.

If that doesn't work it's usually pretty easy to debug a core dump of
a segfault.  Just look for the bad pointer.

Don



Message has 1 Reply:
  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 :) (23 years ago, 29-May-03, to lugnet.cad.dev)

Message is in Reply To:
  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 (...) (23 years ago, 29-May-03, to lugnet.cad.dev)

21 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
    

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