zlib.h not found?

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
drummerbull
Posts: 3
Joined: Thu, 2007-08-16, 16:15

zlib.h not found?

#1 Post by drummerbull »

A co-worker and myself are trying to compile the DCMTK from source in an attempt to better understand the code for use in our own project. We're attempting to compile using Visual Studio 2005 with SP1 and we're getting an error that it can't find the file zlib.h, however this file is included in the package we downloaded and obviously there. Perhaps it's in the wrong place? In which case we're not sure where it's supposed to go. Any help would be greatly appreciated.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

The location of the zlib header files and library can be defined when you run CMake to generate project files. If you have downloaded and installed the support libraries for Windows then indeed everything needed should be there. By default the project files expect the support libraries to be installed in the same directory in which you also find the dcmtk directory that is the root for the DCMTK source tree, e.g.

Code: Select all

d:\develop\zlib-1.2.3
d:\develop\dcmtk

drummerbull
Posts: 3
Joined: Thu, 2007-08-16, 16:15

#3 Post by drummerbull »

Thanks a lot, that did the trick, it just wasn't in the right place.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest