Hi Radu, I am sorry for the late response. This is a good news/bad news scenario.
First the bad news: Thanks for your fix. I tried that, but then started seeing errors related to other pychrono examples. I pulled the project again and apart from the ChModuleRos.i file there were no other *diffs*. So I couldn't fix it that way. I tried it on a different Linux machine, and couldn't replicate the error. Good news: I cleaned up everything. Fresh installed everything, and viola everything works! I am so sorry I couldn't get to the root of the cause of the issue.. but rinse/repeat seemed to have worked yet again. Cheers, sal On Tuesday, October 21, 2025 at 12:39:39 AM UTC-6 Radu Serban wrote: > Sal, I don’t have a ROS installation available to test this, but could you > please try to modify the file src/chrono_swig/interface/ros/ChModuleROS.i by > adding the following (at line 184): > > > > %import(module = "pychrono.core") > "chrono_swig/interface/core/ChClassFactory.i" > > %import(module = "pychrono.core") "chrono_swig/interface/core/ChSystem.i" > > %import(module = "pychrono.core") "chrono_swig/interface/core/ChBody.i" > > %import(module = "pychrono.core") "chrono_swig/interface/core/ChFrame.i" > > %import(module = "pychrono.core") > "chrono_swig/interface/core/ChBodyFrame.i" > > *%import(module = "pychrono.core") > "chrono_swig/interface/core/ChContactMaterial.i"* > > > > then reconfigure and rebuild? > > > > --Radu > > > > *From:* [email protected] <[email protected]> *On > Behalf Of *Salman Husain > *Sent:* Tuesday, October 21, 2025 5:54 AM > *To:* ProjectChrono <[email protected]> > *Subject:* [chrono] Re: Building Chrono failed > > > > Hi Chen, > > Did you ever resolve this issue? I have SWIG 4.2.0 and seeing similar > errors when building on Ubuntu 24.04. Some screenshots are attached to > compare notes. > > The project builds properly when the python module isn't checked. > > > > On Wednesday, April 23, 2025 at 3:50:22 AM UTC-6 ychen_441 wrote: > > Lovely colleagues, > > > > I was recently setting up gym_chrono on my VMware-based Ubuntu 20.04. > According to the documentation, I have downloaded realted packages and > configured required modules (on > https://github.com/projectchrono/gym-chrono > <https://urldefense.com/v3/__https:/github.com/projectchrono/gym-chrono__;!!Mak6IKo!M7F4JbsUdvPoWqgy-MeBCUKbJaKAkxgJ49XS7m6M3J7NfLAzfWSvX0GFjk3petf7_3ICDQVo3j34uzVthSux8iBxVw$>). > > > > However, errors occured during Chrono building process, and I thought that > might be something due to SWIG. However, I checked my SWIG version, it is > installed and updated by conda, and therefore I have no idea what is going > on now. Hope somebody will have some advice on this situation. Appreciates. > > > > I have attached my configuration (logs.txt) and errors (.txt). > > > > Again, appreciates for your help. > > > > Chen > > > > > > -- > 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 visit > https://groups.google.com/d/msgid/projectchrono/14247f44-9458-4c47-9596-e9943f6bd5afn%40googlegroups.com > > <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/14247f44-9458-4c47-9596-e9943f6bd5afn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!M7F4JbsUdvPoWqgy-MeBCUKbJaKAkxgJ49XS7m6M3J7NfLAzfWSvX0GFjk3petf7_3ICDQVo3j34uzVthSsBdgM_Cg$> > . > -- 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 visit https://groups.google.com/d/msgid/projectchrono/24f1d87b-449c-45fa-8efe-287b2dfd151dn%40googlegroups.com.
