mauge123 / mechanical-blender

mechanical blender project
Other
70 stars 16 forks source link

Can't create Xcode project or compile;e using Make #43

Open christophepersoz opened 6 years ago

christophepersoz commented 6 years ago

Hello,

I'm trying to build the fastest version for a Mac OSX High Sierra. I'm doing this because the STP import is not present on the current available built version. So I tried to generate the project with CMake but it is not working. I also tried directly in the terminal, but it seems that there is something wrong with Xcode 9.2 or something else related to the version. Here the error I'm getting by doing make in terminal :

-- Detected OS X  and Xcode  at /Library/Developer/CommandLineTools
CMake Error at build_files/cmake/platform/platform_apple_xcode.cmake:82 (if):
  if given arguments:

    "VERSION_LESS" "4.3"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:563 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/christophepersoz/blender-build/build_darwin/CMakeFiles/CMakeOutput.log".
make: *** [all] Error 1

And this one is the one I'm getting inside CMake when generating the Xcode Project:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

CMake Error at build_files/cmake/platform/platform_apple_xcode.cmake:76 (string):
  string begin index: 6 is out of range 0 - 0
Call Stack (most recent call first):
  CMakeLists.txt:563 (include)

Detected OS X  and Xcode  at /Library/Developer/CommandLineTools
CMake Error at build_files/cmake/platform/platform_apple_xcode.cmake:82 (if):
  if given arguments:

    "VERSION_LESS" "4.3"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:563 (include)

Configuring incomplete, errors occurred!
See also "/Users/christophepersoz/blender-build/mechanical-blender/cmake/CMakeFiles/CMakeOutput.log".

Any idea? Thanks!