为什么我得到Xcode 1.5不支持?

问题描述 投票:0回答:1

我试图在macOS上安装CairoXlib,我不能让这个工作。

cmake -G "Xcode" --config Debug "-DCMAKE_BUILD_TYPE=Debug" ...

    CMake Error:
  Xcode 1.5 not supported.


CMake Error: Could not create named generator Xcode

Generators
* Unix Makefiles               = Generates standard UNIX makefiles.
  Ninja                        = Generates build.ninja files.
  Ninja Multi-Config           = Generates build-<Config>.ninja files.
  Xcode                        = Generate Xcode project files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
c++ xcode cairo xlib
1个回答
0
投票

谷歌搜索 "cmake XCode "的第一个结果是 https:/cmake.orgcmakehelpv3.9generatorXcode.html。 其中说

这支持Xcode 3.0及以上版本。

所以,显然这个消息来自于CMake。

© www.soinside.com 2019 - 2024. All rights reserved.