当前位置:网站首页>交叉编译环境出现.so链接文件找不到问题
交叉编译环境出现.so链接文件找不到问题
2022-06-26 18:07:00 【Maccy37】
问题:/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)

编译出错是因为:libmrpt-maps.so链接不到libmrpt-graphs.so.1.5的库
解决办法在CMakeLists.txt添加链接库指令:
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 #主要是这个文件
)
边栏推荐
- 你好,现在网上股票开户买股票安全吗?
- Data Encryption Standard DES security
- Properties file garbled
- Binary search-1
- Chen Qiang: Alibaba's 100 billion level large-scale digital business knowledge map helps business growth
- A little experience of next (ITER (dataloader))
- in和exsits、count(*)查询优化
- 17.13 补充知识、线程池浅谈、数量谈、总结
- Prometeus 2.34.0 new features
- Row lock analysis and deadlock
猜你喜欢

Get and set settings in 26class

Lm06 the mystery of constructing the bottom and top trading strategy only by trading volume

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

Concept and working principle of data encryption standard (DES)

Data Encryption Standard DES security

MySQL的MVCC机制详解

Ethereum技术架构介绍

Class inheritance of 25class

Paging query and join Association query optimization

二分查找法-1
随机推荐
JVM entry door (1)
QPushButton 样式使用示例(以及按钮setmenu添加下拉菜单的方法)
Decision tree and random forest
你好,现在网上股票开户买股票安全吗?
(必须掌握的多线程知识点)认识线程,创建线程,使用Thread的常见方法及属性,以及线程的状态和状态转移的意义
Detailed explanation of asymmetric cryptosystem
map和filter方法对于稀缺数组的处理
Several key points in divorce agreement
Regular match same character
JVM entry Door (1)
RSA concept explanation and tool recommendation - LMN
How pycharm modifies multiline annotation shortcuts
VCD video disc
#26class中get和set设置
9、智慧交通项目(2)
Idea collection code, quickly open favorites collection window
Get and set settings in 26class
刻录光盘的程序步骤
Introduction to Ethereum Technology Architecture
Padding percentage operation