[vtkusers] VTK+GDCM+JAVA error in CMake
David Gobbi
david.gobbi at gmail.com
Tue Nov 18 14:56:02 EST 2014
Hi Daniel,
It sounds like it's asking you to set this variable in GDCM's
CMakeCache.txt,
if you are using the cmake gui then you will have to select the "advanced"
view:
GDCM_VTK_JAVA_JAR:FILEPATH=C:/Path/To/vtk.jar
If you are interested, my own VTK dicom classes also have java wrappers:
http://github.com/dgobbi/vtk-dicom
- David
On Tue, Nov 18, 2014 at 12:12 PM, -Daniel- <ich_daniel at habmalnefrage.de>
wrote:
> Hello,
>
> I have tried a couple of times to integrate GDCM in my project (with Java
> and VTK). (this was long ago)
> However, so far without success. I was able to use classes like
> gdcm.Scanner
> or gdcm.IPPSorter, but none of the vtkGDCM*-classes.
> Now I start a new try.
> But unfortunately I fail already with an error message in CMake:
> CMake Error at Utilities / VTK / CMakeLists.txt: 656 (message):
> Could not find file vtk.jar, VTK_JAVA_JAR is wrong: please set proper
> GDCM_VTK_JAVA_JAR: replacement var
>
> Where can I set vtk.jar?
>
> I use VTK 6.1, Java 1.7 (and 1.8 for testing purposes) on a Windows OS with
> 64bit.
>
> Thanks for any hints?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141118/99dfa26d/attachment.html>
More information about the vtkusers
mailing list