Kirill, thanks for pointing this out. I pushed a commit that I assume will fix 
this issue. Visual Studio did not flag this as a problem (also why this slipped 
through the cracks until now).

Please let me know if the latest code in the 'main' branch builds past this 
point and also if you see similar issues in other Chrono modules (I only fixed 
the problem in the core module).

--Radu



________________________________
From: [email protected] <[email protected]> on behalf 
of Kirill Rumiantsev <[email protected]>
Sent: Saturday, December 17, 2022, 2:11 PM
To: ProjectChrono <[email protected]>
Subject: [chrono] Build Error

Hi,

I am trying to build Chrono from the source
Windows 11
with C:\msys64\ucrt64\bin\g++.exe compiler

I am getting the following errors:

[build] C:/Users/fundu/chrono/src/chrono/core/ChCoordsys.cpp:17:32: error: 
external linkage required for symbol 'chrono::CSYSNULL' because of 'dllexport' 
attribute
[build]    17 | ChApi const ChCoordsys<double> CSYSNULL(ChVector<>(0, 0, 0), 
ChQuaternion<>(0, 0, 0, 0));
[build]       |                                ^~~~~~~~
[build] C:/Users/fundu/chrono/src/chrono/core/ChCoordsys.cpp:18:32: error: 
external linkage required for symbol 'chrono::CSYSNORM' because of 'dllexport' 
attribute
[build]    18 | ChApi const ChCoordsys<double> CSYSNORM(ChVector<>(0, 0, 0), 
ChQuaternion<>(1, 0, 0, 0));
[build]       |                                ^~~~~~~~

Thank you, Kirill.

--
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/0b730598-da9b-4892-a5d7-66543c2c86c1n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/0b730598-da9b-4892-a5d7-66543c2c86c1n%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/PH0PR06MB82379B8A14DD2B115090B1B4A7E79%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to