installing indigo on OS X Yosemite
I'm attempting to install indigo on OS X Yosemite and I'm running into compilation problems for gazebo. I'm trying to follow the instructions found at:
http://wiki.ros.org/indigo/Installati...
However I am stuck at the "Desktop-Full Install" step.
Here is the error portion of the output from running the gazebo install command manually I don't yet have enough points on the website to attach the full log:
brew install gazebo -v
# [..snip...]
[ 45%] Building CXX object gazebo/rendering/CMakeFiles/gazebo_rendering.dir/Camera.cc.o
cd /tmp/gazebo-8qUtmK/gazebo-1.9.6/build/gazebo/rendering && /usr/local/Library/ENV/4.3/clang++ -DMAC_OS_X_VERSION=1080 -Dgazebo_rendering_EXPORTS -O3 -DNDEBUG -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2 -msse3 -mssse3 -O3 -DNDEBUG -Wall -Wextra -Wno-long-long -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2 -msse3 -mssse3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fPIC -I/tmp/gazebo-8qUtmK/gazebo-1.9.6/test/gtest/include -I/tmp/gazebo-8qUtmK/gazebo-1.9.6 -I/tmp/gazebo-8qUtmK/gazebo-1.9.6/build -isystem /tmp/gazebo-8qUtmK/gazebo-1.9.6/gazebo/rendering/skyx -isystem /tmp/gazebo-8qUtmK/gazebo-1.9.6/gazebo/rendering/skyx/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks -isystem /usr/local/Cellar/ogre/1.7.4/include/OGRE/RTShaderSystem -isystem /usr/local/Cellar/ogre/1.7.4/include -isystem /usr/local/Cellar/ogre/1.7.4/include/OGRE -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat/2.1.0/include/sdformat-2.1 -fPIC -o CMakeFiles/gazebo_rendering.dir/Camera.cc.o -c /tmp/gazebo-8qUtmK/gazebo-1.9.6/gazebo/rendering/Camera.cc
In file included from /tmp/gazebo-8qUtmK/gazebo-1.9.6/gazebo/rendering/ArrowVisual.cc:24:
In file included from /tmp/gazebo-8qUtmK/gazebo-1.9.6/gazebo/rendering/Scene.hh:30:
In file included from /tmp/gazebo-8qUtmK/gazebo-1.9.6/gazebo/msgs/msgs.hh:24:
In file included from /tmp/gazebo-8qUtmK/gazebo-1.9.6/build/gazebo/msgs/MessageTypes.hh:2:
In file included from /tmp/gazebo-8qUtmK/gazebo-1.9.6/build/gazebo/msgs/axis.pb.h:23:
In file included from /usr/local/include/google/protobuf/message.h:120:
/usr/local/include/google/protobuf/descriptor.h:358:5: error: expected identifier
TYPE_BOOL = 8, // bool, varint on the wire.
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/ConditionalMacros.h:147:39: note: expanded from macro 'TYPE_BOOL'
#define TYPE_BOOL 1
^
Below is the output from the command in the instructions. I tried adding the -v flag to get a more detailed compiler error but that crashed as well.
rosdep install --from-paths src --ignore-src --rosdistro indigo -y
executing command [brew install gazebo]
==> Installing gazebo from osrf/homebrew-simulation
==> Downloading http://gazebosim.org/assets/distributions/gazebo-1.9.6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gazebo-1.9.6.tar.bz2
==> Downloading https://gist.githubusercontent.com/scpeters/9199370/raw/afe595587e38737c537124a3
Already downloaded: /Library/Caches/Homebrew/gazebo--patch-eaa6f843ab1264810c0c0a81ff3c52232fd49d12.patch
==> Patching
patching file ...
The actual error doesn't seem to be in the output, can you try to get the build output from
brew install gazebo -v
?I attached the actual compiler error I'm getting