forked from andrewssobral/bgslibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME_VISUAL_STUDIO_USERS.txt
37 lines (32 loc) · 1.32 KB
/
README_VISUAL_STUDIO_USERS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---------------------------------------------------
BGSLibrary with Visual Studio 2010 and Opencv 2.4.x
---------------------------------------------------
1) Clone our VS2010 example project at [vs2010] folder
https://github.com/andrewssobral/bgslibrary/tree/master/vs2010
Or configure manually by:
1) Install OpenCV
1.a) Download OpenCV 2.4.x from http://opencv.org/
2.b) Install in: C:\OpenCV2.4.x
2.c) Add OpenCV binaries in your Path
C:\OpenCV2.4.x\build\x86\vc10\bin
2) Download BGSLibrary
2.a) Clone bgslibrary on GitHub at C:\bgslibrary
3) Start Visual Studio 2010
3.a) Create New Project
3.b) Select Visual C++ -> Win32 -> Win32 Console Application
3.c) Set project location: C:\bgslibrary
3.d) Set project name: bgslibrary
3.e) Set Empty project
3.f) Add Demo.cpp in [Source Files]
3.g) Add content of c:\bgslibrary\package_bgs\*.* in [Header Files]
3.h) Add content of c:\bgslibrary\package_analysis\*.* in [Header Files]
3.i) Change to [Release] [Win32] mode
3.j) Click on Project->Properties
3.k) Change [Output Directory] to ..\
3.l) Add OpenCV include in [C/C++] -> [Additional Include Directories]
C:\OpenCV2.4.x\build\include;C:\OpenCV2.4.x\build\include\opencv;
3.m) Add OpenCV libraries in [Linker]->[Input]
C:\OpenCV2.4.x\build\x86\vc10\lib\*.lib
3.n) Click in Build and wait
3.o) Run C:\bgslibrary\bgslibrary.exe
Enjoy!