- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have an issue when start building and do cmake for sample and programs .
I'm using ubuntu 18.04 - openvino 2020 .
my cmake error saying .
The required 'gflags' library was not found in the Inference Engine's
below the full terminal output error :
mohanadkoko92@mohanadkoko92:~/tutorials/inference-tutorials-generic/face_detection_tutorial/step_1/build$ cmake ..
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.
-- InferenceEngine_DIR=/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/share
-- CMAKE_MODULE_PATH=/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/share/../samples/cmake
-- Looking for inference engine configuration file at: /home/mohanadkoko92/tutorials/inference-tutorials-generic/face_detection_tutorial/share
CMake Error at /home/mohanadkoko92/tutorials/inference-tutorials-generic/face_detection_tutorial/cmake/CMakeLists_common.cmake:135 (message):
The required 'gflags' library was not found in the Inference Engine's
samples at:
/opt/intel/openvino_2020.4.287/deployment_tools/inference_engine/share/../samples/thirdparty/gflags
Call Stack (most recent call first):
CMakeLists.txt:17 (include)
-- Configuring incomplete, errors occurred!
See also "/home/mohanadkoko92/tutorials/inference-tutorials-generic/face_detection_tutorial/step_1/build/CMakeFiles/CMakeOutput.log".
- Tags:
- OpenVino
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohand Koko,
This seems more like an issue with CMake. What is the version of CMake that you’re using ?
OpenVINO requires CMake 2.8 or higher for Linux build environment.
https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/system-requirements.html
I would suggest you try the following:
· Reinstall a higher version of CMake.
· Download and install gflags package from https://github.com/gflags/gflags, and declare dependency on gflags with CMake.
Link: https://gflags.github.io/gflags/#cmake
Regards,
Munesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohand,
This thread will no longer be monitored since we have provided recommendations. If you need any additional information from Intel, please submit a new question.
Regards,
Munesh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page