アットウィキロゴ

ROS 0.7 インストール@Mac OS X 10.5.7

ros-0.7が出たのでそれでやってみる@MacOSX

http://sourceforge.net/projects/ros/files/ros/0.7.0/ros-0.7.0.tar.bz2/download
から
ros-0.7.tar.bz2
をダウンロード

tar jxvf ros-0.7.tar.bz2

で展開

cd ros-0.7
make

。。。

CMake Error at CMakeLists.txt:3 (rosbuild_init):
  Unknown CMake command "rosbuild_init".


-- Configuring incomplete, errors occurred!
make[1]: *** [all] Error 1

で失敗。。。

READMEを見ると
環境変数の設定が必要っぽいけど、すでにしてあった。
が、念のため、
すでにあるrosを移すことにした。

mv ~/ros/ros ~/ros/ros-svn
mv ros-0.7 ~/ros/ros
cd ~/ros/ros
make clean
make

とすると動き出した。

→成功した

今までのやつもここまでは成功していたのだろう。
ros本体ではなく個々のパッケージに問題があるみたいだ。

rosmake roscpp_tutorials

としてみな、っていわれたので、
やってみた。

成功。

rosmake 2dnav_stage

以下のように失敗。
わからん。。。


-- Check for working CXX compiler: /usr/bin/c++
CMake Error at /opt/local/share/cmake-2.6/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT):
  get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:2 (PROJECT)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /opt/local/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
  The C++ compiler "/usr/bin/c++" is not able to compile a simple test
  program.

  It fails with the following output:

  

  

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


-- Configuring incomplete, errors occurred!
make: *** [all] Error 1
[rosmake] (24 of 51) error while building rostopic in /Users/ogutti/ros/ros/tools/rostopic. aborting...


rosmake move_base_stage

もためす

Linking CXX shared library ../lib/libstarfeature.dylib
Undefined symbols:
  "StarDetector::SCALE_RATIO", referenced from:
      __ZN12StarDetector11SCALE_RATIOE$non_lazy_ptr in detector.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [../lib/libstarfeature.dylib] Error 1

となりだめ。
最終更新:2009年07月29日 20:57
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。