Looking at the log, we can see the following errors:
-- Looking for decorator header ctkVisualizationVTKWidgetsPythonQtDecorators.h
-- Looking for decorator header ctkVisualizationVTKWidgetsPythonQtDecorators.h - Found
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
-- Looking for decorator header ctkQtTestingPythonQtDecorators.h
-- Looking for decorator header ctkQtTestingPythonQtDecorators.h - Not found
-- Found PythonLibs: /Users/fernando/git/Slicer-SuperBuild-Release/python-install/lib/libpython2.7.dylib (found version "2.7.13")
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
CMake Warning at /usr/local/Cellar/cmake/3.9.6/share/cmake/Modules/FindDoxygen.cmake:396 (message):
Unable to determine doxygen version: Child aborted
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.9.6/share/cmake/Modules/FindDoxygen.cmake:551 (_Doxygen_find_doxygen)
Documentation/CMakeLists.txt:1 (find_package)
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
CMake Error at /usr/local/Cellar/cmake/3.9.6/share/cmake/Modules/FindDoxygen.cmake:630 (message):
Unable to generate Doxyfile template: Child aborted
Call Stack (most recent call first):
Documentation/CMakeLists.txt:1 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/fernando/git/Slicer-SuperBuild-Release/CTK-build/CTK-build/CMakeFiles/CMakeOutput.log".
See also "/Users/fernando/git/Slicer-SuperBuild-Release/CTK-build/CTK-build/CMakeFiles/CMakeError.log".
There are two issues:
(1) Doxygen: Unable to generate Doxyfile template: Child aborted
(2) Symbol not found: __cg_jpeg_resync_to_restart
The issue (1) should be easy to address by fixing the install of Doxygen.
Everything looks fine, there is no system paths listed.
Doxygen
I have no idea, I am not familiar with brew.
Slicer r26653 introduces the option Slicer_BUILD_DOCUMENTATION, consider updating your source checkout and configuring with -DSlicer_BUILD_DOCUMENTATION:BOOL=OFF
Single process make to find out cause of failure
By simply running make I meant that you should run a single process make.
From the top level directory, try:
cd Slicer-SuperBuild
make
instead of
cd Slicer-SuperBuild
make -j<number>
Doing so ensure the build process fails at the first error.
When you know which target is faulty, it is useful to do:
Does this path exist? Note that the SDK and the OS version can be different, and Apple updater may have automatically moved you up to 10.13 SDK (this happened to me, things broke, and I manually rolled back – haven’t dared to try again yet).
I think the issue I hit has been fixed because I know some other Mac users
have upgraded — I didn’t want the hours of rebuilding. So try setting the
sdk target to 10.13 first. I don’t have the rollback steps I used at hand,
but will try to find again.