CHRONO_CXX_FLAGS (Compiler flags): /DWIN32;/D_WINDOWS;/W3;/GR;/EHsc;-openmp;/arch:AVX2;/arch:AVX;/Zc:__cplusplus;/wd4275
CHRONO_C_FLAGS (Compiler flags): /DWIN32;/D_WINDOWS;/W3;-openmp;/arch:AVX2;/arch:AVX;;/wd4275
I suspect the problem is that you are setting the compiler flags listed in the variable CHRONO_CXX_FLAGS using obsolete CMake syntax. Take a look at: https://github.com/projectchrono/chrono/blob/develop/CHANGELOG.md#changed-cmake-project-configuration-script and make sure your CMakeLists.txt uses target_compile_options to set the C++ flags for your project, just like it’s done in the latest version of the code for the template_project example.
If this does not fix your problem, please provide more details:
And attach the CMakeLists.txt file for your project.
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/de72a4f4-bf93-4026-a788-9991ddb88857n%40googlegroups.com.