Ask Your Question
0

Build failed opencv3.1 cuda8 vs2015

asked 2016-11-12 08:08:47 -0500

chingwai91 gravatar image

updated 2016-11-12 08:19:26 -0500

Dear all, is there anyone successfully build with this configuration.

I had try many times but still giving me lots of errors and warnings.

Example of warnings I received image description image description

After the build failed, this window pop out. image description

Anyone know how to solved this problem? Before this I successfully built by disabling with_cuda. But right now I need to use cuda. But failed to build it and I did enabled with_cuda in cmake.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-11-16 00:01:09 -0500

chingwai91 gravatar image

Built succeeded.

Solution: Don't build ("Debug" or "Release") the whole OpenCV.sln but try to build certain core projects one by one, such as -opencv_core -opencv_cudaarithm -opencv_cudabgsegm -opencv_codec -opencv_features2d -opencv_cudafilters -opencv_cudaimgproc -opencv_cudaobject -opencv_cudaoptflow -opencv_cudastereo -opencv_cudawarping

Reload all if the reload window is prompt.

After that, build "Install" again under debug mode, repeat all steps in release mode.

Case closed.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-11-12 08:08:47 -0500

Seen: 232 times

Last updated: Nov 16 '16