octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSMesa for MXE Octave, help wanted


From: John W. Eaton
Subject: Re: OSMesa for MXE Octave, help wanted
Date: Sun, 15 Feb 2015 09:21:12 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

On 02/15/2015 04:32 AM, Andreas Weber wrote:
Am 15.02.2015 um 02:09 schrieb John W. Eaton:

I pushed a few more changesets and now it should build for Unixy
systems, but I'm still baffled by how to get it to cross compile for
Windows systems.

In my initial attached patch I used scons to build osmesa for Windows:
"scons platform=windows toolchain=crossmingw machine=x86 osmesa"

Is there a reason to not use scons? And just for the record: For
GNU/Linux I used:

  ./configure \
    CXXFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
    CFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \
    --disable-xvmc \
    --disable-glx \
    --disable-dri \
    --with-dri-drivers="" \
    --with-gallium-drivers="" \
    --enable-texture-float \
    --disable-shared-glapi \
    --disable-egl \
    --with-egl-platforms="" \
    --enable-osmesa \
    --enable-gallium-llvm=no \
    --prefix=/usr/local/mesa/10.2.2/classic


to build the Classic OSMesa (not the new Gallium llvmpipe state-tracker)
Here are some build instructions and speed comparisons:
http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D

Because the scons setup for osmesa doesn't seem to handle cross compiling, or at least I don't know how to make it do that.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]