简体   繁体   中英

Installing OpenCV 2.4.10 on Windows 8.1 with VS 2013

I am trying to install opencv 2.4.10 on Windows 8.1. Normally I install OpenCV without any third party libraries but this time I am trying to install some libraries like CStripes, Eigen, OpenExr, CUDA 6.5, AMD Blas and Fft.

I am using Visual Studio 2013 64-bit. OpenCV installation without any third party library completes without any issues but with 3rd party libraries it is unsuccessful. I was following the installation procedure given here .

The issue that I noticed is that during the installation the system cannot find the .lib and .dll files eg

  • LINK : fatal error LNK1181: cannot open input file '..\\..\\lib\\Release\\opencv_contrib2410.lib'
  • file INSTALL cannot find "E:/opencv/build/bin/Release/opencv_gpu2410.dll".

I ran the installation as an admin but I was still getting the same errors.

You can view the Visual Studio build log here and Cmake build log here .

Please help me out.

Search for "Error" in the Visual Studio logs. There is clearly a CUDA error being thrown:

E:/opencv/sources/modules/gpu/src/nvidia/core/NCV.cu(356): error : namespace "std" has no member "max"

It seems as though you need to add #include <algorithm> for this to work (as suggested here ).

I would also suggest that you raise this as a bug on the OpenCV tracker!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM