<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - line rendering with --with-osmesa-bits=32"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71363#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - line rendering with --with-osmesa-bits=32"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71363">bug 71363</a>
from <span class="vcard"><a class="email" href="mailto:burlen.loring@gmail.com" title="burlen <burlen.loring@gmail.com>"> <span class="fn">burlen</span></a>
</span></b>
<pre>The bug can be reproduced using VTK built against OSMesa. The following shows
how I configured Mesa and VTK.
# Mesa config
./configure CXXFLAGS="-O2 -g" CFLAGS="-O2 -g" --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 --with-osmesa-bits=32
--enable-gallium-llvm=no --prefix=/work/apps/mesa/devel/classic
#!/bin/bash
# VTK config
MESA=$1
shift
BITS=$1
shift
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DVTK_DEBUG_LEAKS=ON \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=ON \
-DVTK_USE_X=OFF \
-DVTK_OPENGL_HAS_OSMESA=ON \
-DOPENGL_INCLUDE_DIR=$MESA/include \
-DOPENGL_gl_LIBRARY=$MESA/lib/libOSMesa$BITS\.so \
-DOPENGL_xmesa_INCLUDE_DIR=$MESA/include \
-DOSMESA_INCLUDE_DIR=$MESA/include \
-DOSMESA_LIBRARY=$MESA/lib/libOSMesa$BITS\.so \
-DVTK_DATA_STORE=/work/VTK/VTKExternalData \
$*</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>