[Insight-users] gdcm + ITK installation problems
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Sep 13 10:46:03 EDT 2004
Angelo,
Yes this has been brought to my attention that the website was not up
to date. I told the webmaster to try to update it.
I have been working on cmake'ifying gdcm. So now you should be able to
build gdcm just as if you were building ITK.
Minimal steps are (from gdcm/INSTALL):
- Get the tarball / get from cvs.
- create a gdcm-bin directory
- start cmake select source / bin dir
- select your option
- build it
- (install it)
Be aware that there is a file that has to be found a run time:
dicomV3.dic. The recommended way is to define an env var:
GDCM_DICT_PATH
that would point to the *directory* containing the file dicomV3.dic .
Thus it should be something like full_path/gdcm/Dicts
Regards
Mathieu
Ps: It is envisaged that gdcm could be part of ITK
angelo.salamini at libero.it wrote:
> Title: gdcm + ITK installation problems
>
>
> Hi to all,
> I am Angelo. I try to install gdcm for the use with ITK, but i encountered some
> problem with the installation. I try different procedure but in all the cases I
> encountered installation errors.
>
> On my computer i have the following configuration:
> VTK 4.5.0 installed
> ITK 1.8.0 installed
> Visual Studio 6.0 installed.
> S.O. Windows 2000 Professional edition installed.
>
> In gdcm help I read the following procedure:
> 1. Retrieve the sources through the tarball
> 2. Launch VC++ by opening the gdcm.dsw workspace.
> 3. Proceed with building the required projects.
>
> So I try the following procedure:
>
> 1. gdcm installation by the executable file: "gdcm-0.4.exe" (Full installation)
> [Note: if i try to open the workspace "gdcm.dsw" Visual Studio require the
> following projects:
> _vtkGdcm.dsp
> gdcmTestDicomDir.dsp
> gdcmTestDicomDir2.dsp
> gdcmpyembedded.dsp
> vtkGdcmTest.dsp
> but they don't exist in gdcm directory!!!]
> 2. run CMake to configure ITK with option "USE_GDCM"
>
> CMake give me the follow error message:
> ----------------------------------------------------------------------------------------
>
> This project requires some variables to be set and cmake can not find them.
> Please set the following variables:
> GDCM_CONFIGURE_INCLUDE_DIR
> GDCM_INCLUDE_DIR (ADVANCED)
> GDCM_SHARED_LIBRARY (ADVANCED)
> VTKGDM_INCLUDE_DIR (ADVANCED)
> ----------------------------------------------------------------------------------------
>
>
> So i try to install gdcm using the zip file "gdcm-0.4.zip":
>
> 1. I unzip "gdcm-0.4.zip" in my work directory: "C:\Kitware\GDCM-GnuDicom\gdcm\"
> 2. so I open the workspace "gdcm.dsw" with Visual Studio, in this case is not
> present the precedent problem with the missing project files.
> 3. In menu "Build" i press "rebuild all" .
>
> In that case the compiler give me the following error message:
> ----------------------------------------------------------------------------------------
> Performing Custom Build Step on \bin\vtkwrappython
> "\Kitware\GDCM-GnuDicom\gdcm\vtk\vtkGdcmReader.h"
> \Examples\Build\vtkMy\Wrapping\hints 1 .\..\vtkGdcmReaderPython.cxx
> Impossibile trovare il percorso specificato. (Impossible to find the specify path)
> Error executing c:\winnt\system32\cmd.exe.
>
> vtkgdcmPython.dll - 1 error(s), 0 warning(s)
> The following environment variables were not found
> $(VTKPATH)
> $(CREATIS)
> ----------------------------------------------------------------------------------------
>
> I notice that in the path:
> "C:\Kitware\VTK-VisualizationToolkit\vtk42\Examples\Build\vtkMy\Wrapping" there
> is a file (without extension) named "hints" but the directory "hint1" doesn't
> exist.
> Also, the file named "vtkGdcmReaderPython.cxx too" doesn't exist on my computer.
>
> I notice too, that if i install gdcm from the executable file "gdcm-0.4.exe"
> (Full installation) the file named "vtkGdcmReaderPython.cxx too" exist in the
> following directory: "C:\Kitware\GDCM-GnuDicom\gdcm\vtk" that is different to
> the one indicated by the C++ compiler.
>
> Please, somebody can tell me what's wrong?
> Thank you.
>
>
> Ing. Angelo Salamini
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list