Project 2014-2015-CannonBall/developer guide

From air
Jump to navigation Jump to search

Preambule

Configuration

Setting up the project

  1. Download the project from our Github repository Github
  2. Download and install Visual Studio (we used the 2013 version)
  3. Launch CanonBall\QRCode\QRcode.vcxproj with a double click
  4. Adding the includes
    • Add these 3 environment variables (Please refer to your OS documentation for any further indications). If you use Windows : Right click on Computer -> Properties -> Advanced properties -> Environment variables -> Add
      • CANNON_BALL path_to_your_cannon_ball_project
      • PATH $(CANNON_BALL)\QRcode\dll\mosquitto
      • PATH $(CANNON_BALL)\QRcode\dll\opencv\build\x86\v12\bin
    • In Visual Studio :
      • Add the include path : Right click on CannonBall project (Solution Explorer panel) -> Properties -> C/C++ -> Additional Include Directories : $(CANNON_BALL)\QRcode\include\opencv;$(CANNON_BALL)\QRcode\include
      • Add the include path : Right click on CannonBall project (Solution Explorer panel) -> Properties -> C/C++ -> Additional #using Directories : C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.VCLibs\12.0\References\CommonConfiguration\neutral;C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral. Please ensure that the path to Windows.pltfiurmd and windows.h is correct through windows explorer
      • Add the include path : Right click on CannonBall project (Solution Explorer panel) -> Properties -> Linker -> General -> Additional Library Directories : $(CANNON_BALL)\QRcode\lib\opencv;$(CANNON_BALL)\QRcode\lib
      • Add the include path : Right click on CannonBall project (Solution Explorer panel) -> Properties -> Linker -> Input -> Additional Dependencies :


opencv_calib3d249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_legacy249d.lib
opencv_ml249d.lib
opencv_nonfree249d.lib
opencv_objdetect249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_videostab249d.lib
mosquittopp.lib
mosquitto.lib



C:\Program Files (x86)\opencv\build\include;C:\Program Files (x86)\opencv\build\include\opencv;

C:\Program Files\mosquitto\devel;C:\Program Files (x86)\opencv\build\x86\vc12\lib;