Make Error after generating Makefile with CMake choosing "Unix Makefiles" generator #3696
-
Hi, I am trying to install SOFA 22.06 from sources on a Windows 10 computer and I managed to configure and generate the Makefile using CMake (specifying -G "Unix Makefiles" in the cmake command), but I am now encountering an error when running the make command.
If someone has an idea of what could be causing this problem and on how to solve it, it will be very helpful. Thank you very much for your help, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
GCC toolchains are not really supported on WIndows. CMake files usually assume you that if you are on Windows, then you use Visual Studio/MSVC (hence the fact that gcc does not recognize specific msvc compilation flags like |
Beta Was this translation helpful? Give feedback.
GCC toolchains are not really supported on WIndows. CMake files usually assume you that if you are on Windows, then you use Visual Studio/MSVC (hence the fact that gcc does not recognize specific msvc compilation flags like
/wd4251
etc).Though there is an experimental support for Visual Studio/clang toolchain (not tested at all)