当前位置:网站首页>The cross compilation environment appears So link file not found problem
The cross compilation environment appears So link file not found problem
2022-06-26 18:13:00 【Maccy37】
problem :/opt/rk3308-32bit-cross-complier/bin/../lib/gcc/arm-rockchip-linux-gnueabihf/6.4.0/../../../../arm-rockchip-linux-gnueabihf/bin/ld: warning: libmrpt-graphs.so.1.5, needed by /opt/arm/3308/mrpt/lib/libmrpt-maps.so, not found (try using -rpath or -rpath-link)

The compilation error is because :libmrpt-maps.so Cannot link to libmrpt-graphs.so.1.5 The library of
The solution is CMakeLists.txt Add link library directive :
set(MRPT_LIBRARIES_DIRS /opt/arm/3308/mrpt/lib)
target_link_libraries(mapgen_mrpt
${catkin_LIBRARIES}
${MRPT_LIBS}
${MRPT_LIBRARIES_DIRS}/libmrpt-graphs.so.1.5 # Mainly this document
)
边栏推荐
猜你喜欢

深层次安全定义剖析及加密技术

MySQL的MVCC机制详解

小程序设置按钮分享功能

Get and set settings in 26class

Runtimeerror: CUDA error: out of memory own solution (it is estimated that it is not applicable to most people in special circumstances)

wechat_ Solve the problem of page Jump and parameter transfer by navigator in wechat applet

LM06丨仅用成交量构造抄底摸顶策略的奥秘

50行代码爬取Top500图书导入TXT文档

解决pycharm里面每个字母占一格空格的问题

Idea collection code, quickly open favorites collection window
随机推荐
How about opening a flush account? Is it safe? How to open a stock trading account
手写promise.all
Let torch cuda. is_ Experience of available() changing from false to true
Padding percentage operation
Decision tree and random forest
map和filter方法对于稀缺数组的处理
请指教同花顺开户选选择哪家券商比较好?现在在线开户安全么?
ros::spinOnce()和ros::spin()的使用和区别
sqlite数据库的系统表sqlite_master
pycharm的plt.show()如何保持不关闭
JVM入个门(1)
交叉编译环境出现.so链接文件找不到问题
零时科技 | 智能合约安全系列文章之反编译篇
判断某个序列是否为栈的弹出序列
ZCMU--1367: Data Structure
解决pycharm里面每个字母占一格空格的问题
如何将应用加入到deviceidle 白名单?
ROS的发布消息Publishers和订阅消息Subscribers
爬取豆瓣读书Top250,导入sqlist数据库(或excel表格)中
腾讯钱智明:信息流业务中的预训练方法探索与应用实践