Anshul,
First of all, please do *not* post error messages and code snippets as images! It is very difficult to look through them and, at the end of the day, all of these are plain text which you can simply copy and paste in the body of your messages.
If I were to guess, you didn’t properly request the Chrono::Vehicle module in the CMakeLists.txt of your project in the find_package call (and that’s the one file you didn’t share). In any case, look at the chrono-projects repository on GitHub. This is a set of different tests and projects built on top of Chrono, all set up the same way as the sample template project distributed with Chrono. That repository includes programs demonstrating the use of different combinations of Chrono modules, including Chrono::Vehicle, in such an external project. Look for example at this CMakeLists script which is for a project based on one of the pre-built vehicle models in Chrono (not the HMMWV, but that’s a trivial change).
--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/e8390813-efe5-46cd-b939-4c7d79408efan%40googlegroups.com.