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

Compilation Error on Melodic #14

Open
ngjermundshaug opened this issue Jan 22, 2020 · 5 comments
Open

Compilation Error on Melodic #14

ngjermundshaug opened this issue Jan 22, 2020 · 5 comments

Comments

@ngjermundshaug
Copy link

/home/xxxx/catkin_ws/src/hypharos_minicar/src/MPC.cpp:19:10: fatal error: cppad/cppad.hpp: No such file or directory
 #include <cppad/cppad.hpp>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
hypharos_minicar/CMakeFiles/MPC_Node.dir/build.make:62: recipe for target 'hypharos_minicar/CMakeFiles/MPC_Node.dir/src/MPC.cpp.o' failed
make[2]: *** [hypharos_minicar/CMakeFiles/MPC_Node.dir/src/MPC.cpp.o] Error 1
CMakeFiles/Makefile2:3954: recipe for target 'hypharos_minicar/CMakeFiles/MPC_Node.dir/all' failed
make[1]: *** [hypharos_minicar/CMakeFiles/MPC_Node.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

@haochihlin
Copy link
Contributor

haochihlin commented Jan 25, 2020

Hi @ngjermundshaug

Sorry, I don't have an 18.04 environment to test the compilation on Melodic version.
However, based on the error msg, I think it was caused by the installation of Ipopt.
Did you install the ipopt properly?

@rahuldeo2047
Copy link

Could this be solved?

@ngjermundshaug
Copy link
Author

Hi

I haven't looked any more at this, sorry.

@soorajanilkumar
Copy link

Hi
This error is due to missing dependency of cppad lib in your system.
A simple
sudo apt install cppad
should do the trick

@rtkartista
Copy link

Hi
This error is due to missing dependency of cppad lib in your system.
A simple
sudo apt install cppad
should do the trick

the issue was not solved after using cppad install cmd

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

5 participants