If i remove the line 70, the other errors happened.
error:
CMake Error at CMake/SlicerInitializeOSXVariables.cmake:70 (message):
CMAKE_OSX_DEPLOYMENT_TARGET must be 10.13 or greater.
Call Stack (most recent call first):
CMakeLists.txt:31 (include)
I`m using macOS Catalina 10.15.2 (19C57)
Cmake: 3.18.2
Xcode: Version 11.3 (11C29)
I just clone de Slicer and SlicerIGT github, create a new folder called Slicer-bin and Igt-bin. In the Cmake i put the “source code” = github cloned folder. In the “where to build the binaries” = -bin folders. I`m trying to build both of them to make some experiments.
Hi @Valmar I start a fresh build using the cmake command line below. This satisfies the initial checks. After that first configuration you can use ccmake if you need to make further changes.
Thank you @pieper! Cmake GUI isn`t working in this first step. The same problem appear again in the make step.
command used: make and SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk make -j20 (documentation)
error:
CMake Error at CMake/SlicerInitializeOSXVariables.cmake:70 (message):
CMAKE_OSX_DEPLOYMENT_TARGET must be 10.13 or greater.
Call Stack (most recent call first):
CMakeLists.txt:31 (include)
Hmm, I don’t have that error. Are you sure you copied the cmake line that I pasted before? It sets -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 so that error should not happen…