Beiträge von david.radakovits

    Das ist der Output, es wird kein binary erzeugt, ebenso mit den zusätzlichen Parametern.

    Zitat

    david$ clang++ -v -xc++ '-###' -o hello2 hello2.cpp -std=c++11 -stdlib=libc++
    clang version 3.6.2 (tags/RELEASE_362/final)
    Target: x86_64-apple-darwin10.8.0
    Thread model: posix
    "/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" "-cc1" "-triple" "x86_64-apple-macosx10.6.0" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "hello2.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-munwind-tables" "-target-cpu" "core2" "-target-linker-version" "97.17" "-v" "-dwarf-column-info" "-resource-dir" "/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2" "-stdlib=libc++" "-std=c++11" "-fdeprecated-macro" "-fdebug-compilation-dir" "/Users/david/hello2" "-ferror-limit" "19" "-fmessage-length" "209" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-10.6.0" "-fencode-extended-block-signature" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-3e732d.o" "-x" "c++" "hello2.cpp"
    "/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "hello2" "-lcrt1.10.6.o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello2-3e732d.o" "-lc++" "-lSystem"

    Zitat

    david$ clang++ -v -xc++ '-###' -o hello1 hello1.cpp
    clang version 3.6.2 (tags/RELEASE_362/final)
    Target: x86_64-apple-darwin10.8.0
    Thread model: posix
    "/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/clang" "-cc1" "-triple" "x86_64-apple-macosx10.6.0" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "hello1.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-munwind-tables" "-target-cpu" "core2" "-target-linker-version" "97.17" "-v" "-dwarf-column-info" "-resource-dir" "/usr/local/Cellar/llvm36/3.6.2/lib/llvm-3.6/bin/../lib/clang/3.6.2" "-fdeprecated-macro" "-fdebug-compilation-dir" "/Users/david/hello1" "-ferror-limit" "19" "-fmessage-length" "160" "-stack-protector" "1" "-mstackrealign" "-fblocks" "-fobjc-runtime=macosx-10.6.0" "-fencode-extended-block-signature" "-fcxx-exceptions" "-fexceptions" "-fmax-type-align=16" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello1-48f8ee.o" "-x" "c++" "hello1.cpp"
    "/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "hello1" "-lcrt1.10.6.o" "/var/folders/u7/u7LFvaCFGoS9G-hh0tfg4k+++TI/-Tmp-/hello1-48f8ee.o" "/usr/lib/libstdc++.6.dylib" "-lSystem"

    Zitat

    david$ wx-config --libs --cxxflags
    -I/usr/local/Cellar/wxmac/3.0.2/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/Cellar/wxmac/3.0.2/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__
    -L/usr/local/Cellar/wxmac/3.0.2/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau_xrc-3.0 -lwx_osx_cocoau_html-3.0 -lwx_osx_cocoau_qa-3.0 -lwx_osx_cocoau_adv-3.0 -lwx_osx_cocoau_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0

    So!
    Libtiff und wxmac recompiliert.
    touchtest funktioniert!
    /usr/local/bin/clang ist die version 3.6.x

    Dann habe ich das cmake ausgeführt:

    Zitat

    david$ which python
    /usr/local/bin/python
    david$ /usr/local/bin/python
    Python 2.7.10 (default, Aug 29 2015, 11:14:00)
    [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.

    Wenn ich aber 'python' eingebe, sagt er Version 2.7.10 wäre installiert.
    In der Tat findet man unter /usr/bin/python aber die Version 2.6.x.

    Was tun?

    libtiff:

    Zitat

    david$ brew install libtiff --cc=gcc-5
    ==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.4.tar.gz
    Already downloaded: /Library/Caches/Homebrew/libtiff-4.0.4.tar.gz
    ==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.4 --without-x --disable-lzma --with-jpeg-include-dir=/usr/local/opt/jpeg/include --with-jpeg-lib-dir=/usr
    ==> make install
    /usr/local/Cellar/libtiff/4.0.4: 257 files, 3,9M, built in 63 seconds

    wxmac: