File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ RUN rm -fr /var/lib/apt/lists/* && \
101
101
libportmidi-dev \
102
102
libpq-dev \
103
103
libproj-dev \
104
- libprotoc \
105
- libprotobuf \
104
+ # libprotoc \
105
+ # libprotobuf \
106
106
libprotobuf-dev \
107
107
libsdl-dev \
108
108
libsdl-image1.2-dev \
@@ -167,7 +167,7 @@ RUN rm -fr /var/lib/apt/lists/* && \
167
167
yasm \
168
168
openssh-client openssh-server \
169
169
build-essential \
170
- gcc g++ make \
170
+ gcc-6 g++-6 make \
171
171
git subversion \
172
172
zlib1g-dev \
173
173
&& \
@@ -456,7 +456,7 @@ RUN cd /tmp/opencv-${OPENCV_VERSION}/cmake_binary && \
456
456
-D BUILD_opencv_java=OFF \
457
457
-D BUILD_opencv_ml=ON \
458
458
-D BUILD_opencv_objdetect=ON \
459
- -D BUILD_opencv_photo=ON \
459
+ # -D BUILD_opencv_photo=ON \
460
460
-D BUILD_opencv_python2=OFF \
461
461
-D BUILD_opencv_python3=ON \
462
462
-D BUILD_opencv_stitching=ON \
@@ -514,6 +514,7 @@ RUN cd /tmp/opencv-${OPENCV_VERSION}/cmake_binary && \
514
514
-D WITH_IPP_A=OFF \
515
515
-D WITH_JASPER=ON \
516
516
-D WITH_JPEG=ON \
517
+ -D WITH_LAPACK=OFF \
517
518
-D WITH_LIBV4L=ON \
518
519
-D WITH_NVCUVID=ON \
519
520
-D WITH_OPENCL=ON \
@@ -525,6 +526,7 @@ RUN cd /tmp/opencv-${OPENCV_VERSION}/cmake_binary && \
525
526
-D WITH_OPENMP=OFF \
526
527
-D WITH_OPENNI=OFF \
527
528
-D WITH_PNG=ON \
529
+ -D WITH_PROTOBUF=ON \
528
530
-D WITH_PTHREADS_PF=OFF \
529
531
-D WITH_PVAPI=ON \
530
532
-D WITH_QT=OFF \
@@ -538,11 +540,12 @@ RUN cd /tmp/opencv-${OPENCV_VERSION}/cmake_binary && \
538
540
-D WITH_XIMEA=OFF \
539
541
-D WITH_XINE=OFF \
540
542
-D WITH_ZLIB=ON \
541
- # -G Ninja \
542
- # -D CMAKE_INSTALL_PREFIX=/usr/local \
543
- .. 2>&1 | tee cmake_messages.txt && \
544
- make -j$(nproc) && \
545
- make install
543
+ -G Ninja \
544
+ -D CMAKE_INSTALL_PREFIX=/usr/local \
545
+ .. 2>&1 | tee cmake_messages.txt
546
+ RUN cd /tmp/opencv-4.5.2/cmake_binary && ninja
547
+ # make -j$(nproc) && \
548
+ # make install
546
549
547
550
548
551
WORKDIR /usr/local
You can’t perform that action at this time.
0 commit comments