From 0be9b45835eda071f5a1754581630e2f9e4891d3 Mon Sep 17 00:00:00 2001 From: Alexey <AlexeyAB@users.noreply.github.com> Date: Mon, 02 Jan 2017 12:30:24 +0000 Subject: [PATCH] Update Readme.md - pragma-libs in How to compile --- README.md | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index c597f27..404534b 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,13 @@ 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. -- Gitblit v1.10.0