Unsure of how to use DCMTK for own app

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Aimevous
Posts: 37
Joined: Thu, 2008-05-15, 11:02

Unsure of how to use DCMTK for own app

#1 Post by Aimevous »

Hi,

Not sure if this may sound stupid but I hope to seek your kindest advice.

I was reading through the FAQ and it was written:
How do I use the DCMTK libraries in my own application?

:!: Here's an example for the Windows platform (MSVC):

1. Create DCMTK project files with CMake (for demonstration purposes switch all external libraries off).
2. Select target ALL_BUILD in Visual Studio and compile the complete DCMTK.
3. Select INSTALL in order to install the DCMTK files to the directory specified using CMake.
4. Create a new directory "testapp" somewhere on your harddisk with the following files.

Example program "testapp.cxx" from the dcmdata documentation:
I don't understand step 2 and 3. Is it asking me to open the ALLBUILD.vcproj and compile? If so, what is Step 3? I can't seem to choose where to install the files to. I ran INSTALL.vcproj and I just compiled it again, and I dont see any use.

Can anyone clarify?

Thanks!

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Open the main project file (dcmtk.dsw or dcmtk.sln) with Visual Studio. ALL_BUILD and INSTALL are compilation targets (or sub-projects) of the main project "dcmtk".

I should probably change the FAQ entry to make this clearer ...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest