FasonLee / Apollo-DL-IAPS

Apollo Discrete Points Smoother
26 stars 7 forks source link

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

Open hjw08 opened 9 months ago

hjw08 commented 9 months ago

其余的环境均配置完毕,不知道为什么到最后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 tosparse_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 tosparse_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 toadouble::~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 toadub::~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 tosparse_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 toadouble::~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 toadub::~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 functionbool 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 toadub::~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 toadub::~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 toadub::~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 toadouble::~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 tosparse_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 tosparse_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 toadouble::~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 toadub::~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 tosparse_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 toadouble::~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 toadub::~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 functionbool 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 toadub::~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 toadub::~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 toadub::~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 commented 4 months ago

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

zhishiyigeshuaigebale commented 2 months ago

我也是,请问您解决了吗

hjw08 commented 2 months ago

没解决,我后面没搞了。不过这种undefined reference to的错误我感觉要么是ADOLC版本不对,要么就是ADOLC的头文件没放到动态库里

hjWwj @.***

 

------------------ 原始邮件 ------------------ 发件人: "FasonLee/Apollo-DL-IAPS" @.>; 发送时间: 2024年7月23日(星期二) 晚上6:18 @.>; @.**@.>; 主题: Re: [FasonLee/Apollo-DL-IAPS] 当执行最后一步的make -j8时,报错 (Issue #3)

我也是,请问您解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>