Open wangjio opened 8 years ago
/home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/src/user_input_thread.cpp: In member function 'void vk::UserInputThread::acquireUserInput()':
In file included from /home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/src/img_align.cpp:20:0: /home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/include/vikit/nlls_solver.h: In constructor 'vk::NLLSSolver<D, T>::NLLSSolver() [with int D = 6, T = Sophus::SE3]': /home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/src/img_align.cpp:52:29: instantiated from here /home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/include/vikit/nlls_solver.h:131:26: error: no matching function for call to 'std::shared_ptrvk::robust_cost::ScaleEstimator::shared_ptr(NULL)' /home/wang/SLAM/cross_compile/opt/FriendlyARM/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/c++/4.5.1/bits/shared_ptr.h:181:7: note: candidates are: std::shared_ptr<_Tp>::shared_ptr(std::shared_ptr<_Tp>&&) [with _Tp = vk::robust_cost::ScaleEstimator, std::shared_ptr<_Tp> = std::shared_ptrvk::robust_cost::ScaleEstimator] /home/wang/SLAM/cross_compile/opt/FriendlyARM/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/c++/4.5.1/bits/shared_ptr.h:98:7: note: std::shared_ptr<_Tp>::shared_ptr() [with _Tp = vk::robust_cost::ScaleEstimator] /home/wang/SLAM/cross_compile/opt/FriendlyARM/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/c++/4.5.1/bits/shared_ptr.h:92:5: note: std::shared_ptrvk::robust_cost::ScaleEstimator::shared_ptr(const std::shared_ptrvk::robust_cost::ScaleEstimator&) /home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/src/img_align.cpp:52:29: instantiated from here /home/wang/arm_SLAM/svo_arm/workspace/rpg_vikit/vikit_common/include/vikit/nlls_solver.h:131:26: error: no matching function for call to 'std::shared_ptrvk::robust_cost::WeightFunction::shared_ptr(NULL)' /home/wang/SLAM/cross_compile/opt/FriendlyARM/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/c++/4.5.1/bits/shared_ptr.h:181:7: note: candidates are: std::shared_ptr<_Tp>::shared_ptr(std::shared_ptr<_Tp>&&) [with _Tp = vk::robust_cost::WeightFunction, std::shared_ptr<_Tp> = std::shared_ptrvk::robust_cost::WeightFunction] /home/wang/SLAM/cross_compile/opt/FriendlyARM/toolschain/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/include/c++/4.5.1/bits/shared_ptr.h:98:7: note: std::shared_ptr<_Tp>::shared_ptr() [with _Tp = vk::robust_cost::WeightFunction]
I have successful run svo(no ros) on ubuntu. When it comes to cross compile, these problem happended, why?
I want to run svo(no ros) on ARM. what should i do? I have finish getting cross complie tool. I saw the 'Installation Instructions' on the website tells us that we should type 'export ARM_ARCHITECTURE=True' in console before compilation. Is that enough? What about the dependencies? Such as Fast , Sophus etc. Could anyone tell me the detailed step? Thanks a lot!