Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation guide does not work for macOS since introducing vcpkg #1194

Open
anton-trunov opened this issue Oct 25, 2022 · 0 comments
Open

Comments

@anton-trunov
Copy link
Contributor

anton-trunov commented Oct 25, 2022

The installation instructions fail at

$VCPKG_ROOT/vcpkg install --triplet x64-linux-dynamic

The error:

$VCPKG_ROOT/vcpkg install --triplet x64-linux-dynamic
Detecting compiler hash for triplet x64-linux-dynamic...
error: while detecting compiler information:
The log file content at "/Users/anton/vcpkg/buildtrees/detect_compiler/stdout-x64-linux-dynamic.log" is:
-- Found external ninja('1.11.1').
-- Configuring x64-linux-dynamic-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):
    Command failed: /usr/local/Cellar/cmake/3.24.2/bin/cmake /Users/anton/vcpkg/scripts/detect_compiler -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/anton/vcpkg/packages/detect_compiler_x64-linux-dynamic -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=ON -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/anton/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux-dynamic -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/Users/anton/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/Users/anton/vcpkg -DZ_VCPKG_ROOT_DIR=/Users/anton/vcpkg -D_VCPKG_INSTALLED_DIR=/Users/anton/zilliqa/scilla/vcpkg_installed -DVCPKG_MANIFEST_INSTALL=OFF
    Working Directory: /Users/anton/vcpkg/buildtrees/detect_compiler/x64-linux-dynamic-rel
    Error code: 1
    See logs for more information:
      /Users/anton/vcpkg/buildtrees/detect_compiler/config-x64-linux-dynamic-rel-CMakeCache.txt.log
      /Users/anton/vcpkg/buildtrees/detect_compiler/config-x64-linux-dynamic-rel-out.log
      /Users/anton/vcpkg/buildtrees/detect_compiler/config-x64-linux-dynamic-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:338 (vcpkg_execute_required_process)
  scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake)
  scripts/ports.cmake:147 (include)

Related PR: #1203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant