最后一步提示运行错误

最后一步提示
/usr/bin/ld: CMakeFiles/ipopt_test.dir/main.cpp.o: in function void CppAD::put_check_for_nan(CppAD::vector const&, std::__cxx11::basic_string, std::allocator >&)': main.cpp:(.text._ZN5CppAD17put_check_for_nanIdEEvRKNS_6vectorIT_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN5CppAD17put_check_for_nanIdEEvRKNS_6vectorIT_EERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4f): undefined reference to CppAD::local::temp_file'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ipopt_test.dir/build.make:84:ipopt_test] 错误 1
make[1]: *** [CMakeFiles/Makefile2:76:CMakeFiles/ipopt_test.dir/all] 错误 2
make: *** [Makefile:84:all] 错误 2