How to install opencv 3.0.0 on windows 7 and Configure with Visual Studio 2014

preview_player
Показать описание
Simple Opencv installation on windows 7 and configure with visual studio 2014

Opencv installation procedure
Step2: Extract into a folder
C:\
Step3: Configure opencv with Visual studio
Set envirenment Vairable
variable name: OPENCV_DIR
value:C:\opencv\build\x86\vc12
Set Path:%OPENCV_DIR%\bin
Configure visual studio for opencv project
C/C++
additional include directories
$(OPENCV_DIR)\..\..\include

linker
additional include directories
$(OPENCV_DIR)\lib
Input
Рекомендации по теме
Комментарии
Автор

Excellent easy to follow instructions. Works like a charm. Thanks

sohailakhtar
Автор

Hi, do you know why this erros is show?
Error1 error LNK1104: cannot open file 'opencv_ts300d.lib'

imadesselimani
Автор

So if I want use opencv dll (like opencv_corexx etc) and not in a C++ project ...How to do it?

dariomolinari
Автор

after doing all these settings, when i run a program, it shows a lot of error saying error LNK 2019. how to solve it ?

rabiulkarim
Автор

Hi, do you know why this erros is show?
: Error 1 error LNK1112: module machine type 'x64' conflicts with target machine type studio

ThiagoGothic
Автор

Error 102 error LNK1112: module machine type 'x64' conflicts with target machine type studio
        


what should i do when this error occurs

anandkrishnan
Автор

hi, could you please help me? I've installed opencv 3.0.0 and visual studio 2013 and I'm trying to get them working. I followed your steps exactly however I still get a brunch of errors every time i try to debug and run any programs. I'm trying to run this simply program now

#include <opencv/highgui.h>
int main(int argc, char** argv) {
IplImage* img = cvLoadImage(argv[1]);
cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE);
cvShowImage("Example1", img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow("Example1");
}

wenhuapei
Автор

how do i know if i did everything correct??
if im writing a code there are so many "mistakes" so how can i really know if it is work?

barakkenan
Автор

Hi, thanks for your video! I can't find the link to download the sample code? Have you removed it? Thanks in advance!

Kralonok
Автор

ive got a lot of errors...i just traded the "$(OPENCV_DIR)\..\..include" for "C:\opencv\build\include" and now i got only one error.. its the error of the conflict x64 and x86.. and i traded the "%(OPENCV_DIR)\lib" for and now its works fine..thanks for the instructions

frovilzin
Автор

can you please tell me how can I resolve "MSVCR120D.dll is missing from computer"
system error when i run this program?

startingwithIT
Автор

Please
I need to activate and Opencv  Windows 7 with Visual Studio 2010

تلميذمحبللعلم
Автор

I added these libraries, it worked:
opencv_world320.lib
opencv_world320d.lib

hocnguyen
Автор

This is sloppy.
For example you say it's for VS 2014, but you use VS2013. Yes, I know there is probably not much difference, but this is sloppy. 
Still, the use of $OPENCV_DIR inside the property sheet of the application is one I had not thought of.

feraudyh