I think I'm getting somewhere now.

With not finding the 7.2 version, my bad, sorry about that.

I have just realized that there is no X on embedded devices so I'll probably need to
use something like MiniGLX as well.

Anyway, I've got a lot of stuff to investigate further.

Thanks again for your help.

Peter

On Wed, Mar 25, 2009 at 7:20 PM, tom fogal <tfogal@alumni.unh.edu> wrote:
peter jankuliak <p.jankuliak@gmail.com> writes:
[snip]
> However, I wanted to give it a go and first see what it would look
> like on a desktop PC with hardware acceleratio= n disabled (it's the
> --disable-driglx-direct option I believe). The problem is that I can
> not compile it with this option. Here is the error I'm getting:
[snip]

Here's how I configure for a software-only path:

 #!/bin/sh

 PF=${HOME}/sw/mesa-git
 if test "x$@" != "x" ; then
     PF="$@"
 fi
 echo "Configuring mesa with prefix: ${PF}"
 sleep 3

 rm -r ${PF}/lib
 autoreconf -vi
 ./configure                           \
     CFLAGS="-g -DUSE_MGL_NAMESPACE"   \
     CXXFLAGS="-g -DUSE_MGL_NAMESPACE" \
     --prefix=${PF}                    \
     --without-demos                   \
     --with-driver=xlib                \
     --enable-glx-tls || exit 1
 make clean
 sed -i "s,GL_LIB = GL,GL_LIB=MesaGL,g" configs/autoconf || exit 1
 sed -i "s,GLU_LIB = GLU,GLU_LIB=MesaGLU,g" configs/autoconf || exit 1
 make -j8 || exit 1
 make install
 rm -f ${PF}/include/GL/gl*ew.h

Unless you want to mix mangled Mesa and an OpenGL implementation in
your app, you probably want to remove the flags and the `sed' lines.

> I wonder if the non HW accelerated version isn't beeing deprecated or
> am I doing/understanding something wrong?

It seems like fewer people care about the software paths than the
hardware paths, but I haven't heard of anything being deprecated /
broken.

> [. . .] I can not find the 7.2 version by following the links on whe
> web page. Is the web page out of date?

 http://mesa3d.org/download.html

links to:

 http://sourceforge.net/project/showfiles.php?group_id=3

and if you click `MesaLib' (or anything really) you can see all
releases; 7.2 is listed just below 7.3, as you might guess.

HTH,

-tom