[vtkusers] VTK OsMesa with Java error

Tomas Katkevicius fr33host at gmail.com
Thu Jul 1 17:39:24 EDT 2010


Hi All,

i have a question concerning vtk compiled with osmesa. Currently my
compilation is vtk-5.6.0 version with java 1.6.0_20 and Mesa-7.8.2.
Everytinh went smoothly during the compilation. But when i try to launch
simple Cone5 java example, i am getting error:

java: main/renderbuffer.c:1924: _mesa_add_renderbuffer: Assertion
`bufferName == BUFFER_DEPTH || bufferName == BUFFER_STENCIL ||
fb->Attachment[bufferName].Renderbuffer == ((void *)0)' failed.
Aborted

I also tried older version of mesa 7.8.1, but then i am getting error:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/export/software/VTK_TEMP/lib/vtk-5.6/libvtkRenderingJava.so.5.6.0:
/export/software/Mesa-7.8.1/lib/libOSMesa.so.7: undefined symbol:
_tnl_run_pipeline
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at Cone5.<clinit>(Cone5.java:22)
Could not find the main class: Cone5.  Program will exit.

Does anybody is familiar with this situation?
Thanks for any responce.

Regards,
Tomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100702/2e83d116/attachment.htm>


More information about the vtkusers mailing list