stella-cv / stella_vslam

This is a unofficial fork of OpenVSLAM (https://github.com/xdspacelab/openvslam)
https://stella-cv.rtfd.io/en/latest/
Other
875 stars 374 forks source link

fatal error: tinycolormap.hpp: No such file or directory #457

Closed zoldaten closed 1 year ago

zoldaten commented 1 year ago

Describe the bug

following the instruction - https://stella-cv.readthedocs.io/en/latest/installation.html#subsection-common-linux-macos cant build stella-vslam

To Reproduce

When running make -j4 I get

[ 61%] Building CXX object src/stella_vslam/CMakeFiles/stella_vslam.dir/optimize/terminate_action.cc.o
[ 62%] Building CXX object src/stella_vslam/CMakeFiles/stella_vslam.dir/publish/frame_publisher.cc.o
/home/al/stella_vslam/src/stella_vslam/publish/frame_publisher.cc:9:10: fatal error: tinycolormap.hpp: No such file or directory
    9 | #include <tinycolormap.hpp>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/stella_vslam/CMakeFiles/stella_vslam.dir/build.make:817: src/stella_vslam/CMakeFiles/stella_vslam.dir/publish/frame_publisher.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:516: src/stella_vslam/CMakeFiles/stella_vslam.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
build options:
cmake \
    -DUSE_STACK_TRACE_LOGGER=ON \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DUSE_PANGOLIN_VIEWER=ON \
    -DINSTALL_PANGOLIN_VIEWER=ON \
    -DUSE_SOCKET_PUBLISHER=OFF \
    -DBUILD_TESTS=OFF \
    -DBUILD_EXAMPLES=ON \
    ..
cat CMakeCache.txt | grep -e USE_ -e BUILD_

BUILD_EXAMPLES:BOOL=ON
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTS:BOOL=OFF
BUILD_WITH_MARCH_NATIVE:BOOL=OFF
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
USE_ARUCO:BOOL=ON
USE_CCACHE:BOOL=ON
USE_GOOGLE_PERFTOOLS:BOOL=OFF
USE_GTSAM:BOOL=ON
USE_OPENMP:BOOL=OFF
USE_PANGOLIN_VIEWER:BOOL=ON
USE_SANITIZER:BOOL=OFF
USE_SOCKET_PUBLISHER:BOOL=OFF
USE_SSE_FP_MATH:BOOL=OFF
USE_SSE_ORB:BOOL=OFF
USE_STACK_TRACE_LOGGER:BOOL=ON

Environment

ymd-stella commented 1 year ago

submodule has not been downloaded. See https://stella-cv.readthedocs.io/en/latest/installation.html#source-code

ymd-stella commented 1 year ago

If you are sure that tinycolormap.hpp exists in stella_vslam/3rd/tinycolormap, write the log and reopen this.

zoldaten commented 1 year ago

sorry, you are right. silly mistake.