From 7f574630db93e391131d7ad1437fd007967c2210 Mon Sep 17 00:00:00 2001 From: AdrianLoer Date: Wed, 11 Oct 2017 15:26:33 +0200 Subject: [PATCH] Update Dockerfile.gpu small fix taken from here https://github.com/floydhub/dl-docker/issues/50 --- Dockerfile.gpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.gpu b/Dockerfile.gpu index 3bad5a4..9fbe889 100644 --- a/Dockerfile.gpu +++ b/Dockerfile.gpu @@ -224,7 +224,7 @@ RUN git clone --depth 1 https://github.com/opencv/opencv.git /root/opencv && \ cd /root/opencv && \ mkdir build && \ cd build && \ - cmake -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON .. && \ + cmake -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs -DWITH_QT=ON -DWITH_OPENGL=ON -DFORCE_VTK=ON -DWITH_TBB=ON -DWITH_GDAL=ON -DWITH_XINE=ON -DBUILD_EXAMPLES=ON .. && \ make -j"$(nproc)" && \ make install && \ ldconfig && \