Thanks to visit codestin.com
Credit goes to github.com

Skip to content

OpenCV4.7.0 and CUDA12.0 compiled with VS2022 reported error C1041 #23280

@zky97

Description

@zky97

ERROR C1041 Unable to open program database "H:\OpenCV_Build\modules\cudaarithm\CMakeFiles\cuda_compile_1.dir\src\cuda\vc140.pdb"; If you want to write multiple CL.EXE files to the same.PDB file, use /FS opencv_cudaarithm C:\Users\XXX\AppData\Local\Temp\tmpxft_00008e78_00000000-10_integral.compute_86.cudafe1.cpp 1
Error MSB8066 "H:\GIT\opencv_contrib\modules\cudaarithm\src\cuda\integral.cu; H:\GIT\opencv_contrib\modules\cudaarithm\src\cuda\lut.cu "custom generation exits with code 1. opencv_cudaarithm C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 230

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions