当前位置:网站首页>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
)
边栏推荐
猜你喜欢

Padding percentage operation

Data Encryption Standard DES security

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

带你解决哈希冲突,并实现一个简单hash表,

RuntimeError: CUDA error: out of memory自己的解决方法(情况比较特殊估计对大部分人不适用)

Chinese (Simplified) language pack

How pycharm modifies multiline annotation shortcuts

vutils. make_ A little experience of grid () in relation to black and white images

MySQL的MVCC机制详解

数字签名标准(DSS)
随机推荐
Tsinghua & Shangtang & Shanghai AI & CUHK proposed Siamese image modeling, which has both linear probing and intensive prediction performance!
sql中的几种删除操作
pycharm的plt.show()如何保持不关闭
将字符串B插入字符串A,有多少种插入办法可以使新串是一个回文串
Map and filter methods for processing scarce arrays
RSA概念详解及工具推荐大全 - lmn
JS cast
MYSQL的下载与配置 mysql远程操控
正则匹配相同字符
SQL中的并、交、差运算
Which securities company is better for a novice to open a stock trading account? How is it safer to speculate in stocks??
PC端录制扫515地机器人/scan数据
新手炒股开户选哪个证券公司比较好?怎样炒股比较安全??
Detailed explanation of asymmetric cryptosystem
预编译处理指令中的条件编译
数据加密标准(DES)概念及工作原理
RSA encryption and decryption details
行锁与隔离级别案例分析
Properties file garbled
Static registration and dynamic registration of JNI