On 01/30/2012 02:13 PM, Joshua Daniel Franklin (UW Seattle) wrote:
> On 1/27/12 12:28 PM, Kevin H. Hobbs wrote:
>> So you want to get OSMesa from Mesa-7.11.2 working with VTK-5.8.0 on
>> Fedora 15?
>  
> So is it EGL that has trouble with offline rendering, since you did 
> "--disable-egl"?
>

No. it's just other stuff that isn't OSMesa.


> It's too bad since I guess that means stock Fedora users are stuck using 
> X11. The mesa.spec from Fedora 15 does this:
> 

They shouldn't be (at least not anymore) :

sudo yum install mesa-libOSMesa mesa-libOSMesa-devel

cd /tmp/VTK_Build
rm -rf *

cmake \
  -D"VTK_DATA_ROOT:PATH=/tmp/VTKData" \
  -D"OPENGL_INCLUDE_DIR:PATH=/usr/include" \
  -D"OPENGL_gl_LIBRARY:FILEPATH=" \
  -D"OPENGL_glu_LIBRARY:FILEPATH=/usr/lib64/libGLU.so" \
  -D"VTK_OPENGL_HAS_OSMESA:BOOL=ON" \
  -D"OSMESA_INCLUDE_DIR:PATH=/usr/include" \
  -D"OSMESA_LIBRARY:FILEPATH=/usr/lib64/libOSMesa.so" \
  -D"VTK_USE_OFFSCREEN:BOOL=ON" \
  -D"VTK_USE_X:BOOL=OFF" \
  /tmp/VTK

make -j4
make test

I'm trying that now but you can give it a shot before then.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to