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

From: [email protected] <[email protected]> On Behalf 
Of Mohammad Wasfi
Sent: Sunday, 30 October 2022 01:34
To: ProjectChrono <[email protected]>
Subject: Re: [chrono] Build Issue

Hi Ruda,

Yes, I am using GCC/11.2.0.

I have enabled the CMAKE_VERBOSE_MAKEFILE and attached is the error I see on 
the screen. Not sure if that is what you meant by "the full command" but I just 
took a screen shoot of the entire screen.

Thank you,
On Saturday, October 29, 2022 at 6:49:33 AM UTC-7 Radu Serban wrote:
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

From: [email protected] <[email protected]> On Behalf Of 
Mohammad Wasfi
Sent: Friday, 28 October 2022 18:29
To: ProjectChrono <[email protected]>
Subject: [chrono] Build Issue

Hello,

I am trying to link the chrono-projects branch to Chrono and I am able to 
configure and generate with any problems. However, I get the following error in 
the attached picture when I try to make it. I am using (cuda/11.6.0, and 
eigen/3.4.0-gcc-11.2.0).


Thank you,

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/302ddfff-79a1-4e67-ab00-6793ad88f61en%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/302ddfff-79a1-4e67-ab00-6793ad88f61en%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/b41cd00e-1ec9-4c06-8ab0-543faf2a18ban%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/b41cd00e-1ec9-4c06-8ab0-543faf2a18ban%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/PH0PR06MB82373CA4662A9AFED545076DA7349%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to