HEAD build fails with cuda 9.1, VS15.5.2, W10 16299 #10334
Labels
category: build/install
category: gpu/cuda (contrib)
OpenCV 4.0+: moved to opencv_contrib
priority: low
Summary
HEAD (16.12.2017) Build fails with:
nvcc error : 'cicc' died with status 0xC0000005 (ACCESS_VIOLATION) [I:\opencv-master\build\modules\core\opencv_core.vcxproj]
System information (version)
Detailed description
OpenCV build fails at opencv_core, in a such manner:
output[opencv_core]fails.txt
Steps to reproduce
I use this bash / powershell script:
$src = "I:/opencv-master/opencv"
$build = "I:/opencv-master/build"
$target = "Visual Studio 15 2017 Win64"
$ipsxe = "I:\IntelSWTools\compilers_and_libraries\windows\bin\ipsxe-comp-vars.bat"
$env:Path += ";C:\Program Files\CMake\bin"
$env:CUDA_PATH = "I:\Nvidia\Cuda\9.1"
$env:GSTREAMER_DIR = "I:/gstreamer/1.0/x86_64/"
#cd I:/opencv-master/
#bash update.sh (
cd opencv && git pull && cd ../opencv_contrib && git pull
)cd $build
#iex "$ipsxe intel64 vs2017"
rm -r CMake*
cmake -G $target '
-DBUILD_JAVA=false -DWITH_MATLAB=false -DBUILD_DOC=false -DBUILD_PERF_TESTS=false -DBUILD_TESTS=false '
-DOPENCV_ENABLE_NONFREE=true -DBUILD_opencv-apps=false -DENABLE_PYLINT=false -DENABLE_CXX11=true '
-DCUDA_SDK_ROOT_DIR="$env:CUDA_PATH" -DCUDA_ARCH_BIN="5.2" -DCUDA_VERBOSE_BUILD=true '
-DWITH_OPENCL=true '
-DCUDA_HOST_COMPILER="C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.12.25827/bin/Hostx86/x64/cl.exe" '
..\opencv
msbuild.exe OpenCV.sln /verbosity:m /m
#msbuild.exe OpenCV.sln /p:Configuration=Release /verbosity:m /m
Comments
Single quotes ending lines in the scripts should be replaced by backquotes / backticks (I used single quote to match Markdown formatting).
I'm available to investigate.
The text was updated successfully, but these errors were encountered: