Skip to content

Instantly share code, notes, and snippets.

@ramialbatal
Created April 26, 2014 22:38
Show Gist options
  • Select an option

  • Save ramialbatal/11333047 to your computer and use it in GitHub Desktop.

Select an option

Save ramialbatal/11333047 to your computer and use it in GitHub Desktop.

Revisions

  1. ramialbatal created this gist Apr 26, 2014.
    70 changes: 70 additions & 0 deletions OpenCV libtiff problem
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,70 @@
    brew --config
    HOMEBREW_VERSION: 0.9.5
    ORIGIN: https://github.com/Homebrew/homebrew
    HEAD: b40ef741b89e49f9edb6294fa8e0c7261e15eafe
    HOMEBREW_PREFIX: /usr/local
    HOMEBREW_CELLAR: /usr/local/Cellar
    CPU: quad-core 64-bit sandybridge
    OS X: 10.9.2-x86_64
    sh: line 1: 72376 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
    sh: line 1: 72379 Trace/BPT trap: 5 /usr/bin/xcodebuild -version 2> /dev/null
    Xcode: 5.1
    CLT: 5.1.0.0.1.1396320587
    GCC-4.2: build 5666
    Clang: 5.1 build 503
    X11: N/A
    System Ruby: 1.8.7-358
    Perl: /usr/bin/perl
    Python: /anaconda/bin/python => /anaconda/bin/python2.7
    Ruby: /usr/bin/ruby

    brew doctor
    Warning: Setting DYLD_* vars can break dynamic linking.
    Set variables:
    DYLD_LIBRARY_PATH
    sh: line 1: 72308 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
    sh: line 1: 72311 Trace/BPT trap: 5 /usr/bin/xcodebuild -version 2> /dev/null

    Warning: "config" scripts exist outside your system or Homebrew directories.
    `./configure` scripts often look for *-config scripts to determine if
    software packages are installed, and what additional flags to use when
    compiling and linking.

    Having additional scripts in your path can confuse software installed via
    Homebrew if the config script overrides a system or Homebrew provided
    script of the same name. We found the following "config" scripts:

    /anaconda/bin/curl-config
    /anaconda/bin/freetype-config
    /anaconda/bin/libdynd-config
    /anaconda/bin/libpng-config
    /anaconda/bin/libpng15-config
    /anaconda/bin/llvm-config
    /anaconda/bin/nc-config
    /anaconda/bin/python-config
    /anaconda/bin/python2-config
    /anaconda/bin/python2.7-config
    /anaconda/bin/xml2-config
    /anaconda/bin/xslt-config

    Warning: Python is installed at /Library/Frameworks/Python.framework

    Homebrew only supports building against the System-provided Python or a
    brewed Python. In particular, Pythons installed to /Library can interfere
    with other software installs.
    ramialbatal@Ramis-MacBook-Pro.loc

    brew install opencv
    sh: line 1: 68107 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
    sh: line 1: 68110 Trace/BPT trap: 5 /usr/bin/xcodebuild -version 2> /dev/null
    sh: line 1: 68128 Trace/BPT trap: 5 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
    sh: line 1: 68130 Trace/BPT trap: 5 /usr/bin/xcodebuild -version 2> /dev/null
    ==> Downloading https://github.com/Itseez/opencv/archive/2.4.8.2.tar.gz
    Already downloaded: /Library/Caches/Homebrew/opencv-2.4.8.2.tar.gz
    ==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.8.2 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-d
    ==> make
    ==> make install
    Warning: opencv dependency libtiff was built with a different C++ standard
    library (libc++ from clang). This could cause problems at runtime.
    🍺 /usr/local/Cellar/opencv/2.4.8.2: 223 files, 47M, built in 4.6 minutes