Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for visual studio 2017 community edition #14

Open
AntonKukoba1 opened this issue Aug 21, 2019 · 1 comment
Open

Building for visual studio 2017 community edition #14

AntonKukoba1 opened this issue Aug 21, 2019 · 1 comment
Assignees

Comments

@AntonKukoba1
Copy link

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.
@Anton-V-K
Copy link

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")

@genbattle genbattle self-assigned this Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants