dkm icon indicating copy to clipboard operation
dkm copied to clipboard

Building for visual studio 2017 community edition

Open AntonKukoba1 opened this issue 5 years ago • 1 comments

JFYI:

  1. It won't be able to find opencv out-of-the-box. So you have to put is manually: mkdir build cd build cmake -G"Visual Studio 15 2017 Win64" -DOpenCV_DIR=D:\opencv\build ../
  2. The generated project won't build, you have to load dkm.sln and remove extra compilation options for each project.

AntonKukoba1 avatar Aug 21 '19 12:08 AntonKukoba1

The 2-nd issue should be fixed in CMakeLists.txt - there are 2 lines which contain compiler-specific options:

set(DEBUG_FLAGS "-std=c++11 -g -O1 -Wall -Wextra -Werror -pedantic")
set(RELEASE_FLAGS "-std=c++11 -O3 -Wall -Wextra -Werror -pedantic")

Anton-V-K avatar Jan 27 '21 14:01 Anton-V-K