i installed dcmtk following the steps in the installation guides (zlib, tiif, libxml, libpng, tcp_wrappers and libicinv) for MacOs X.
In /usr/local/dicom exists bin, etc, include, lib, man and share subdirectory. I suppose that all is correct.
When i write a test code in Xcode IDE:
Code: Select all
#ifndef HAVE_CONFIG_H
#define HAVE_CONFIG_H
#include "dcmtk/config/osconfig.h"
#include "dcmtk/ofstd/oftypes.h"
#include "dcmtk/dcmdata/dctk.h"
#include <iostream>
int main (int argc, char * const argv[]) {
DcmFileFormat fileformat;
std::cout << "Hello, World!\n";
return 0;
}
#endif
Code: Select all
[Session started at 2007-10-16 12:11:02 -0400.]
ZeroLink: unknown symbol '__ZN13DcmFileFormatC1Ev'
If you can help me....maybe my installation process is wrong but i don't know how verify that. I have installed the software as 4 or 5 times!!!!
Thanks in advance
p.d.: my OS is version 10.4.10 in a Mac based Intel