Hi Karin, Currently, DEM-Engine is not provided as a Chrono module, but rather a stand-alone library. As such, you will not be able to enable its usage through find_package. Only actual modules of the Chrono package can be requested as components in a call to find_package. Instead, you will need to link into your library/executable both the Chrono libraries *and* the DEM-E library.
--Radu From: [email protected] <[email protected]> On Behalf Of Karin Sugi Sent: Monday, November 6, 2023 9:18 AM To: ProjectChrono <[email protected]> Subject: [chrono] How can i include thrdparty modules in chrono? Hello all, I wander how can i include thirdparty modules such as DEM-Engine in chrono. When I tried to build demo script of DEM-Engine, it returns an error saying included modules doesn't exist. I think i should write something related to the DEM in find_package() of CMakeLists as same as using other chrono modlues, but what? My find_package() command is following. I added "Thirdparty" or "DEM-Engine" to COMPONENTS, but it doesn't work. Do you have any idea? find_package(Chrono COMPONENTS Irrlicht Vehicle OPTIONAL_COMPONENTS PardisoMKL CONFIG) Thanks in advance, Karin -- 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/d87493c1-5d07-451e-9219-d1e606a23e1cn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/d87493c1-5d07-451e-9219-d1e606a23e1cn%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/PH0PR06MB8237D099BFFFD88D7A6778D0A7AAA%40PH0PR06MB8237.namprd06.prod.outlook.com.
