Hi, I would like to understand how can I compile DCMTK on Xcode 3.0?
I've download the source package and now? How can I do? Thanks for your answer....
There is no support in DCMTK for compiling it on Xcode. On Mac OS X, like on any other Posix platform, use configure/make/make install as documented in the installation instructions in file dcmtk/INSTALL in the source code distribution.
Hi Per, I try your solution but when I compile my test program the compiler return this error message:
"DcmFileFormat::DcmFileFormat()", referenced from:
_main in main.o
"DcmFileFormat::~DcmFileFormat()", referenced from:
_main in main.o
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Do you have an idea of what is this? Thank you so much!
That should be pretty clear, shouldn't it? The linker is unable to resolve all symbols, which means that you are not linking all libraries needed. Specifically, libdcmdata where DcmFileFormat is defined and libofstd which is needed by libdcmdata.