I run the command"cd build"--"cmake .."--"make";but I got errors when I run the third command.As follows:
/home/freexile/Model-Predictive-Control/src/MPC.cpp:2:27: fatal error: cppad/cppad.hpp: 没有那个文件或目录
#include <cppad/cppad.hpp>
^
compilation terminated.
CMakeFiles/mpc.dir/build.make:62: recipe for target 'CMakeFiles/mpc.dir/src/MPC.cpp.o' failed
make[2]: *** [CMakeFiles/mpc.dir/src/MPC.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mpc.dir/all' failed
make[1]: *** [CMakeFiles/mpc.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
could you help me solve this problem?
I run the command"cd build"--"cmake .."--"make";but I got errors when I run the third command.As follows:
/home/freexile/Model-Predictive-Control/src/MPC.cpp:2:27: fatal error: cppad/cppad.hpp: 没有那个文件或目录
#include <cppad/cppad.hpp>
^
compilation terminated.
CMakeFiles/mpc.dir/build.make:62: recipe for target 'CMakeFiles/mpc.dir/src/MPC.cpp.o' failed
make[2]: *** [CMakeFiles/mpc.dir/src/MPC.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mpc.dir/all' failed
make[1]: *** [CMakeFiles/mpc.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
could you help me solve this problem?