当前位置:网站首页>manhattan_ Slam environment configuration

manhattan_ Slam environment configuration

2022-06-25 09:41:00 Wang bupian

Yanyanli A masterpiece that comes down in one continuous line .

One . previously cmake When I said no tinyply.cmake Things that are , So follow the tutorial :https://blog.csdn.net/neptune4751/article/details/119423114
Install well tinyply, Continue compiling , adopt .
Two . Continue compiling , Report errors :

make[2]: ***  There are no rules to make goals “/usr/local/lib/libtinyply.so”, from “../lib/libManhattanSLAM.so”  demand .  stop it .
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ManhattanSLAM.dir/all' failed

Or not? tinyply Things that are , So download the above tinyply Copied to the manhattan_slam Of Thirdparty Under the folder  Insert picture description here And follow the tutorial https://blog.csdn.net/neptune4751/article/details/119423114
Prompt pair for tinyply Of Cmakelists.tst Make changes :

 modify CmakeLists.txt The first 17 That's ok :
set(SHARED_LIB false CACHE BOOL "Build as shared library") to

set(SHARED_LIB true CACHE BOOL "Build as shared library")
————————————————
 Link to the original text :https://blog.csdn.net/neptune4751/article/details/119423114

take tinyply Generate dynamic libraries that can be linked . Insert picture description here
And then copy manhattan_slam add to g2o Change the way manhattan_slam Of CmakeLists.txt The first 30 That's ok : Comment out the original , Write the new path

# ${
    tinyply_LIBRARY_DIR}/libtinyply.so  # The original 
        ${
    PROJECT_SOURCE_DIR}/Thirdparty/tinyply-master/build/libtinyply.so

 Insert picture description here
Then compile , Compile successfully , And run through the data set of their own experimental building  Insert picture description here
 Insert picture description here
Next, try your own D455 The camera .

原网站

版权声明
本文为[Wang bupian]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206250911017205.html