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

当执行最后一步的make -j8时,报错 #3

Open
hjw08 opened this issue Dec 19, 2023 · 3 comments
Open

当执行最后一步的make -j8时,报错 #3

hjw08 opened this issue Dec 19, 2023 · 3 comments

Comments

@hjw08
Copy link

hjw08 commented Dec 19, 2023

其余的环境均配置完毕,不知道为什么到最后make -j8时就报这些错,我认为是ADOLC的原因,但不知道如何解决,请问您遇到过这个问题吗?

[ 83%] Built target absl_statusor
[ 84%] Built target absl_flags
[ 85%] Built target absl_log_flags
[ 85%] Built target absl_flags_usage_internal
[ 86%] Built target absl_flags_usage
[ 87%] Built target absl_flags_parse
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/cos_theta_ipopt_interface.cc.o: in function apollo::planning::CosThetaIpoptInterface::eval_jac_g(int, double const*, bool, int, int, int*, int*, double*)': /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:257: undefined reference to sparse_jac'
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/cos_theta_ipopt_interface.cc.o: in function apollo::planning::CosThetaIpoptInterface::eval_h(int, double const*, bool, double, int, double const*, bool, int, int*, int*, double*)': /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:306: undefined reference to sparse_hess'
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/cos_theta_ipopt_interface.cc.o: in function apollo::planning::CosThetaIpoptInterface::generate_tapes(int, int, int*, int*)': /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:645: undefined reference to adouble::~adouble()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:646: undefined reference to adouble::~adouble()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:690: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:721: undefined reference to sparse_jac' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:726: undefined reference to sparse_hess'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:650: undefined reference to adouble::~adouble()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:729: undefined reference to adouble::~adouble()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:729: undefined reference to adouble::~adouble()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:690: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:650: undefined reference to adouble::~adouble()' /usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/cos_theta_ipopt_interface.cc.o: in function bool apollo::planning::CosThetaIpoptInterface::eval_obj(int, adouble const*, adouble*)':
/home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:592: undefined reference to adub::~adub()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:592: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:592: undefined reference to adub::~adub()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:592: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:592: undefined reference to adub::~adub()' /usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/cos_theta_ipopt_interface.cc.o:/home/tommyhe/Apollo-DL-IAPS-master/src/cos_theta_ipopt_interface.cc:592: more undefined references to adub::~adub()' follow
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/cos_theta_ipopt_interface.cc.o: in function void std::_Destroy<adouble>(adouble*)': /usr/include/c++/9/bits/stl_construct.h:98: undefined reference to adouble::~adouble()'
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/fem_pos_deviation_ipopt_interface.cc.o: in function apollo::planning::FemPosDeviationIpoptInterface::eval_jac_g(int, double const*, bool, int, int, int*, int*, double*)': /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:190: undefined reference to sparse_jac'
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/fem_pos_deviation_ipopt_interface.cc.o: in function apollo::planning::FemPosDeviationIpoptInterface::eval_h(int, double const*, bool, double, int, double const*, bool, int, int*, int*, double*)': /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:220: undefined reference to sparse_hess'
/usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/fem_pos_deviation_ipopt_interface.cc.o: in function apollo::planning::FemPosDeviationIpoptInterface::generate_tapes(int, int, int*, int*)': /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:338: undefined reference to adouble::~adouble()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:339: undefined reference to adouble::~adouble()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:383: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:401: undefined reference to sparse_jac' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:406: undefined reference to sparse_hess'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:343: undefined reference to adouble::~adouble()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:409: undefined reference to adouble::~adouble()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:409: undefined reference to adouble::~adouble()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:383: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:343: undefined reference to adouble::~adouble()' /usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/fem_pos_deviation_ipopt_interface.cc.o: in function bool apollo::planning::FemPosDeviationIpoptInterface::eval_obj(int, adouble const*, adouble*)':
/home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:260: undefined reference to adub::~adub()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:260: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:260: undefined reference to adub::~adub()' /usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:260: undefined reference to adub::~adub()'
/usr/bin/ld: /home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:260: undefined reference to adub::~adub()' /usr/bin/ld: CMakeFiles/DiscretePointsSmoother.dir/src/fem_pos_deviation_ipopt_interface.cc.o:/home/tommyhe/Apollo-DL-IAPS-master/src/fem_pos_deviation_ipopt_interface.cc:260: more undefined references to adub::~adub()' follow
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/DiscretePointsSmoother.dir/build.make:655:DiscretePointsSmoother] 错误 1
make[1]: *** [CMakeFiles/Makefile2:726:CMakeFiles/DiscretePointsSmoother.dir/all] 错误 2
make: *** [Makefile:84:all] 错误 2

@yufeifeiyu
Copy link

请问您解决了吗,我也遇到了这个问题

@zhishiyigeshuaigebale
Copy link

我也是,请问您解决了吗

@hjw08
Copy link
Author

hjw08 commented Jul 23, 2024 via email

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

3 participants