[vtkusers] Initializing vtkPanel fails java.lang.NoSuchFieldError: vtkId
Sebastien Jourdain
sebastien.jourdain at kitware.com
Tue Mar 8 19:01:27 EST 2011
Between the 2 linux you've tried, are they really the same
- 64 bits libs
- did you compiled on 64 bits
- are you using the same JVM (Sun) build for 64 bits ?
- are you using your VTK code from tomcat ?
- do you have the same setting in your LD_LIBRARY_PATH ?
- are you sure you don't have an openJDK that get started instead of
the Sun JDK ?
Sorry to ask more questions than providing some answer but it will
help you or me to figure out what's happening
Seb
On Tue, Mar 8, 2011 at 9:04 AM, Peter Eipert <eipert at web.de> wrote:
> Hi
>
> I use vtk with java wrappings on several Platforms but on one machine I am
> not able to initialize a vtkPanel.
> It's a linux_x86_64 system with suse 11.2. On an other very similar machine
> I don't have that problem.
> The error message is:
>
> Exception in thread "main" java.lang.NoSuchFieldError: vtkId
> at vtk.vtkRenderWindow.VTKInit(Native Method)
> at vtk.vtkObject.<init>(vtkObject.java:96)
> at vtk.vtkWindow.<init>(vtkWindow.java:178)
> at vtk.vtkRenderWindow.<init>(vtkRenderWindow.java:642)
> at vtk.vtkPanel.<init>(vtkPanel.java:12)
>
>
> I tried vtk 5.4.2 and also the latest 5.6.1 Both have that problem.
> Because I guessed a version problem I tried to check the version of the
> loaded vtk-libraries with vtkVersion. But the initialization of vtkVersion
> fails with the same exception.
> Any ideas where this error could come from?
>
> Thanks in advance
> Peter
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list