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

决策树与随机森林

RSA加密解密详解

Discussion and generation of digital signature and analysis of its advantages

让torch.cuda.is_available()从false变成true的一点经验

pycharm的plt.show()如何保持不关闭

Data Encryption Standard DES security

Analysis of deep security definition and encryption technology

Class inheritance of 25class

JVM入個門(1)

Bayesian network explanation
随机推荐
输入n个整数,输出出现次数大于等于数组长度一半的数
【QNX】命令
RSA概念详解及工具推荐大全 - lmn
数据加密标准DES安全性
VCD video disc
Get and set settings in 26class
17.13 supplementary knowledge, thread pool discussion, quantity discussion and summary
数据加密标准(DES)概念及工作原理
A little experience of next (ITER (dataloader))
Number of solutions for knapsack problem
Please advise tonghuashun which securities firm to choose for opening an account? Is it safe to open an account online now?
决策树与随机森林
腾讯钱智明:信息流业务中的预训练方法探索与应用实践
Map and list < map > transfer to corresponding objects
ROS查询话题具体内容常用指令
JVM entry door (1)
Solve the problem that each letter occupies a space in pycharm
Concept and working principle of data encryption standard (DES)
vutils. make_ A little experience of grid () in relation to black and white images
RSA encryption and decryption details