You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configure: cmake .. "-DCMAKE_EXE_LINKER_FLAGS=-s USE_GLFW=3" -DCMAKE_TOOLCHAIN_FILE=/home/rock/tools/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/home/rock/tools/emsdk/node/16.20.0_64bit/bin/node
-- Running vcpkg install
Detecting compiler hash for triplet x64-linux...
Detecting compiler hash for triplet wasm32-emscripten...
The following packages will be built and installed:
* egl-registry:wasm32-emscripten -> 2022-09-20
glad[core,extensions,gl-api-10,gl-api-11,gl-api-12,gl-api-13,gl-api-14,gl-api-15,gl-api-20,gl-api-21,gl-api-30,gl-api-31,gl-api-32,gl-api-33,gl-api-40,gl-api-41,loader]:wasm32-emscripten -> 0.1.36
glfw3:wasm32-emscripten -> 3.3.9
* opengl-registry:wasm32-emscripten -> 2022-09-29#1
stb:wasm32-emscripten -> 2023-04-11#1
* vcpkg-cmake:x64-linux -> 2023-05-04
* vcpkg-cmake-config:x64-linux -> 2022-02-06#1
Additional packages (*) will be modified to complete this operation.
Restored 5 package(s) from /root/.cache/vcpkg/archives in 32.4 ms. Use --debug to see more details.
Installing 1/7 vcpkg-cmake-config:x64-linux...
Elapsed time to handle vcpkg-cmake-config:x64-linux: 330 us
Installing 2/7 vcpkg-cmake:x64-linux...
Elapsed time to handle vcpkg-cmake:x64-linux: 216 us
Installing 3/7 egl-registry:wasm32-emscripten...
Elapsed time to handle egl-registry:wasm32-emscripten: 388 us
Installing 4/7 opengl-registry:wasm32-emscripten...
Elapsed time to handle opengl-registry:wasm32-emscripten: 556 us
Installing 5/7 glad:wasm32-emscripten...
Elapsed time to handle glad:wasm32-emscripten: 756 us
Installing 6/7 glfw3:wasm32-emscripten...
Building glfw3:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Using cached glfw-glfw-3.3.9.tar.gz.
-- Cleaning sources at /home/rock/vcpkg/buildtrees/glfw3/src/3.3.9-5e1d739809.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/rock/vcpkg/downloads/glfw-glfw-3.3.9.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/glfw3/src/3.3.9-5e1d739809.clean
GLFW3 currently requires the following libraries from the system package manager:
xinerama
xcursor
xorg
libglu1-mesa
pkg-config
These can be installed via brew install libxinerama-dev libxcursor-dev xorg-dev libglu1-mesa-dev pkg-config
-- Configuring wasm32-emscripten
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /home/rock/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v
Working Directory: /home/rock/vcpkg/buildtrees/glfw3/wasm32-emscripten-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
/home/rock/vcpkg/buildtrees/glfw3/config-wasm32-emscripten-dbg-CMakeCache.txt.log
/home/rock/vcpkg/buildtrees/glfw3/config-wasm32-emscripten-rel-CMakeCache.txt.log
/home/rock/vcpkg/buildtrees/glfw3/config-wasm32-emscripten-out.log
Call Stack (most recent call first):
/home/rock/project/threepp/wasm/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
ports/glfw3/portfile.cmake:40 (vcpkg_cmake_configure)
scripts/ports.cmake:170 (include)
error: building glfw3:wasm32-emscripten failed with: BUILD_FAILED
Elapsed time to handle glfw3:wasm32-emscripten: 857 ms
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+glfw3
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[glfw3]+Build+error+on+wasm32-emscripten&body=Copy+issue+body+from+%2Fhome%2Frock%2Fproject%2Fthreepp%2Fwasm%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at /home/rock/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed. See logs for more information:
/home/rock/project/threepp/wasm/vcpkg-manifest-install.log
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:6 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
emcmake: error: 'cmake .. "-DCMAKE_EXE_LINKER_FLAGS=-s USE_GLFW=3" -DCMAKE_TOOLCHAIN_FILE=/home/rock/tools/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/home/rock/tools/emsdk/node/16.20.0_64bit/bin/node' failed (returned 1)
Copy issue body from /home/rock/project/threepp/wasm/vcpkg_installed/vcpkg/issue_body.md
emcmake cmake .. -DCMAKE_EXE_LINKER_FLAGS="-s USE_GLFW=3"
here is out.log
compile
mycmake
The text was updated successfully, but these errors were encountered: