udacity / CarND-MPC-Project

CarND Term 2 Model Predictive Control (MPC) Project
MIT License
280 stars 1.2k forks source link

Compiling Error - lipopt #27

Closed Rdelux closed 6 years ago

Rdelux commented 6 years ago

Hello,

I experienced this error when I compiled:

Scanning dependencies of target mpc
[ 33%] Building CXX object CMakeFiles/mpc.dir/src/MPC.cpp.o
[ 66%] Building CXX object CMakeFiles/mpc.dir/src/main.cpp.o
[100%] Linking CXX executable mpc
ld: warning: directory not found for option '-L/usr/local/Cellar/libuv/1.12.0/lib'
**ld: library not found for -lipopt**
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [mpc] Error 1
make[1]: *** [CMakeFiles/mpc.dir/all] Error 2
make: *** [all] Error 2

I think the issue is with lipopt. What's the cause of this issue? Is it related to ipopt and Cppad?

Thank you