Assuming the CMakeLists.txt file you attached to your first message is what you are trying to use, that is incomplete. You seem to be using the CMakeLists.txt provided as a sample with the template_project in the Chrono distribution, yet you are trying to use an additional module in Chrono (namely the vehicle module). As indicated in the comments at the top of that file, you must modify that CMake script to request any additional Chrono modules that you want to use in the call to find_package(Chrono…). In your case, in addition to the “Irrlicht” package, you must also request “Vehicle”.
Look at how various projects are set up in some other public repositories, such as chrono-tutorial and chrono-projects. The projects there (including some that use Chrono::Vehicle) are all set up as “3rd party” projects, using a CMakeLists.txt like the one in template_projects, but modified appropriately.
--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/718e2011-d299-409b-b799-dabb19a13f37n%40googlegroups.com.