[Dcmlib] [Fwd: Re: [Insight-users] gdcm + ITK installation problems]
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Sep 13 18:57:38 CEST 2004
Et hop luis a fais les etapes pour Visual. Le fichier README renvoi vers
le site web, est-ce que je peux l'ecraser ou vous preferer les
instructions sur le site web ?
Mathieu
-------- Original Message --------
Subject: Re: [Insight-users] gdcm + ITK installation problems
Date: Mon, 13 Sep 2004 12:47:56 -0400
From: Luis Ibanez <luis.ibanez at kitware.com>
To: angelo.salamini at libero.it <angelo.salamini at libero.it>
CC: insight-users <insight-users at itk.org>
References: <I3Z1LF$AA39C7DF5CB7EF505EF59F2FA1F71590 at libero.it>
HI Angelo,
Please do the following:
1) Download "gdcm" using CVS.
2) Configure gdcm using CMake.
Mathieu Malaterre created the CMakeLists.txt files
that allow to configure gdcm for any platform using
CMake. In that way you don't have to deal with the
.dsw, .dsp files distributed by gdcm. Instead, those
files are generated by CMake and you can then proceed
to open them with Visual Studio. You don't need the
Python, nor VTK extensions in gdcm, please don't enable
them when you configure gdcm.
3) Build "gdcm" by loading the .dsw into Visual Studio
(the .dsw that CMake generated in your gdcm Binary
directory).
4) Once you are done building gdcm, run CMake over ITK
and enable the "USE_GDCM" variable.
5) Click on "Configure", provide the GDCM directories
and click on "OK"
6) Reload the ITK.dsw in Visual Studio and rebuild
ITK (don't need to do a clean build, just to trigger
the "build" option. this will actually compile only
a couple of files.)
Please let us know if you find further problems,
Thanks,
Luis
------------------------------------
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
>
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the Dcmlib
mailing list