Home › Forum › SOFA › Getting Started › Eigen CMake Error
Tagged: 64_bits, SOFA_1912, Windows_10
- This topic has 5 replies, 5 voices, and was last updated 3 years, 10 months ago by Guillaume.
-
AuthorPosts
-
2 June 2020 at 19:24 #16526EstefaniaBlocked
Hi, I am trying to finish the installation. When I use CMake to configure I get this error all the time:
Fetching subdirectory eigen3
Pulling …
CMake Error at SofaKernel/SofaFramework/SofaMacros.cmake:244 (message):
Failed to add external repository eigen3.See logs in
C:/Users/Teffy/SOFA/build/external_directories/fetched/eigen3/logs.txt
Call Stack (most recent call first):
SofaKernel/SofaFramework/SofaMacros.cmake:261 (sofa_add_generic_external)
extlibs/CMakeLists.txt:15 (sofa_add_subdirectory_external)I am installing SOFA v19.12
Could you please help me solve this error?
Thank you
4 June 2020 at 17:50 #16537GuillaumeKeymasterWhen Eigen3 auto-fetch fails, you can either:
– check the error in C:/Users/Teffy/SOFA/build/external_directories/fetched/eigen3/logs.txt and fix it (or post it here to get help)
– remove completely C:/Users/Teffy/SOFA/build/external_directories/fetched/eigen3 and retry
– set SOFA_FETCH_EIGEN3=ON in CMake GUI and retryTell us if one of these 3 solutions worked for you.
5 June 2020 at 19:29 #16568EstefaniaBlockedHi Guollaume,
Thank you for your answer. I’ve tried solution 2 and 3. Although, I am still getting the same error. I am going to post here the file then:
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such asproject(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a “project(Project)” command on the first
line.This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is MSVC 19.26.28805.0 -- The CXX compiler identification is MSVC 19.26.28805.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.26.28801/bin/Hostx64/x64/cl.exe - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.17/Modules/ExternalProject.cmake:2454 (message): error: could not find git for clone of eigen Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.17/Modules/ExternalProject.cmake:3267 (_ep_add_download_command) CMakeLists.txt:4 (ExternalProject_Add) -- Configuring incomplete, errors occurred! See also "C:/Users/Teffy/SOFA/build/external_directories/fetched/eigen3/CMakeFiles/CMakeOutput.log". Microsoft (R) Build Engine versi¢n 16.6.0+5ff7b0c9e para .NET Framework Copyright (C) Microsoft Corporation. Todos los derechos reservados. MSBUILD : error MSB1009: El archivo de proyecto no existe. Modificador: ALL_BUILD.vcxproj
Thanks!
11 June 2020 at 16:27 #16594HugoKeymaster25 November 2020 at 02:58 #17798A_JayBlocked– I also have a similar problem with SofaPython3. The error When compiling says:
SofaTest: optional dependency SofaPython found, Python_test will be built
Fetching subdirectory SofaPython3
Pulling …
CMake Error at SofaKernel/SofaFramework/SofaMacrosConfigure.cmake:249 (message):
Failed to add external repository SofaPython3.See logs in
C:/Users/User/SOFA/Build/Master/external_directories/fetched/SofaPython3/logs.txt-In the logs file it says:
This warning is for project developers. Use -Wno-dev to suppress it.
— Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
CMake Error at C:/Program Files/CMake/share/cmake-3.19/Modules/ExternalProject.cmake:2542 (message):
error: could not find git for clone of SofaPython3
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.19/Modules/ExternalProject.cmake:3430 (_ep_add_download_command)
CMakeLists.txt:4 (ExternalProject_Add)-Can someone help me what to do?
5 February 2021 at 11:47 #18529GuillaumeKeymasterHi @estefania, sorry for the VERY late answer. Do you still have this issue?
Hi @ajay, you need to install Git on your computer. See https://gitforwindows.org/
-
AuthorPosts
- You must be logged in to reply to this topic.