Ask Your Question
1

compilation windows cmd cmake

asked 2017-10-22 11:55:49 -0500

carton99 gravatar image

updated 2017-10-22 12:03:00 -0500

Hi, I would like build a "Hello world" program with the command line and cmake.

I am on Win7 and visual studio 2017 (vc15) I use prebuild for windows on openCV3.3

Problem I have a cmake error when I try cmake .

See my Cmakelist: cmake_minimum_required(VERSION 2.8) project( projet)

SET("OpenCV_DIR" "C:/Users/xxx/Desktop/opencv/build/x64/vc14")
find_package( OpenCV REQUIRED )
add_executable( 
    projetC
    Main.cpp
 )
target_link_libraries( projetC ${OpenCV_LIBS} )

My error message is :

Found OpenCV Windows Pack but it has no binaries compatible with your
  configuration. ...

I try thousand other methods, no one work.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-10-22 12:22:27 -0500

LBerger gravatar image

updated 2017-10-22 12:22:59 -0500

There is no prebuild for vs 2017. You have to compile yourself using opencv source code available on github

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-22 11:55:49 -0500

Seen: 212 times

Last updated: Oct 22 '17