I did a clean build on Mac High Sierra on the latest master and got this build error.
-- tcl: Errors detected - See below. In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/regcomp.c:33: In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/regguts.h:36: In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/regcustom.h:33: In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/regex.h:4: In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/tclInt.h:36: In file included from /Users/cpinter/Devel/S4R/tcl/tcl/generic/tclPort.h:23: ./tclUnixPort.h:32:10: fatal error: 'errno.h' file not found #include <errno.h> ^~~~~~~~~ 1 error generated. make: *** [regcomp.o] Error 1 CMake Error at /Users/cpinter/Devel/Slicer4/CMake/ExternalProjectForNonCMakeProject.cmake:76 (message): tcl: Error in build step. See /Users/cpinter/Devel/S4R/tcl_build_step_output.txt and /Users/cpinter/Devel/S4R/tcl_build_step_error.txt Call Stack (most recent call first): /Users/cpinter/Devel/S4R/tcl_build_step.cmake:3 (ExternalProject_Execute)
Has anyone seen the same? Do I do anything wrong? Here’s how I configure (has not changed in the past two years other than deployment target):
/Applications/CMake.app/Contents/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Release -DQT_QMAKE_EXECUTABLE:FILEPATH=/usr/local/Cellar/qt/4.8.7_3/bin/qmake -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.13 ../Slicer4