ipc-sim / IPC

Incremental Potential Contact (IPC) is for robust and accurate time stepping of nonlinear elastodynamics. IPC guarantees intersection- and inversion-free trajectories regardless of materials, time-step sizes, velocities, or deformation severity.
https://ipc-sim.github.io/
MIT License
558 stars 73 forks source link

Build step for glfw failed: 1 #30

Closed ShaYito closed 2 years ago

ShaYito commented 2 years ago

I met this error where glfw failed to download. How can I solve this?

shayito@KingBob MINGW64 /e/_Computer_Graphics/_simulation/IPC-master/build
$ cmake -DCMAKE_BUILD_TYPE=Release -DIPC_WITH_CHOLMOD=OFF ..
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
-- We are on a Windows system
-- Embedded is OFF
-- Printing is ON
-- Profiling is ON
-- User interrupt is ON
-- Floats are OFF
-- Long integers (64bit) are OFF
-- Code coverage is OFF
-- MKL Pardiso: ON
-- Floats are OFF
-- Long integers (64bit) are OFF
-- MSVC -> forcing use of dynamically-linked runtime.
-- Creating target: igl::core (igl)
-- Creating target: igl::opengl (igl_opengl)
-- Creating target: igl::opengl_glfw (igl_opengl_glfw)
CMake Error at cmake/DownloadProject.cmake:179 (message):
  Build step for glfw failed: 1
Call Stack (most recent call first):
  external/libigl/cmake/LibiglDownloadExternal.cmake:25 (download_project)
  external/libigl/cmake/LibiglDownloadExternal.cmake:37 (igl_download_project_aux)
  external/libigl/cmake/LibiglDownloadExternal.cmake:95 (igl_download_project)
  external/libigl/cmake/libigl.cmake:375 (igl_download_glfw)
  external/libigl/CMakeLists.txt:59 (include)

-- Configuring incomplete, errors occurred!
See also "E:/_Computer_Graphics/_simulation/IPC-master/build/CMakeFiles/CMakeOutput.log".
See also "E:/_Computer_Graphics/_simulation/IPC-master/build/CMakeFiles/CMakeError.log".