Subject:
|
Re: ldglite 0.9.4
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 30 Nov 2001 19:35:52 GMT
|
Viewed:
|
654 times
|
| |
| |
In lugnet.cad.dev, Jacob Sparre Andersen writes:
> Don Heyse wrote:
>
> > Hmm, I'm using 4.0, but it used to compile and link with the older
> > versions. (I just forgot to set up the projection matrix for the
> > offscreen stuff so it didn't work yet in ldglite 0.9.2). At some
> > point (4.0?) the Mesa folks pulled OSMesa out into its own library.
>
> If off-screen rendering is disabled, everything seems to
> work fine.
>
> > What version of Mesa is installed on ldraw.org?
>
> I think it is 3.4.
>
> > I'll try and login over the weekend and build it there.
Ok I built it and it works. I guess my notes in makefile.linux
were incoherent. To build for Mesa versions older than 4.0 you
only need to comment out the OFFSCREEN_LIBS line. I guess the
Mesa folks broke OSMesa out into a separate library at 4.0 so you
don't need to link with it if you don't support offscreen rendering.
Of course I also discovered a problem in main.c. It turns out that
it's a bad idea to call glutinit() when you don't have an X server
running. I fixed it to wait until after parsing the command line
args so I can skip glutinit() for offscreen rendering. This won't
work on the MAC, but nobody uses that anyways.
Anyhow, you can find the fixed makefile.linux, main.c, and ldglite
executable in my ldglite directory on ldraw.org.
Don
|
|
Message has 1 Reply: | | Re: ldglite 0.9.4
|
| (...) ~/> ~dheyse/ldglite/ldglite -mS /usr/local/share/ldr...s/3001.dat Segmentation fault ~/> :-( I updated the instructions at: (URL) both "makefile.linux" and "main.c" are corrected according to your instructions. I tried that as well. The (...) (23 years ago, 2-Dec-01, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: ldglite 0.9.4
|
| (...) If off-screen rendering is disabled, everything seems to work fine. (...) I think it is 3.4. (...) I have extended the installation instructions, so they (should) handle this problem. (...) Yes "/etc/ld.so.conf" and "ldconfig". (...) (...) (23 years ago, 30-Nov-01, to lugnet.cad.dev)
|
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
|
|
|
|