Compilation error building Rviz on OSX Lion
Hi all,
I'm trying to build rviz on Osx Lion.
I found some errors along the path but I fixed it by replacing my old macports libraries with the corresponding universal
version.
Otherwise at the moment I have a problem with yaml_cpp
. Below you can see the log:
make -f Makefile wipe
rm -rf yaml-cpp build/yaml-cpp-0.2.5
cd build && make clean
/bin/sh: line 0: cd: build: No such file or directory
make[1]: [clean] Error 1 (ignored)
rm -rf build
touch wiped
mkdir -p build
if [ ! -f yaml-cpp-0.2.5.tar.gz.md5sum ]; then echo "Error: Couldn't find md5sum file yaml-cpp-0.2.5.tar.gz.md5sum" && false; fi
`rospack find rosbuild`/bin/download_checkmd5.py http://yaml-cpp.googlecode.com/files/yaml-cpp-0.2.5.tar.gz build/yaml-cpp-0.2.5.tar.gz `awk {'print $1'} yaml-cpp-0.2.5.tar.gz.md5sum`
[rosbuild] Downloading http://yaml-cpp.googlecode.com/files/yaml-cpp-0.2.5.tar.gz to build/yaml-cpp-0.2.5.tar.gz...Done
[rosbuild] Checking md5sum on build/yaml-cpp-0.2.5.tar.gz
touch -c build/yaml-cpp-0.2.5.tar.gz
rm -rf build/yaml-cpp-0.2.5
cd build; tar -xzf ../build/yaml-cpp-0.2.5.tar.gz
touch build/yaml-cpp-0.2.5/unpacked
cd build && cmake -DCMAKE_INSTALL_PREFIX=../yaml-cpp yaml-cpp-0.2.5
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/luca/Software/ros/common/yaml_cpp/build
cd build && make && make install
Scanning dependencies of target yaml-cpp
[ 3%] Building CXX object CMakeFiles/yaml-cpp.dir/src/aliascontent.cpp.o
[ 6%] Building CXX object CMakeFiles/yaml-cpp.dir/src/conversion.cpp.o
[ 10%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o
[ 13%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o
[ 17%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o
[ 20%] Building CXX object CMakeFiles/yaml-cpp.dir/src/exp.cpp.o
[ 24%] Building CXX object CMakeFiles/yaml-cpp.dir/src/iterator.cpp.o
[ 27%] Building CXX object CMakeFiles/yaml-cpp.dir/src/map.cpp.o
[ 31%] Building CXX object CMakeFiles/yaml-cpp.dir/src/node.cpp.o
[ 34%] Building CXX object CMakeFiles/yaml-cpp.dir/src/null.cpp.o
[ 37%] Building CXX object CMakeFiles/yaml-cpp.dir/src/ostream.cpp.o
[ 41%] Building CXX object CMakeFiles/yaml-cpp.dir/src ...