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


From: [email protected] <[email protected]> On Behalf 
Of lei wang
Sent: Thursday, November 9, 2023 3:19 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] Build PARSERS module error

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,

--
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/9ca08b2b-e908-4dc9-a418-44da727bb19cn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/9ca08b2b-e908-4dc9-a418-44da727bb19cn%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/PH0PR06MB8237C8C811EC3F0192A35881A7B7A%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to