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

issue about boost #235

Open
Yx-QI opened this issue Mar 28, 2024 · 2 comments
Open

issue about boost #235

Yx-QI opened this issue Mar 28, 2024 · 2 comments

Comments

@Yx-QI
Copy link

Yx-QI commented Mar 28, 2024

/usr/bin/ld: CMakeFiles/Calibrations.dir/src/intrinsic_calib.cc.o: in function void boost::sp_adl_block::intrusive_ptr_release<boost::filesystem::detail::dir_itr_imp, boost::sp_adl_block::thread_safe_counter>(boost::sp_adl_block::intrusive_ref_counter<boost::filesystem::detail::dir_itr_imp, boost::sp_adl_block::thread_safe_counter> const*)': intrinsic_calib.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x25): undefined reference to boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()'
/usr/bin/ld: intrinsic_calib.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x2e): undefined reference to boost::filesystem::detail::dir_itr_imp::operator delete(void*)' /usr/bin/ld: CMakeFiles/Calibrations.dir/src/intrinsic_calib.cc.o: in function main':
intrinsic_calib.cc:(.text.startup+0x1235): undefined reference to boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, unsigned int, boost::filesystem::detail::directory_iterator_params*, boost::system::error_code*)' /usr/bin/ld: intrinsic_calib.cc:(.text.startup+0x1276): undefined reference to boost::filesystem::directory_entry::get_status(boost::system::error_code*) const'
/usr/bin/ld: intrinsic_calib.cc:(.text.startup+0x1f6d): undefined reference to `boost::filesystem::detail::path_algorithms::filename_v3(boost::filesystem::path const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [VINS-Fusion/camera_models/CMakeFiles/Calibrations.dir/build.make:390:/home/qyx/1_ws/devel/lib/camera_models/Calibrations] 错误 1
make[1]: *** [CMakeFiles/Makefile2:908:VINS-Fusion/camera_models/CMakeFiles/Calibrations.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....

Assuming I already have boost installed, How can I solve this error?

@wells-sde
Copy link

遇到同样的问题

@JakeFishcode
Copy link

有解决了吗?

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