TorBorve / mpc_local_planner

A nonlinear MPC used to control an autonomous car.
MIT License
41 stars 9 forks source link

Compile failed :( #4

Closed alhaddad-m closed 1 year ago

alhaddad-m commented 1 year ago

Hello and thanks of this great work! Actually I am working with Acados and ROS so I can learn a lot from your project. Unfortauntly I couldn't build the project. It gives me the following error.

[ 11%] Generating /home/muhammad/mpc_ws/src/mpc_local_planner/build/point_stab/c_generated_code/main_point_stab.c
[ 11%] Generating /home/muhammad/mpc_ws/src/mpc_local_planner/build/path_tracking/c_generated_code/main_path_tracking.c
/bin/sh: 1: /build/env/bin/python3: not found
/bin/sh: 1: /build/env/bin/python3: not found
CMakeFiles/point_stab_lib.dir/build.make:75: recipe for target '/home/muhammad/mpc_ws/src/mpc_local_planner/build/point_stab/c_generated_code/main_point_stab.c' failed
make[2]: *** [/home/muhammad/mpc_ws/src/mpc_local_planner/build/point_stab/c_generated_code/main_point_stab.c] Error 127
make[2]: *** [/home/muhammad/mpc_ws/src/mpc_local_planner/build/path_tracking/c_generated_code/main_path_tracking.c] Error 127
CMakeFiles/path_tracking_lib.dir/build.make:75: recipe for target '/home/muhammad/mpc_ws/src/mpc_local_planner/build/path_tracking/c_generated_code/main_path_tracking.c' failed
CMakeFiles/Makefile2:1402: recipe for target 'CMakeFiles/point_stab_lib.dir/all' failed
CMakeFiles/Makefile2:1376: recipe for target 'CMakeFiles/path_tracking_lib.dir/all' failed
make[1]: *** [CMakeFiles/point_stab_lib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/path_tracking_lib.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2 

Could you tell me what is the wrong please? thanks in advance.

alhaddad-m commented 1 year ago

I have just restarted the machine and the package built.