Mac 10.10.4 Version Installation and testing DCMTK

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Nadigria
Posts: 1
Joined: Fri, 2015-07-31, 08:24

Mac 10.10.4 Version Installation and testing DCMTK

#1 Post by Nadigria »

Dear Team,
I have compiled DCMTK using the traditional GNU.
1.get the source code package of DCMTK 3.6.1
2.Open a terminal and go to the unpacked DCMTK directory
3.enter ./configure,
4.enter make and wait again
5.call "sudo make install"
6.check for /usr/local/bin for binaries like dcmdump everything seems good.

Now how do I check whether the DCMTK installed is working using a simple example ?

for example If i try to use the Xcode and see the following code : ( It shows expected unqualified error parsed)
#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/ofconsol.h"
#include "dcmtk/ofstd/oftest.h"
OFTEST(ofstd_COUT_HelloWorld)
{
COUT << "Hello world!" << OFendl;
}

Regards
Nadig

Michael Onken
DCMTK Developer
Posts: 2048
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Mac 10.10.4 Version Installation and testing DCMTK

#2 Post by Michael Onken »

There is an example in the dcmdata documentation.

HTH,
Michael

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest