Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about installation on MacOS #764

Closed
ShuminY opened this issue Aug 1, 2018 · 3 comments
Closed

question about installation on MacOS #764

ShuminY opened this issue Aug 1, 2018 · 3 comments

Comments

@ShuminY
Copy link

ShuminY commented Aug 1, 2018

Issue Summary

cmake configuration failed (Mac) and got below output by CMake GUI:
**Building CPU Only.
Found gflags (include: /usr/local/include, library: /usr/local/lib/libgflags.dylib)
Found glog (include: /usr/local/include, library: /usr/local/lib/libglog.dylib)
Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
Caffe will be downloaded from source now. NOTE: This process might take several minutes depending
on your internet connection.
fatal: Not a git repository (or any of the parent directories): .git

Already on 'master'

Your branch is up to date with 'origin/master'.

Caffe will be built from source now.
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.12/Modules/ExternalProject.cmake:2525 (message):
No download info given for 'openpose_caffe' and its source directory:

/Users/yangshumin/AGV/OpenPose/openpose/3rdparty/caffe

is not an existing non-empty directory. Please specify one of:

  • SOURCE_DIR with an existing non-empty directory
  • DOWNLOAD_COMMAND
  • URL
  • GIT_REPOSITORY
  • SVN_REPOSITORY
  • HG_REPOSITORY
  • CVS_REPOSITORY and CVS_MODULE
    Call Stack (most recent call first):
    /Applications/CMake.app/Contents/share/cmake-3.12/Modules/ExternalProject.cmake:3100 (_ep_add_download_command)
    CMakeLists.txt:687 (ExternalProject_Add)

Download the models.
Downloading BODY_25 model...
Model already exists.
Not downloading body (COCO) model
Not downloading body (MPI) model
Downloading face model...
Model already exists.
Downloading hand model...
Model already exists.
Models Downloaded.
Configuring incomplete, errors occurred!
See also "/Users/yangshumin/AGV/OpenPose/openpose/build/CMakeFiles/CMakeOutput.log".**

Executed Command (if any)

cmake configure

Type of Issue

  • Compilation/installation error

Your System Configuration

  1. Latest clone from GitHub master branch

  2. General configuration:

    • Installation mode: CMake(Mac)
    • Operating system (macOS 10.13.6):
    • Release or Debug mode? ( release):
    • Compiler (gcc --version):
      Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
      Apple LLVM version 9.1.0 (clang-902.0.39.2)
      Target: x86_64-apple-darwin17.7.0
      Thread model: posix
      InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  3. 3rd-party software:

    • Caffe version: not installed
    • CMake version 3.11.4:
    • OpenCV version: ?
  4. If CPU-only mode issue:

    • CPU brand & model:intel i5
    • Total RAM memory available:8G
  5. If Python API:

    • Python version: 2.7.15
    • Numpy version (python -c "import numpy; print numpy.version.version" in Ubuntu):1.14.3
@ShuminY
Copy link
Author

ShuminY commented Aug 3, 2018

I found the solution at #423

git cloning caffe to 3rdparty/ get this fixed.

@stale
Copy link

stale bot commented Oct 15, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale/old label Oct 15, 2018
@stale stale bot closed this as completed Oct 22, 2018
@airman00
Copy link

airman00 commented May 4, 2019

Related issue I experienced on MacOSX

If you get this error

CMake Error at /Applications/CMake.app/Contents/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler
    "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
  is not able to compile a simple test program.

You may need to run this in Terminal before you run your make command
export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/bin/c++:/usr/bin/make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants