Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicle module can't find this part of vehiclecosim #532

Closed
wyj1111kkk opened this issue Nov 30, 2024 · 2 comments
Closed

Vehicle module can't find this part of vehiclecosim #532

wyj1111kkk opened this issue Nov 30, 2024 · 2 comments

Comments

@wyj1111kkk
Copy link

Hi everyone! When I test template_project_vehicle_cosim inside chrono, it shows in cmake that the part vehiclecosim is not found. I have tried many times but still no solution, this problem has been bothering me for a long time, what is the reason for this?
E7297751ABDCFCDBCF6699E9FB026431

@rserban
Copy link
Member

rserban commented Nov 30, 2024

The reason is listed pretty clearly in the CMake output: your Chrono build was not configured with vehicle co-simulation support.
Go back to the Chrono CMake configuration and look carefully through the messages you get there.
The co-simulation support in Chrono::Vehicle requires MPI. If an MPI installation is not found, then co-simulation support is disabled.
Once you get MPI installed, reconfigure and rebuild Chrono. Make sure you see that related demos are being built (they have names starting with demo_VEH_Cosim_. After that, you should be able to correctly configure and build template_project_vehicle_cosim.

@wyj1111kkk
Copy link
Author

I see, thanks a lot, problem solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants