-
Notifications
You must be signed in to change notification settings - Fork 39
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
solve the problems when it runs on Ubuntu20.04 #4
Comments
maybe U can resolve it by run :sudo apt-get install libboost1.65-dev, but it's dangerous cuz it will uninsintall la lot packages of ROS, and maybe U need reinstall ROS? |
I tried it and failed, sorry to tell a wrong solution T_T |
最后有解决方法了??? |
ubuntu20.04 下的libboost 1.71.0的安装目录和ubuntu 18.04下libboost 1.65.1 的安装目录不相同,我手动下载了libboost 1.65.1,将其安装到ubuntu 18.04的安装位置,是/usr/lib文件夹下。libboost 1.65.1 版本只有一个.so文件。 |
亲测您的方法非常有效,非常感谢!!!
…------------------ 原始邮件 ------------------
发件人: "ZJU-FAST-Lab/Fast-tracker" ***@***.***>;
发送时间: 2023年4月20日(星期四) 下午5:12
***@***.***>;
***@***.******@***.***>;
主题: Re: [ZJU-FAST-Lab/Fast-tracker] solve the problems when it runs on Ubuntu20.04 (Issue #4)
最后有解决方法了???
ubuntu20.04 下的libboost 1.71.0的安装目录和ubuntu 18.04下libboost 1.65.1 的安装目录不相同,我手动下载了libboost 1.65.1,将其安装到ubuntu 18.04的安装位置,是/usr/lib文件夹下。libboost 1.65.1 版本只有一个.so文件。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
具体是怎么做的啊 |
您好,您的邮件我已收到,祝进一切顺利,谢谢~
|
补充一下,在catkin_make时加一个命令 -DBoost_LIBRARY_DIR_RELEASE=/usr/lib/x86_64-linux-gnu |
using find_package(Boost REQUIRED) to replace find_package(Boost REQUIRED COMPONENTS system filesystem) git diff find_package(OpenCV REQUIRED)
|
您好,您的邮件我已收到,祝进一切顺利,谢谢~
|
这个链接的安装步骤亲测有效:https://blog.csdn.net/chen411120086/article/details/122618226 |
您好,您的邮件我已收到,祝进一切顺利,谢谢~
|
本地已经装了1.71,按照楼主的方法手动安装了1.65.1,编译成功通过啦,但是没有在工作空间生成 |
您好,您的邮件我已收到,祝进一切顺利,谢谢~
|
I use ubuntu20.04 and ros noetic to run the code,but it doesnot work。
I use the command “catkin_make”. and then it will report the problem :
/usr/bin/ld: warning: libboost_system.so.1.65.1, needed by /home/ran/catkin_ws/src/Fast-tracker/src/plan_manage/lib/libOptraj.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/ran/catkin_ws/src/Fast-tracker/src/plan_manage/lib/libOptraj.so: undefined reference to
boost::system::system_category()' /usr/bin/ld: /home/ran/catkin_ws/src/Fast-tracker/src/plan_manage/lib/libOptraj.so: undefined reference to
boost::system::generic_category()'collect2: error: ld returned 1 exit status
make[2]: *** [Fast-tracker/src/plan_manage/CMakeFiles/tracking_fsm_node.dir/build.make:520:/home/ran/catkin_ws/devel/lib/plan_manage/tracking_fsm_node] 错误 1
make[1]: *** [CMakeFiles/Makefile2:4059:Fast-tracker/src/plan_manage/CMakeFiles/tracking_fsm_node.dir/all] 错误 2
make: *** [Makefile:141:all] 错误 2
Invoking "make -j16 -l16" failed
The main problem is that the libOptraj.so requires libboost_system.so.1.65.1, but Ubuntu20.04 use libboost_system.so.1.71.0,
So how to deal with libOptraj.so to make it compatible with Ubuntu20.04?
The text was updated successfully, but these errors were encountered: