Skip to content

Commit d064e3f

Browse files
committed
fix ceres path
1 parent eae5250 commit d064e3f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

slam/Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,9 @@ RUN cd ./yaml-cpp-0.6.0/ \
190190
&& env CFLAGS='-fPIC' CXXFLAGS='-fPIC' cmake -DCMAKE_BUILD_TYPE=Release -Bbuild \
191191
&& cmake --build build -v
192192

193-
RUN cd /home/root/tmp && export CC=gcc-9 && export CXX=g++-9 \
194-
&& wget https://github.com/ceres-solver/ceres-solver/archive/refs/tags/2.1.0.tar.gz \
195-
&& export CC=gcc-9 && export CXX=g++-9 \
193+
RUN wget https://github.com/ceres-solver/ceres-solver/archive/refs/tags/2.1.0.tar.gz \
194+
&& export CC=gcc-9 && export CXX=g++-9 \
196195
&& tar zxf 2.1.0.tar.gz && mkdir ceres-bin && cd ceres-bin && cmake ../ceres-solver-2.1.0 \
197-
&& make -j8 && make install
196+
&& make -j8 && make install
198197

199198
RUN pip3 install matplotlib --upgrade

0 commit comments

Comments
 (0)