Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

compilation windows cmd cmake

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

I am on Win7 and visual studio 2015 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.

compilation windows cmd cmake

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

I am on Win7 and visual studio 2015 2017 (v15) 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.

compilation windows cmd cmake

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

I am on Win7 and visual studio 2017 (v15) (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.