LNK error for MSVC CUDA
Hi there, I was building a project in MSVC and encountered this linker error. I have looked for a solution online but with no success. I was wondering if the "cudabgsegm(version#).lib" is in any previous (to v. 3.4.1) versions of opencv or if I may just not be building it correctly. I don't seem to have the directory structure after C:\opencv\build\ below. Thanks so much!
error LNK1181: cannot open input file 'C:\opencv\build\lib\Release\opencv_cudabgsegm341.lib'
Best James
"C:\opencv\build\" -- please clarify: are you trying with prebuilt libs ?
(those don't come with any cuda support)
IF you built your own libs with cuda sdk, locally, you'll have to look at
C:\opencv\build\install
Thanks for having a look @berak! It didn't have prebuilt libs... I had to build them but didn't check off the box on cmake to include them in the "all build" for MSVC. All good now!