Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I had the exact same problem. Made me sleep awfully bad... Anyways I solved it now

When you link OpenCV to VS then it is important that it is linked to the right build of OpenCV.

For example:

VS2013 <--> D:\opencv\build\install\x64*vc12*

In my case VS2015 <--> D:\opencv\build\install\x64*vc14* (which does not exist and you have to make yourself)

Your case would be VS2012 <--> D:\opencv\build\install\x64*vc11*

The guide I followed to install it correctly is: http://inside.mines.edu/~whoff/courses/EENG510/lectures/other/CompilingOpenCV.pdf

I had the exact same problem. Made me sleep awfully bad... Anyways I solved it now

When you link OpenCV to VS then it is important that it is linked to the right build of OpenCV.

For example:

VS2013 <--> D:\opencv\build\install\x64*D:\opencv\build\install\x64\ vc12*

In my case VS2015 <--> D:\opencv\build\install\x64*D:\opencv\build\install\x64\ vc14* (which does not exist and you have to make yourself)

Your case would be VS2012 <--> D:\opencv\build\install\x64*vc11*

The guide I followed to install it correctly is: http://inside.mines.edu/~whoff/courses/EENG510/lectures/other/CompilingOpenCV.pdf

I had the exact same problem. Made me sleep awfully bad... Anyways I solved it now

When you link OpenCV to VS then it is important that it is linked to the right build of OpenCV.

For example:

VS2013 <--> D:\opencv\build\install\x64\ D:\opencv\build\install\x64\vc12

In my case VS2015 <--> D:\opencv\build\install\x64\ D:\opencv\build\install\x64\vc14 (which does not exist and you have to make yourself)

Your case would be VS2012 <--> D:\opencv\build\install\x64*D:\opencv\build\install\x64\vc11*

The guide I followed to install it correctly is: http://inside.mines.edu/~whoff/courses/EENG510/lectures/other/CompilingOpenCV.pdf