rtabmap and alicevision, how to build and use?
Posted by
Mikor on
URL: http://official-rtab-map-forum.206.s1.nabble.com/rtabmap-and-alicevision-how-to-build-and-use-tp9032.html
Hi Mathieu,
as the title says I am interested in using RTAB-map with alicevision. For starters, I was searching for some information on how to build RTAB-map with it and I found this
dockerfile. I tried to build it but at step 23:
Step 23/26 : RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone https://github.com/alicevision/AliceVision.git --recursive && cd AliceVision && git checkout 0f6115b6af6183c524aa7fcf26141337c1cf3872 && wget https://gist.githubusercontent.com/matlabbe/1df724465106c056ca4cc195c81d8cf0/raw/b3ed4cb8f9b270833a40d57d870a259eabfa4415/alicevision_0f6115b.patch && git apply alicevision_0f6115b.patch && mkdir build && cd build && cmake -DALICEVISION_USE_CUDA=OFF -DALICEVISION_USE_APRILTAG=OFF -DALICEVISION_BUILD_SOFTWARE=OFF .. && make -j$(nproc) && make install && cd && rm -r AliceVision; fi
but this results in an error:
[ 41%] Linking CXX static library ../../../../../Linux-x86_64/liblib_clp.a
[ 41%] Built target lib_clp
make: *** [Makefile:130: all] Error 2
The command '/bin/sh -c if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone https://github.com/alicevision/AliceVision.git --recursive && cd AliceVision && git checkout 0f6115b6af6183c524aa7fcf26141337c1cf3872 && wget https://gist.githubusercontent.com/matlabbe/1df724465106c056ca4cc195c81d8cf0/raw/b3ed4cb8f9b270833a40d57d870a259eabfa4415/alicevision_0f6115b.patch && git apply alicevision_0f6115b.patch && mkdir build && cd build && cmake -DALICEVISION_USE_CUDA=OFF -DALICEVISION_USE_APRILTAG=OFF -DALICEVISION_BUILD_SOFTWARE=OFF .. && make -j$(nproc) && make install && cd && rm -r AliceVision; fi' returned a non-zero code: 2
I'd like some instructions on how to build this successfully please, also can you point out how this extra module works with rtabmap ? When I run
rtabmap-export --help | grep "AliceVision"
--multiband Enable multiband texturing (AliceVision dependency required).
Is this the only involvement of the alicevision module? And does it refer to
this ?