You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an error during building the project on gtsam (the branch that has been used for this project on the line cmake --build build_gtsam --config RelWithDebInfo) I got the following error:
#0 50.92 /NeRF-SLAM/thirdparty/gtsam/gtsam/sfm/DsfTrackGenerator.cpp: In function 'gtsam::gtsfm::DSFMapIndexPair gtsam::gtsfm::generateDSF(const MatchIndicesMap&)':
#0 50.92 /NeRF-SLAM/thirdparty/gtsam/gtsam/sfm/DsfTrackGenerator.cpp:41:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'Eigen::Index' {aka 'long int'} [-Wsign-compare]
#0 50.92 41 | for (size_t k = 0; k < corr_indices.rows(); k++) {
#0 50.92 | ~~^~~~~~~~~~~~~~~~~~~~~
so I containerized the project to avoid dependencies problem, below is my docker image:
MAINTAINER Behnam Asadi [email protected]
# this is for timezone config
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#RUN apt-get update && apt upgrade -y
RUN apt-get update
# 1) Dependencies
RUN echo "************************ Dependencies ************************"
RUN apt-get install -y build-essential cmake git openssh-server apt-utils libgoogle-glog-dev libgflags-dev pip libssl-dev openssl xorg-dev libglew-dev libboost-all-dev
# 2) Installing latest version of CMake
RUN echo "************************ Installing latest version of CMake ************************"
WORKDIR "/"
RUN cd /
RUN git clone https://github.com/Kitware/CMake/
RUN cd CMake
WORKDIR "/CMake"
RUN ./bootstrap && make -j18 && make install
WORKDIR "/"
RUN cd /
# 3) CUDA 11.3
RUN echo "************************ CUDA 11.3 ************************"
RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
# 4) Pip install
RUN echo "************************ cloning NeRF-SLAM ************************"
RUN git clone https://github.com/ToniRV/NeRF-SLAM.git --recurse-submodules
RUN cd /NeRF-SLAM
WORKDIR "/NeRF-SLAM"
RUN git submodule update --init --recursive
# 5) Pip install
RUN echo "************************ Pip install ************************"
RUN cd /NeRF-SLAM
WORKDIR "/NeRF-SLAM"
RUN pip install -r requirements.txt
RUN pip install -r ./thirdparty/gtsam/python/requirements.txt
# 6) Pip install
RUN echo "************************ Compile ngp ************************"
RUN cmake ./thirdparty/instant-ngp -B build_ngp
RUN cmake --build build_ngp --config RelWithDebInfo -j18
# 7) Compile gtsam and enable the python wrapper:
RUN echo "************************ Compile gtsam and enable the python wrapper ************************"
RUN cmake ./thirdparty/gtsam -DGTSAM_BUILD_PYTHON=1 -B build_gtsam
RUN cmake --build build_gtsam --config RelWithDebInfo -j18
RUN cd build_gtsam
RUN make python-install
The text was updated successfully, but these errors were encountered:
I got an error during building the project on gtsam (the branch that has been used for this project on the line
cmake --build build_gtsam --config RelWithDebInfo
) I got the following error:and if it continues:
so I containerized the project to avoid dependencies problem, below is my docker image:
The text was updated successfully, but these errors were encountered: