open_model_zoo icon indicating copy to clipboard operation
open_model_zoo copied to clipboard

background_subtraction_demo cpp cannot build

Open kminemur opened this issue 2 years ago • 0 comments

cmake .. got error due to CMakeLists.txt is not completed.

CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt: cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning at CMakeLists.txt:9 (message): background_subtraction_demo_gapi skipped. No suitable OpenCV version detected.

CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.26)

should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done (0.0s) -- Generating done (0.0s)

kminemur avatar Feb 23 '24 17:02 kminemur