El Capitan Upgrade Notes

Matthew Taylor edited this page Jan 25, 2016 · 2 revisions
Clone this wiki locally

Building NuPIC Core

README instructions:

mkdir -p $NUPIC_CORE/build/scripts
cd $NUPIC_CORE/build/scripts
cmake $NUPIC_CORE -DCMAKE_INSTALL_PREFIX=../release -DPY_EXTENSIONS_DIR=$NUPIC_CORE/bindings/py/nupic/bindings
make -j6 install

Problem occurred with local environment variable MACOSX_DEPLOYMENT_TARGET, which was set in my local .bashrc as 10.10 previously. Now it should be set to 10.11, so I set it and got this error:

CMake Warning at /usr/local/Cellar/cmake/3.1.1/share/cmake/Modules/Platform/Darwin-Initialize.cmake:97 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET is '10.11' but the matching SDK does not exist
  at:

   "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk"

  Instead using SDK:

   "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk".
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.1.1/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:18 (include)
  CMakeLists.txt:23 (project)


-- The CXX compiler identification is AppleClang 6.1.0.6020053
CMake Error at /usr/local/Cellar/cmake/3.1.1/share/cmake/Modules/Platform/Darwin.cmake:84 (message):
  CMAKE_OSX_DEPLOYMENT_TARGET (10.11) is greater than CMAKE_OSX_SYSROOT SDK:

   /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk

  Please set CMAKE_OSX_DEPLOYMENT_TARGET to 10.10 or lower.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.1.1/share/cmake/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
  CMakeLists.txt:23 (project)


-- Configuring incomplete, errors occurred!
See also "/Users/mtaylor/nta/nupic.core/build/scripts/CMakeFiles/CMakeOutput.log".

This required an upgrade to XCode 7.2.