Davide, Could you please:
1. Indicate what *version* of Chrono you are using? There have been recent changes to the project configuration script. Tell us the commit you are at. Ideally, pull the very latest code in the main branch, so that we’re all looking at the same code. 2. I infer you are on Windows, but I don’t know for sure. As a general rule, always indicate the *OS and compiler* you are using. 3. Since you are trying to link to Chrono from an external project, it is important to know *how* Chrono was configured and built. Please indicate which modules were enabled (and are therefore available for find_package(Chrono…)) 4. I don’t follow some of the changes you made to the CMakeLists.txt provided as a sample with the Chrono distribution. There is *no* need for any of the extra stuff you added (which defeats the purpose of a project configuration script in the first place). In general, all you need to do in addition to what’s already in the sample CMakeLists is to specify any additional Chrono components you want/need. Best, --Radu From: [email protected] <[email protected]> On Behalf Of Davide Sent: Wednesday, November 29, 2023 5:29 PM To: ProjectChrono <[email protected]> Subject: [chrono] CMake Misconfiguration Hello, I tried to build the demo "demo_VEH_HMMWV", but the file .exe doesn't run at all. It gaves me the error "Chrono was not built with thrust support", so I downloaded it and then included the thrust library during Chrono configuration, but it seems that nothing has changed. Is there something missing in the CMake file? I attached it below. Thank you all in advance for your help! -- 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/4db3e188-b11a-4c2f-abbf-21d5af4e9d5cn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/4db3e188-b11a-4c2f-abbf-21d5af4e9d5cn%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/PH0PR06MB8237FC230CCF5BE05131AABEA783A%40PH0PR06MB8237.namprd06.prod.outlook.com.
