Gazebo install on Mac OS x El Capitan

asked 2016-10-21 00:51:33 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Brew results is as follow:

==> Installing gazebo8 from osrf/simulation ==> Installing dependencies for osrf/simulation/gazebo8: ignition-msgs, ignition-transport2, qwt, sdformat4, tinyxml2, bullet, simbody ==> Installing osrf/simulation/gazebo8 dependency: ignition-msgs ==> Downloading http://gazebosim.org/distributions/ig... Already downloaded: /Users/carinegiordanengo/Library/Caches/Homebrew/ignition-msgs-0.5.0.tar.bz2 ==> Verifying ignition-msgs-0.5.0.tar.bz2 checksum tar xjf /Users/carinegiordanengo/Library/Caches/Homebrew/ignition-msgs-0.5.0.tar.bz2 ==> Downloading https://bitbucket.org/ignitionrobotic... Already downloaded: /Users/carinegiordanengo/Library/Caches/Homebrew/ignition-msgs--patch-3a63ba7e302f482a43cca0272bd747c984690179563655ac4bb9ac7e55fe6154 ==> Verifying ignition-msgs--patch-3a63ba7e302f482a43cca0272bd747c984690179563655ac4bb9ac7e55fe6154 checksum ==> Patching ==> Applying raw /usr/bin/patch -g 0 -f -p1 -i /private/tmp/ignition-msgs--patch-20161021-68417-w6fnek/raw patching file cmake/pkgconfig/ignition-msgs.in ==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/ignition-msgs/0.5.0_1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DHAVE_CLOCK_GETTIME:INTERNAL=0 -- The C compiler identification is AppleClang 7.3.0.7030031 -- The CXX compiler identification is AppleClang 7.3.0.7030031 -- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -- broken CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/usr/local/Homebrew/Library/Homebrew/shims/super/clang" is not able to compile a simple test program.

It fails with the following output:

Change Dir: /tmp/ignition-msgs-20161021-68417-1urowhb/ignition-msgs-0.5.0/CMakeFiles/CMakeTmp

Run Build Command:"/usr/local/Homebrew/Library/Homebrew/shims/super/gmake" "cmTC_ddbba/fast"

/Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ddbba.dir/build.make CMakeFiles/cmTC_ddbba.dir/build

Building C object CMakeFiles/cmTC_ddbba.dir/testCCompiler.c.o

/usr/local/Homebrew/Library/Homebrew/shims/super/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -o CMakeFiles/cmTC_ddbba.dir/testCCompiler.c.o -c /tmp/ignition-msgs-20161021-68417-1urowhb/ignition-msgs-0.5.0/CMakeFiles/CMakeTmp/testCCompiler.c

Linking C executable cmTC_ddbba

/usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ddbba.dir/link.txt --verbose=1

/usr/local/Homebrew/Library/Homebrew/shims/super/clang -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_ddbba.dir/testCCompiler.c.o -o cmTC_ddbba

ld: unexpected token: !tapi-tbd-v2 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libSystem.tbd' for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make[1]: * [cmTC_ddbba] Error 1

make: * [cmTC_ddbba/fast] Error 2

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project)

-- Configuring incomplete, errors occurred! See also "/tmp/ignition-msgs-20161021-68417-1urowhb/ignition-msgs-0.5.0/CMakeFiles/CMakeOutput.log". See also "/tmp/ignition-msgs-20161021-68417-1urowhb/ignition-msgs-0.5.0/CMakeFiles/CMakeError.log". ==> Formula Tap: osrf/simulation Path: /usr/local/Homebrew/Library/Taps/osrf/homebrew-simulation/ignition-msgs.rb ==> Configuration HOMEBREW_VERSION: >1.0.0 (no git repository) ORIGIN: https://github.com/Homebrew/brew HEAD: 0296439c832a915be9b73456c0c26bc6c79c271d Last commit: 4 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew- ... (more)

edit retag flag offensive close merge delete