Skip to content

Commit c0f38a3

Browse files
committed
fixed cv import error
1 parent 6554339 commit c0f38a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ffmpeg/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,10 @@ RUN cd /tmp/opencv-${OPENCV_VERSION}/cmake_binary && \
528528
-D WITH_XIMEA=OFF \
529529
-D WITH_XINE=OFF \
530530
-D WITH_ZLIB=ON \
531-
-G Ninja \
531+
# -G Ninja \
532532
-D CMAKE_INSTALL_PREFIX=/usr/local \
533533
.. 2>&1 | tee cmake_messages.txt
534-
RUN cd /tmp/opencv-4.5.2/cmake_binary && ninja
534+
RUN cd /tmp/opencv-4.5.2/cmake_binary && make -j$(nproc) && make install
535535
RUN rm /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
536536

537537

0 commit comments

Comments
 (0)