If you don't need to convert DICOM images to TIFF , set the option for DCMTK_WITH_TIFF support OFF in the CMakeLists.txt file. Do the same for the other libraries such as PNG, OPENSSL and ZLIB.
If you need TIFF support, I recommend you to read the INSTALL file in the source package carefully.
If you don't need to convert DICOM images to TIFF , set the option for DCMTK_WITH_TIFF support OFF in the CMakeLists.txt file. Do the same for the other libraries such as PNG, OPENSSL and ZLIB.
If you need TIFF support, I recommend you to read the INSTALL file in the source package carefully.
ok thanks a lot what about my previous question
is there a bug in that I should fix in file dcdict.cc
I found that in
My colleague Jörg already said in another thread that there is no bug in dcdict.cc we would know of.
Please be more specific with your problems, i.e. show the full error message (not all 43 or so, but 1 of them completely). Your problem with "main" does not look like a DCMTK-related problem, though. Maybe googling already helps.
that's an error on the mac caused by the CMake configuration.. You can ignore it and go ahead anyway,i.e. hit configure again and go on.
If you want to fix it instead, unselect any boxes on the screen where the description contains the word TIFF
Best regards,
Michael
when compile for ios 4.2 , the xcode project come from the cmake it give me error which is
/dcmtk-3.6.0/ofstd/include/dcmtk/ofstd/ofstdinc.h:335:0 /dcmtk-3.6.0/ofstd/include/dcmtk/ofstd/ofstdinc.h:335:18: error: libc.h: No such file or directory
and
target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphoneos' platform
3. remember about library order (FAQ 27) and about zlib library into your project
I think thats all (i spend a lot of time on my project and i dont remember if i done something else)
------------------------------------
I hope that it will be usefull for someone. Cheers !
I did all the steps but when I used it in project ( ipad device, debug) I got the following error
/DCMTK_BINARY/include/dcmtk/ofstd/ofstdinc.h:320:18: error: libc.h: No such file or directory
HOW TO COMPILE DCMTK ON IPHONE (not fully checked)
It's simple,
1 - Download last dcmtk and extract
2 - go in the directory and create a folder "xcode"
3 - go to the new directory and type "ccmake -GXcode ../"
4 - for ccmake options
DOXYGEN : OFF
OPENSSL : ON (optional : you need to have openssl libs for IOS)
PNG: ON (optional)
PRIVATE_TAGS : ON (optional)
THREADS : ON (optional)
TIFF : ON (optional)
XML : ON (optional)
ZLIB : ON (optional)
configure, generate and take a coffee.
5 - Open the xcode project in the folder "xcode"
6 - Compile the project for testing if all things are good, take a coffee again.
If it's compile, go next step.
7 - go "project info" in xcode
8 - change "Base SDK for All Configuration" to "Latest IOS"
9 - Change "Architectures" for "Standart"
10 - check is "Valid Architectures" is "armv6 armv7"
11 - Build Active Architecture Only must be checked
12 - In Target list remove ALL executables, only Libraries must be compiled.
Optional(depend of your ccmake config):
13 - Add in yours project libssl.a libcrypto.a libz.dylib (and some include by yourself)
14 - Compile the project for IOS simulator first.
You will have a error (the only one) for a include, comment it.
15 - If it's good, compile for device.
Now, all libraries can work but must be tested.
francois wrote:HOW TO COMPILE DCMTK ON IPHONE (not fully checked)
It's simple,
1 - Download last dcmtk and extract
2 - go in the directory and create a folder "xcode"
3 - go to the new directory and type "ccmake -GXcode ../"
4 - for ccmake options
DOXYGEN : OFF
OPENSSL : ON (optional : you need to have openssl libs for IOS)
PNG: ON (optional)
PRIVATE_TAGS : ON (optional)
THREADS : ON (optional)
TIFF : ON (optional)
XML : ON (optional)
ZLIB : ON (optional)
configure, generate and take a coffee.
5 - Open the xcode project in the folder "xcode"
6 - Compile the project for testing if all things are good, take a coffee again.
If it's compile, go next step.
7 - go "project info" in xcode
8 - change "Base SDK for All Configuration" to "Latest IOS"
9 - Change "Architectures" for "Standart"
10 - check is "Valid Architectures" is "armv6 armv7"
11 - Build Active Architecture Only must be checked
12 - In Target list remove ALL executables, only Libraries must be compiled.
Optional(depend of your ccmake config):
13 - Add in yours project libssl.a libcrypto.a libz.dylib (and some include by yourself)
14 - Compile the project for IOS simulator first.
You will have a error (the only one) for a include, comment it.
15 - If it's good, compile for device.
Now, all libraries can work but must be tested.
you saved my time and life ,
I have only one questions where's the output libraries , I builld the code as you told me , except I deleted the executable files (I kept the build all, install, and the other libraries) at the target list before change the building options (the latest ios,..)