Hi Radu,
I apologize for the delay. I get the last version of chrono as you 
mentioned and I am using Microsoft 10 and Visual studio 2022 as compiler. I 
modified the txt file following your suggestions and now it is fine. 
However, when I run the file .exe it gives me the following error: 

"TIR File not found [../data/vehicle/hmmwv/tire/HMMWV_Pac02Tire.tir]"

That file exists in that folder, so I'm not understanding the reason of 
this error. Could you help me?
Thank you in advance!

Davide

Il giorno mercoledì 29 novembre 2023 alle 19:09:17 UTC+1 Radu Serban ha 
scritto:

> 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].
> 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/46967dab-3a9c-498a-88af-32f6cccb64a3n%40googlegroups.com.

Reply via email to