Mohammad,
Could you please confirm the compiler and compiler version you are using? Not sure if it is GCC-11.2, or if that is part of your eigen installation name.
Also, when configuring chrono-projects with CMake enable CMAKE_VERBOSE_MAKEFILE and then post here the full compile command where the error occurs.
Thanks,
Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/302ddfff-79a1-4e67-ab00-6793ad88f61en%40googlegroups.com.
Mohammad,
Please make sure you pull the latest Chrono code in the ‘main’ branch of the repository, then reconfigure with CMake and rebuild. I had fixed this issue a while back, but you are likely using an older version of the Chrono code.
To make sure you have the fix, once you reconfigured Chrono with CMake, look at the file cmake/ChronoConfig.cmake in your *build* tree. Starting at line 71, it should contain something like:
# Collect compiler and linker flags in CMake lists!
string(REGEX REPLACE "[ \t]+" ";" CHRONO_CXX_FLAGS " -pthread -fopenmp -march=native")
string(REGEX REPLACE "[ \t]+" ";" CHRONO_C_FLAGS " -pthread -fopenmp -march=native")
string(REGEX REPLACE "[ \t]+" ";" CHRONO_LINKER_FLAGS "")
--Radu
To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/b41cd00e-1ec9-4c06-8ab0-543faf2a18ban%40googlegroups.com.