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: Andreas Weber
Subject: Re: OSMesa for MXE Octave, help wanted
Date: Sun, 15 Feb 2015 10:32:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0

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

-- Andy



reply via email to

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