I'm try to compile and build DCMTK 3.6 with CMake 2.8 and use XCode4(MAC OS arch x86_64 i386)
1.Compile DCMTK with CMake,configuration is OK.(I do not modify CMakeLists.txt )but I enable >> openssl, png, tiff, xml,zlib
2.Build DCMTK.xcodeproj choose "ALL_BUILD".I think it OK(have some warning)
3.In DCMTK project choose "install" and build again.I stuck,it have 1 error see below.(I'm not sure to build install.I must build the install class with XCode4?)
Code: Select all
/Applications/CMake\ 2.8-5.app/Contents/bin/cmake -DBUILD_TYPE=Debug -P cmake_install.cmake
-- Install configuration: "Debug"
CMake Error at cmake_install.cmake:31 (FILE):
file cannot create directory: /usr/local/include/dcmtk/config. Maybe need
administrative privileges.
make: *** [install_buildpart_0] Error 1
Command /bin/sh failed with exit code 2
Advice me to solve problem,please