Coder Social home page Coder Social logo

[yoga] Build error on x64-osx about vcpkg HOT 5 CLOSED

xiaozhuai avatar xiaozhuai commented on June 16, 2024
[yoga] Build error on x64-osx

from vcpkg.

Comments (5)

MonicaLiu0311 avatar MonicaLiu0311 commented on June 16, 2024
vcpkg@vcpkg-osx-2024-01-18-amd64 vcpkg % ./vcpkg version
vcpkg package management program version 2024-03-14-7d353e869753e5609a1f1a057df3db8fd356e49d

See LICENSE.txt for license information.

Sorry I can't repro your issue.

vcpkg@vcpkg-osx-2024-01-18-amd64 vcpkg % ./vcpkg install yoga
Computing installation plan...
A suitable version of cmake was not found (required v3.29.0) Downloading portable cmake 3.29.0...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.29.0/cmake-3.29.0-macos-universal.tar.gz->/Users/vcpkg/Monica/vcpkg/downloads/cmake-3.29.0-macos-universal.tar.gz
Extracting cmake...
The following packages will be built and installed:
    yoga:[email protected]
Detecting compiler hash for triplet x64-osx...
Compiler found: /Library/Developer/CommandLineTools/usr/bin/c++
Restored 0 package(s) from /Users/vcpkg/.cache/vcpkg/archives in 1.19 ms. Use --debug to see more details.
Installing 1/1 yoga:[email protected]...
Building yoga:[email protected]...
-- Downloading https://github.com/facebook/yoga/archive/v3.0.2.tar.gz -> facebook-yoga-v3.0.2.tar.gz...
-- Extracting source /Users/vcpkg/Monica/vcpkg/downloads/facebook-yoga-v3.0.2.tar.gz
-- Applying patch disable_tests.patch
-- Using source at /Users/vcpkg/Monica/vcpkg/buildtrees/yoga/src/v3.0.2-e6d37b705c.clean
-- Found external ninja('1.11.1').
-- Configuring x64-osx
-- Building x64-osx-dbg
-- Building x64-osx-rel
-- Installing: /Users/vcpkg/Monica/vcpkg/packages/yoga_x64-osx/share/yoga/copyright
-- Installing: /Users/vcpkg/Monica/vcpkg/packages/yoga_x64-osx/share/yoga/usage
-- Performing post-build validation
Stored binaries in 1 destinations in 263 ms.
Elapsed time to handle yoga:x64-osx: 13 s
yoga:x64-osx package ABI: 7d2aa6fc7222a0df302bf814f4071b0e60a5f39a7be4c07885ae0d3346a3532b
Total install time: 13 s
yoga provides CMake targets:

    find_package(yoga CONFIG REQUIRED)
    target_link_libraries(main PRIVATE yoga::yogacore)

from vcpkg.

xiaozhuai avatar xiaozhuai commented on June 16, 2024

@MonicaLiu0311 I guess this is related to the xcode version.
I'm on macOS 12.6.6 with Xcode 14.2.
I can success build yoga on another mac m3 with xcode 15.3

from vcpkg.

MonicaLiu0311 avatar MonicaLiu0311 commented on June 16, 2024

We have the Xcode command line tools installed on our machine instead of Xcode.

vcpkg@vcpkg-osx-2024-01-18-amd64 vcpkg % xcode-select -p
/Library/Developer/CommandLineTools
vcpkg@vcpkg-osx-2024-01-18-amd64 vcpkg % xcode-select --version
xcode-select version 2405.

from vcpkg.

github-actions avatar github-actions commented on June 16, 2024

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

from vcpkg.

MonicaLiu0311 avatar MonicaLiu0311 commented on June 16, 2024

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.