Skip to content
Snippets Groups Projects
Select Git revision
  • 195acfe8636bc8948645cd393913f6546a13a3eb
  • master default protected
  • beta
  • dev
  • andrewssobral-patch-1
  • update
  • thomas-fork
  • 2.0
  • v3.2.0
  • v3.1.0
  • v3.0
  • bgslib_py27_ocv3_win64
  • bgslib_java_2.0.0
  • bgslib_console_2.0.0
  • bgslib_matlab_win64_2.0.0
  • bgslib_qtgui_2.0.0
  • 2.0.0
  • bgs_console_2.0.0
  • bgs_matlab_win64_2.0.0
  • bgs_qtgui_2.0.0
  • v1.9.2_x86_mfc_gui
  • v1.9.2_x64_java_gui
  • v1.9.2_x86_java_gui
23 results

README_VISUAL_STUDIO_USERS.txt

  • user avatar
    Andrews Sobral authored
    Added last bgs algorithms.
    350243bf
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    README_VISUAL_STUDIO_USERS.txt 1.32 KiB
    ---------------------------------------------------
    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!