Use YAML_parser on a project calling chrono

97 views
Skip to first unread message

alvaro diaz

unread,
Sep 10, 2025, 1:32:36 PMSep 10
to ProjectChrono
In short: after installation, I don't see the folder chrono_thirdparty/yaml-cpp.

I installed chrono on windows 11 via cloning the main branch on github (version 9.0.1 doesn't have YAML parsers). Within Chrono solution, the file demo_YAML_test, works both on the build and the install and the problem comes when trying to setup a project that uses Chrono. I am following the instruction from the documentation (Link). 

Apparently, in my install folder the directory 'chrono_thirdparty/yaml-cpp/include/yaml-cpp/yaml.h' does not exist. I do have the folder chrono_thirdparty. Can i get some help on this?

Thank you in advance for the help.

Kind regards,

Alvaro

alvaro diaz

unread,
Sep 10, 2025, 1:59:02 PMSep 10
to ProjectChrono
Posting @MikeTaylor private response in case it is helpful for anybody:

"It will be all good, hopefully you got some good meds!"

Radu Serban

unread,
Sep 11, 2025, 12:38:05 PMSep 11
to ProjectChrono

Hi Alvaro,

 

The YAML parser is still under development, and I had no chance to update the Chrono configuration script to make it available in external projects.

I have now pushed a set of necessary fixes to the main branch.

When you get a chance, please pull the latest code, rebuild, and reinstall Chrono and see if that fixes your problem.  Note that I only tested this on Windows so far.

 

--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 visit https://groups.google.com/d/msgid/projectchrono/bec1f18f-a02d-4b5d-8351-8484bf4f20c6n%40googlegroups.com.

alvaro diaz

unread,
Sep 12, 2025, 1:26:47 PM (14 days ago) Sep 12
to ProjectChrono
Hello Radu,

Thank you for the updates. I was able to build and install chrono and call the libraries from my own project. A few comments:
  1. I still needed to copy for both the Chrono build and my project build Irrlicht.dll into the appropriate folders.
  2. With the push from (9/11/2025) the examples executables are not copied into the bin folder when installing (the dynamic libraries yes)
Thank you for the help, I can now start working on it.

Best,

Alvaro

Radu Serban

unread,
Sep 15, 2025, 8:35:17 AM (11 days ago) Sep 15
to ProjectChrono

Hi Alvaro,

 

  1. That is by design.  It is the user’s responsibility to ensure that dependency DLLs are found (either by adding their location to the path environment variable or else by manually copying them next to their executables).  We decided that a Chrono installation should not bundle all dependency DLLs, first because some dependency libraries (unlike Irrlicht) come with very many DLLs and second because this can lead to issues with existing local installations of those libraries. 

  2. I cannot reproduce this issue. Executables of the demos install fine in all my tests.  You may want to double check that building demos is enabled when you configure Chrono or for any other changes you may have made locally.

Dario Mangoni

unread,
Sep 15, 2025, 9:04:59 AM (11 days ago) Sep 15
to ProjectChrono
About missing executables: basically the only executables that we ship are demos. And demos are now copied in the install folder only when building the Release version.
Obviously they would still show up in the build folders, for any configuration, no matter if Release or Debug or whatsoever.

Dario

alvaro diaz

unread,
Sep 15, 2025, 1:55:03 PM (11 days ago) Sep 15
to ProjectChrono
Thank you Radu and Dario for the response.

It is good to know that is the user responsibility to copy the external dll. Also I built and installed as RelwithDebug so that explains why i was not seeing the demos executables. I could work with them through the build in any case. 

Thank again

Reply all
Reply to author
Forward
0 new messages