当前位置:网站首页>交叉编译环境出现.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 #主要是这个文件
)
边栏推荐
- Rich professional product lines, and Jiangling Ford Lingrui · Jijing version is listed
- Binary search-1
- 将字符串B插入字符串A,有多少种插入办法可以使新串是一个回文串
- tag动态规划-刷题预备知识-2. 0-1背包理论基础和二维数组解法模板
- Paging query and join Association query optimization
- Introduction to Ethereum Technology Architecture
- 行锁分析和死锁
- 我想知道,我在肇庆,到哪里开户比较好?网上开户是否安全么?
- transforms. The input of randomcrop() can only be PIL image, not tensor
- JVM入個門(1)
猜你喜欢

RSA concept explanation and tool recommendation - LMN

padding百分比操作

非对称密码体制详解

transforms.RandomCrop()的输入只能是PIL image 不能是tensor

Digital signature standard (DSS)

How sparksql returns a specific day of the week by date -dayofweek function

RSA概念详解及工具推荐大全 - lmn

Solve the problem that each letter occupies a space in pycharm

Detailed explanation of dos and attack methods

Paging query and join Association query optimization
随机推荐
[code Capriccio - dynamic planning] t583. Deleting two strings
MySQL download and configuration MySQL remote control
JNI的 静态注册与动态注册
JS 常用正则表达式
pycharm如何修改多行注释快捷键
Knapsack problem with dependency
next(iter(dataloader))的一点点体会
Chinese (Simplified) language pack
刻录光盘的程序步骤
No manual prior is required! HKU & Tongji & lunarai & Kuangshi proposed self supervised visual representation learning based on semantic grouping, which significantly improved the tasks of target dete
properties文件乱码
in和exsits、count(*)查询优化
CD-CompactDisk
Analysis of deep security definition and encryption technology
Detailed explanation of asymmetric cryptosystem
Regular match same character
深层次安全定义剖析及加密技术
数字签名论述及生成与优点分析
map和filter方法对于稀缺数组的处理
小程序设置按钮分享功能