razayunus / ManhattanSLAM

A Planar RGB-D SLAM which utilizes Manhattan World structure to provide optimal camera pose trajectory while also providing a sparse reconstruction containing points, lines and planes, and a dense surfel-based reconstruction.
Other
149 stars 40 forks source link

Problem with tinyply version #1

Closed Gatsby23 closed 2 years ago

Gatsby23 commented 2 years ago

Hi, Sorry to trobule you. But what is your tinlyply version? There have a version 2.3 on my laptop, it shows that this error:

make[2]: *** No rule to make target '/usr/local/lib/libtinyply.so', needed by '../lib/libManhattanSLAM.so'.  Stop.
CMakeFiles/Makefile2:110: recipe for target 'CMakeFiles/ManhattanSLAM.dir/all' failed
yilu-zhang commented 2 years ago

get tinyply from here before install tinyply, change the line 17 of CmakeLists.txt: set(SHARED_LIB false CACHE BOOL "Build as shared library") to

set(SHARED_LIB true CACHE BOOL "Build as shared library")

then install tinyply: cd tinyply

mkdir build

cd build

cmake ..

make

sudo make install

sudo cp /usr/local/lib/libtinyply.so /