Build PARSERS module error

111 views
Skip to first unread message

lei wang

unread,
Nov 8, 2023, 9:18:47 PM11/8/23
to ProjectChrono
hello,everyone
I ran into problems installing PARSERS module again
I used buildURDF.bat and got the following error
CMake Error at D: / Program Files/CMake/share/CMake - 3.27 / Modules/FindPackageHandleStandardArgs. CMake: 230 (the message) :
Could NOT find TinyXML (missing: TinyXML_LIBRARY TinyXML_INCLUDE_DIR)
Call Stack (most recent call first):
D: / Program Files/CMake/share/CMake - 3.27 / Modules/FindPackageHandleStandardArgs. CMake: 600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindTinyXML.cmake:65 (find_package_handle_standard_args)
CMakeLists.txt:56 (find_package),

My environment is win11 and cmake3.27
regards,

Radu Serban

unread,
Nov 17, 2023, 6:58:56 AM11/17/23
to ProjectChrono

Hi Lei,

 

Sorry - I didn’t get a chance to follow up with you on this sooner.

 

OK, so you decided to take the reasonable route of dealing with one optional module at a time. That’s good.  Let’s then get you going with the URDF parser then.

 

First of all, please make sure you use the latest Chrono code from the ‘main’ branch of the GitHub repository.  Then, make sure you run the buildURDF.bat script from this latest Chrono code. 

 

I am quite confused by the error you report (TinyXML not found). This is because, the URDF dependency libraries that the buildURDF.bat script downloads, configures, and builds explicitly *disable* use of the TinyXML library, and instead downloads and uses TinyXML2 (if you look carefully in that script, you will notice that the urdfdom package from my own fork of that repository and not the original one; this is because I made some modifications related to using tinyxml2 in anticipation of those changes eventually being made in the upstream repository as well). 

 

You can also see that CMake configuration of the urdfdom package explicitly disables TinyXML support (“-DDISABLE_TINYXML_SUPPORT:BOOL=ON” at line 123).

 

Once you make sure you have the latest script, please follow the instructions listed in the comments at the top of buildURFD.bat.  Please capture *all* output generated when running that script (run it from a console and redirect the output) and provide here the resulting output as a text file.   Hopefully this will help shed some light on what’s going on.

 

--Radu

--
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/9ca08b2b-e908-4dc9-a418-44da727bb19cn%40googlegroups.com.

lei wang

unread,
Nov 26, 2023, 11:45:54 PM11/26/23
to ProjectChrono
Hi  Radu,
Thank you for your reply, it was really helpful, I have successfully solved all the problems of the build process
Now a new problem has arisen
About Demo, there is no detailed description on the official website, such as demo_VEH_CityBu and so on

—Lei

Reply all
Reply to author
Forward
0 new messages