yaidev
V2EX  ›  中州韻

Build Squirrel has some error on macOS

  •  1
     
  •   yaidev · Apr 20, 2018 · 9786 views
    This topic created in 2977 days ago, the information mentioned may be changed or developed.

    The Build Environment:

    • macOS version: macOS Hign Sierra 10.13.4
    • XCode Command Line Tools version: 9.3 Update time: Apr 2, 2018
    • CMake version: 3.11.1
    • Boost version: 1.67.0_1
    • Git version: 2.15.1

    The error content:

    cp -R thirdparty/src/gtest/include/gtest thirdparty/include/
    cp thirdparty/src/gtest/build/libgtest*.a thirdparty/lib/
    /Library/Developer/CommandLineTools/usr/bin/make -C librime -f Makefile.xcode release
    cmake . -Bxbuild -GXcode -DBUILD_STATIC=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
    CMake Error:
      Xcode 1.5 not supported.
    
    
    CMake Error: Could not create named generator Xcode
    

    The error content screenshot:

    rime-error-screenshot.jpg

    If anyone know how fix this error, please tell me, thanks!!!

    3 replies    2023-07-30 11:18:20 +08:00
    meta
        1
    meta  
       Jul 21, 2018
    xcode 指错了地方,可以用 xcode-select 重新设定一下,例如 xcode-select -switch /Application/Xcode.app
    jackytang520
        2
    jackytang520  
       Oct 16, 2018
    我和编译报的错一样,只装了 XCode Command Line Tools 不行,需要把 Xcode 全部下载安装,好几个 g,要点时间
    NGO
        3
    NGO  
       Jul 30, 2023
    @meta 实测可以👍🏻
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   847 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 20:49 · PVG 04:49 · LAX 13:49 · JFK 16:49
    ♥ Do have faith in what you're doing.