Note: Before the errors I see this output, [100%] Building CXX object src/demos/ros/CMakeFiles/demo_ROS_custom_handler.dir/demo_ROS_custom_handler.cpp.o [100%] Linking CXX executable ../../../bin/demo_ROS_custom_handler [100%] Built target demo_ROS_custom_handler
On Tuesday, March 25, 2025 at 2:36:07 PM UTC-6 Salman Husain wrote: > Hi Radu, > > Thanks for the quick follow up, > I appreciate your patience. > > However, now I am having some issues with the ROS2 modules :(. > > I am cloned the repo from scratch and built it in a clean new folder. > > Cheers, > Sal > > On Tuesday, March 25, 2025 at 1:05:12 PM UTC-6 Radu Serban wrote: > >> You need to clean the solution and rebuild. This happens sometimes with >> SWIG-generated stuff when there’s an API change (which happened a day or >> two ago with the function GetSimulationRTF). >> >> --Radu >> >> >> >> *From:* [email protected] <[email protected]> *On >> Behalf Of *Salman Husain >> *Sent:* Tuesday, March 25, 2025 7:57 PM >> *To:* ProjectChrono <[email protected]> >> *Subject:* [chrono] Erros when making the project >> >> >> >> Hi, >> >> I think I am facing errors building the project when SWIG is enabled. I >> wasn't having this when I built the project with Python not enabled. Note, >> the prject was building just fine till ~last week with Python adnSwig etc.. >> Here is the error message, >> >> >> >> [ 99%] Built target demo_ROBOT_Industrial >> /home/ubuntu/project-chrono/chrono-build/chrono_python/ChModuleCore_pythonPYTHON_wrap.cxx: >> >> In function ?PyObject* _wrap_ChVisualSystem_GetSimulationRTF(PyObject*, >> PyObject*)?: >> /home/ubuntu/project-chrono/chrono-build/chrono_python/ChModuleCore_pythonPYTHON_wrap.cxx:196300:80: >> >> error: no matching function for call to >> ?chrono::ChVisualSystem::GetSimulationRTF() const? >> 196300 | result = (double)((chrono::ChVisualSystem const >> *)arg1)->GetSimulationRTF(); >> | >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ >> In file included from >> /home/ubuntu/project-chrono/chrono-build/chrono_python/ChModuleCore_pythonPYTHON_wrap.cxx:4759: >> /home/ubuntu/project-chrono/chrono-source/chrono/src/chrono/assets/ChVisualSystem.h:169:12: >> >> note: candidate: ?double chrono::ChVisualSystem::GetSimulationRTF(unsigned >> int) const? >> 169 | double GetSimulationRTF(unsigned int i) const; >> | ^~~~~~~~~~~~~~~~ >> /home/ubuntu/project-chrono/chrono-source/chrono/src/chrono/assets/ChVisualSystem.h:169:12: >> >> note: candidate expects 1 argument, 0 provided >> make[2]: *** >> [src/chrono_swig/chrono_python/CMakeFiles/core.dir/build.make:76: >> src/chrono_swig/chrono_python/CMakeFiles/core.dir/__/__/__/chrono_python/ChModuleCore_pythonPYTHON_wrap.cxx.o] >> >> Error 1 >> make[1]: *** [CMakeFiles/Makefile2:939: >> src/chrono_swig/chrono_python/CMakeFiles/core.dir/all] Error 2 >> make: *** [Makefile:156: all] Error 2 >> >> -- >> 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/2b88e569-342b-4c79-a87a-e15119e68742n%40googlegroups.com >> >> <https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/2b88e569-342b-4c79-a87a-e15119e68742n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!MitYQM9ufXxhF-ccquBCICEN8Esi9zkFYsOScpal9Kd0QfLON3vjRIBRo558krjIq-U0P-YtV29Rb0mNwUAUcRxvsA$> >> . >> > -- 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/b856ff14-8140-47cb-992f-3bcea23542d3n%40googlegroups.com.
