[vtkusers] How can I use GDCM and Java (1.6) in VTK (5.8.0)?
Sebastien Jourdain
sebastien.jourdain at kitware.com
Wed Jan 18 08:59:14 EST 2012
Hi Daniel,
Did you set the environment variable PATH to point to the VTK
directory that contains all the all ?
Did you call in someway "LoadNativeLibrary" in your Java code. (An
helper enum has been setup inside VTK to simplify this process)
Seb
On Wed, Jan 18, 2012 at 8:34 AM, <ich_daniel at habmalnefrage.de> wrote:
> Hello vtk-users,
>
> how can I use GDCM with Java (1.6) in VTK (5.8.0)?
> I try with CMake (2.8.2) and VisualStudio 9 to create dll's and jar's (on Win7 32bit). (CMake-Settings look at the screenshot)
> However, if I use "new vtkGDCMImageReader" I get the following error message:
> "Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: vtk.vtkGDCMImageReader.VTKInit()J"
> But I can use without problems gdcm classes, like gdcm.Directory or gdcm.SmartPtrscan.
> What's wrong?
>
> my created data: "gdcm.jar" (259 kB), "vtkgdcm.jar" (18 kB) and 16 dll's.
>
> Thanks for any suggestions!
> Daniel
>
>
>
> --
> "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>
> _______________________________________________
> 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