[vtkusers] ItkVtkGlue_DIR NOT FOUND
Jose Ignacio Prieto
joseignacio.prieto at gmail.com
Mon Apr 8 15:16:52 EDT 2013
Sorry to bother. I don't have much experience using CMake. I think I
followed the instructions. I am using win7, so I use CMake GUI. On it
I opened the "source folder" where I have
itkVtkImageConverterDICOM.cxx and CMakeLists.txt. Then it points to an
error that says it needs the file "ItkVtkGlueConfig.cmake", but I
don't have any file with that name on my PC. I just have a ItkVtkGlue
folder inside ITK/Wrapping/ExternalProjects with a CMakeLists.txt and
folders: bin,images,src,wrapping.
Should I modify some of the CMakeLists files?
Thank you very much.
Ignacio
On Mon, Apr 8, 2013 at 2:44 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Did you follow the instructions on this page:
> http://itk.org/Wiki/ITK/Examples/WishList/IO/itkVtkImageConvertDICOM
>
>
> On Mon, Apr 8, 2013 at 12:14 PM, Jose Ignacio Prieto
> <joseignacio.prieto at gmail.com> wrote:
>>
>> Hi everyone, I am new to vtk and itk. I have already tried vtk examples
>> succesfully. But I am trying to read a DICOM file with JPEG2000 encoding, so
>> I would need ITK and GDCM. I have built ITK with CMake on Win7, Vtk 5.8 and
>> ITK 4.3, and now trying to run an example called itkVtkImageConverterDICOM.
>> When I try to make it in CMake, it complains that:
>>
>> CMake Error at CMakeLists.txt:11 (find_package):
>>
>> By not providing "FindItkVtkGlue.cmake" in CMAKE_MODULE_PATH this project
>>
>> has asked CMake to find a package configuration file provided by
>>
>> "ItkVtkGlue", but CMake did not find one.
>>
>> Could not find a package configuration file provided by "ItkVtkGlue" with
>>
>> any of the following names:
>>
>> ItkVtkGlueConfig.cmake
>>
>> itkvtkglue-config.cmake
>>
>> Add the installation prefix of "ItkVtkGlue" to CMAKE_PREFIX_PATH or set
>>
>> "ItkVtkGlue_DIR" to a directory containing one of the above files. If
>>
>> "ItkVtkGlue" provides a separate development package or SDK, be sure it
>> has
>>
>> been installed.
>>
>>
>>
>> On other forums it says that it may be a problem with the path, including
>> some spaces and that they have to be fixed with "", but in my path there are
>> no spaces yet.
>>
>> Thank you very much.
>>
>> --
>> José Ignacio Prieto
>> celular(nuevo): 94348182
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
--
José Ignacio Prieto
celular(nuevo): 94348182
More information about the vtkusers
mailing list