Update Readme.md - pragma-libs in How to compile

pull/72/head
Alexey 9 years ago committed by GitHub
parent a9c0a8b2b5
commit 0be9b45835
  1. 7
      README.md

@ -85,6 +85,13 @@ Others: https://www.youtube.com/channel/UC7ev3hNVkx4DzZ3LO19oebg
3.1 (right click on project) -> properties -> C/C++ -> General -> Additional Include Directories
3.2 (right click on project) -> properties -> Linker -> General -> Additional Library Directories
3.3 Open file: `\src\yolo.c` and change 3 lines to your OpenCV-version - `249` (for 2.4.9), `2413` (for 2.4.13), ... :
* `#pragma comment(lib, "opencv_core249.lib")`
* `#pragma comment(lib, "opencv_imgproc249.lib")`
* `#pragma comment(lib, "opencv_highgui249.lib")`
4. If you have other version of OpenCV 3.x (not 2.4.x) then you should change many places in code by yourself.

Loading…
Cancel
Save