dkm
dkm copied to clipboard
Building for visual studio 2017 community edition
JFYI:
- 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 ../
- The generated project won't build, you have to load dkm.sln and remove extra compilation options for each project.
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")