opencv 3.1.0 building source with ocl disabelled

asked 2017-01-16 23:06:30 -0500

OpenCV_Learner gravatar image

I would like to build opencv 3.1.0 source for Windows 8.0 intel i7, I am using VS2013, with ocl disabelled. As while running my application i am continously getting the following exception :

C:\fakepath\Error.png

But i have never built opencv from the source, I have no idea how to use CMake, i need guidance on that.

edit retag flag offensive close merge delete

Comments

About cmake you can read this tutorials. (install git bash) To start you can clone opencv :

git clone https://github.com/opencv/opencv.git
cd opencv 
cmake -G"Visual Studio 12 Win64" -DOPENCV_ENABLE_NONFREE=ON -DBUILD_SHARED_LIBS=ON -DBUILD_PERF_TESTS=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_DOCS=OFF -DWITH_OPENCL=OFF -DWITH_IPP=ON -DWITH_CUDA=OFF

If you have any problem come back with an error message and we will try to help you

Visual Studio 12 Win64 is vs 2013 in cmake

LBerger gravatar imageLBerger ( 2017-01-17 07:50:52 -0500 )edit