[Dcmlib] Compile problem, filling missing from source

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Sep 13 20:07:50 CEST 2006


Anthony,

	Ok there are way too many lines for my slow brain. Could you please try 
those instead:

-Unzip source (source version 1.0.0), are you sure you want 1.0.0 and 
not 1.2.x or 1.4 ? Anyway let say you have now: c:/My/gdcm

- Start CMakeSetup. Set source to c:/My/gdcm and binary to c:/My/gdcmBin

- Click 'Configure'

- Click 'Ok'

- Open c:/My/gdcmBin in explorer

- Open c:/My/gdcmBin/GDCM.sln with VS 2005

- Build

HTH
Mathieu

Anthony D. Hildoer wrote:
> Thank you for the prompt response. I do not know what I was thinking the
> first time I e-mailed you. Here are the exact steps I am taking
> (including software version numbers):
> 
> -Unzip source (source version 1.0.0).
> -Edit the file 'CMakeLists.txt' in source to avoid missing file error.
>  I change the line '${GDCM_BINARY_DIR}/src/gdcmDefaultDicts.cxx'
>  to 'gdcmDefaultDicts.cxx'.
> -rename source folder from 'src' to 'gdcmSRC'.
> -create directory 'gdcmBIN'.
> -run cmakesetup(version 2.4 patch 3).
> -specify gdcmSRC and gdcmBIN as source and binary directories,
> respectively. 
> -Click 'configure'.
> -Select "Visual Studio 8 2005" as that is the version I have.
> -Click 'ok'.
> -leave cache values at default, click 'configure' again.
> -Click 'ok'.
> -open 'gdcmBIN' folder.
> -double click 'Project.sln'
> -Visual Studio 2005 opens
> -Click 'Build->Build Solution'
> -The output of the build is in the attached text file name
> 'build.report'
> 
> Thanks again!
> 
> -Anthony
> 
> 
> 
> -----Original Message-----
> From: Mathieu Malaterre [mailto:mathieu.malaterre at kitware.com] 
> Sent: Monday, September 11, 2006 5:29 PM
> To: Anthony D. Hildoer
> Cc: Dcmlib at creatis.insa-lyon.fr
> Subject: Re: [Dcmlib] Compile problem, filling missing from source
> 
> Anthony D. Hildoer wrote:
>> "fatal error C1083: Cannot open include file: 'gdcmConfigure.h': No
> such 
>> file or directory" error when compiling from source in Visual Studio 
>> C++. 'gdcmConfigure.h' is not in the source tar balls and is not in
> CVS.  
> 
> 
> Hi Anthony,
> 
> 	You are not giving a lot of details here...my crystal ball is no
> 
> working right now. Could you please specify:
> * Version of CMake used
> * Version of Visual Studio C++ used
> * Step to reproduce to see the problem.
> 
> 	BTW, gdcmConfigure.h is a generated file by CMake which is
> located in 
> the binary directory of your build (or installed in CMAKE_INSTALL_PATH, 
> I don't know if you installed gdcm or not).
> 
> Thank you
> Mathieu




More information about the Dcmlib mailing list