Openpose: Fatal error: 'opencv2/highgui/highgui.hpp' file not found

Created on 20 May 2019  路  2Comments  路  Source: CMU-Perceptual-Computing-Lab/openpose

Issue Summary

I am trying to build Open Pose on Mac Mojave . I followed the installation and installed prerequisites by running the scripts inside the repo. I configured and generated files using CMAKE but when I run make -j nproc I get an error. Look at image below.

OpenPose Output (if any)

image

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error

Your System Configuration

  1. https://pastebin.com/ZUNJfeat
    https://pastebin.com/5Ud357CQ

  2. Latest Version

  3. General configuration:

    • CMAKE
    • MAC OSX Mojave
    • Macbook Pro 2018
  4. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version (cmake --version in Ubuntu):
    • OpenCV version: pre-compiled
  5. If GPU mode issue:

    • OPEN-CL
  6. If Python API:

    • Python version: 3.7,

image

Mac OS

Most helpful comment

It's hidden in the instructions

You may also have to apply the following patch if you have the latest OSX 10.14. It can be done as follows:

cd 3rdparty/caffe; git apply ../../scripts/osx/mac_opencl_patch.txt

All 2 comments

It's hidden in the instructions

You may also have to apply the following patch if you have the latest OSX 10.14. It can be done as follows:

cd 3rdparty/caffe; git apply ../../scripts/osx/mac_opencl_patch.txt

@soulslicer Thank you for the reply. Applying the patch fixed my issue.

Was this page helpful?
0 / 5 - 0 ratings