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