This is an old revision of the document!
First follow this instruktion: Install MobotWare on (K)Ubuntu
If you have Ubuntu 12.04 and ROS Fuerte you need a
/usr/lib/pkgconfig/opencv-2.3.1.pc
like this
# Package Information for pkg-config prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir_old=${prefix}/include/opencv-2.3.1/opencv includedir_new=${prefix}/include/opencv2 includedir_ros=/opt/ros/fuerte/include Name: OpenCV Description: Open Source Computer Vision Library Version: 2.3.1 #Libs: -l${exec_prefix}/lib/libopencv_contrib.so.2.3.1 -l${exec_prefix}/lib/libopencv_legacy.so.2.3.1 -l${exec_prefix}/lib/libopencv_objdetect.so.2.3.1 -l${exec_prefix}/lib/libopencv_calib3d.so.2.3.1 -l${exec_prefix}/lib/libopencv_features2d.so.2.3.1 -l${exec_prefix}/lib/libopencv_video.so.2.3.1 -l${exec_prefix}/lib/libopencv_highgui.so.2.3.1 -l${exec_prefix}/lib/libopencv_ml.so.2.3.1 -l${exec_prefix}/lib/libopencv_imgproc.so.2.3.1 -l${exec_prefix}/lib/libopencv_flann.so.2.3.1 -l${exec_prefix}/lib/libopencv_core.so.2.3.1 Libs: -lopencv_contrib -lopencv_legacy -lopencv_objdetect -lopencv_calib3d \ -lopencv_features2d -lopencv_video -lopencv_highgui -lopencv_ml \ -lopencv_imgproc -lopencv_flann -lopencv_core Cflags: -I${includedir_old} -I${includedir_new} -I${includedir_ros}
Then do the following steps to compile and install the entire package:
deprecated
/usr/bin$ sudo ln -s g++ g++44
If you have problems with compiling RHD because of RTAI install RTAI using the instructions
Download stage 2.1.0 Install stage 2.1 ./configure sudo make install
make the following change in makefile for simstage211
#INC = -I../../include -I../../src -I/usr/local/include/stage-2.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include #Fix made for bug in 11.04 be awere if the bug is fixed!! INC = -I../../include -I../../src -I/usr/local/include/stage-2.1 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include/
The
i386-linux-gnu
library depends on the installation and the hardware on the pc where you try to install MobotWare
Not working yet
install libfltk and libfltk-dev make the folloing changes in simstage3/stage3-dtu makefile
line 38-42 # The top-level source directory on which CMake was run. CMAKE_SOURCE_DIR = /home/claes/MobotWare/Mobotware/rhd/trunk/plugins/simstage3/stage-3.2.2.DTU
# The top-level build directory on which CMake was run. CMAKE_BINARY_DIR = /home/claes/MobotWare/Mobotware/rhd/trunk/plugins/simstage3/stage-3.2.2.DTU
line 110, 140, 142