[vtkusers] Problems using VTK with Java in Windows XP
Sebastien Jourdain
sebastien.jourdain at kitware.com
Sat Jan 1 10:06:33 EST 2011
I guess you should do your compilation on Win XP and not windows 7.
Or try to put the dll from Win7 in your path on XP.`
Seb
On Sat, Jan 1, 2011 at 3:48 PM, <joe at fluiditymed.com> wrote:
> Hello,
>
> I am trying to get VTK with Java binding to work on a Windows XP machine.
> I have generated a build using Visual Studio 2008 Express Edition. When I
> try to run the Cone application, I am getting the following:
>
> java.lang.UnsatisfiedLinkError:
> C:\VTK-Build\bin\Release\vtkRenderingJava.dll: Can't find dependent
> libraries
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
> at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> at java.lang.System.loadLibrary(System.java:1030)
> at cone.Main.<clinit>(Main.java:36)
> Exception in thread "main" Java Result: 1
>
> Using Dependency Checker, I have managed to trace this to a missing
> DWMAPI.DLL file from vtkRenderingJava.dll. The problem is that DWMAPI.DLL
> is a Vista/Win 7 file and does not exist in Windows XP.
>
> Is there a way of getting around this problem?
>
> Thanks for any help that you can provide.
>
> Kind regards,
> Joe
>
> _______________________________________________
> 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