Building DCMTK as static library

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
RaviAppaji
Posts: 3
Joined: Wed, 2018-07-11, 13:23

Building DCMTK as static library

#1 Post by RaviAppaji »

Hi All,

I am interested on ofstd, oflog, dcmtract, dcmiod, dcmdata from the DCMTK 3.6.3. I am able to build DLL from the source code of
DCMTK 3.6.3.
I tried to build the same modules as static libraries. I tried changing the configuration type to static library in project property page.
I used visual studio 2007. But I got several compilation errors. Could anyone please let me know the steps to build static libraries.

Note: The projects are generated using CMAKE.

Thanks & regards,
Ravi Appaji

Jan Schlamelcher
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 318
Joined: Mon, 2014-03-03, 09:51
Location: Oldenburg, Germany

Re: Building DCMTK as static library

#2 Post by Jan Schlamelcher »

Set BUILD_SHARED_LIBS=OFF.

RaviAppaji
Posts: 3
Joined: Wed, 2018-07-11, 13:23

Re: Building DCMTK as static library

#3 Post by RaviAppaji »

Hi Jan Schlamelcher,

It worked for me :D

Thank you so much for your help :D

Regards,
Ravi Appaji

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest