I am trying to write simple dcmtk application I adeed the following header
#include <dcmtk/config/osconfig.h>
#include <dcmtk/dcmimgle/dcmimage.h>
it give the error error: libc.h: No such file or directory
I use xcode and mac os snow leopard
any suggestin please
I assume you’re trying to compile for iOS? When you setup DCMTK to generate the appropriate build files, add this line to CMakeLists.txt before you run CMake:
I’d place this line in the configuration file where the C/C++ flags are set for the Darwin OS. That should help you eliminate this error.