Unable to compile rviz on ubuntu armhf
I am building ROS Groovy Desktop on a Pandaboard running Ubuntu 12.04 Precise using armhf. As ROS is not currently released for armhf I have had to compile Groovy from source. I am attempting to compile RVIZ and it crashes part-way through with errors related to "undefined reference to 'vtable for Assimp::IOSystem' "
- Does anyone know how I can get past this error and get RVIZ to compile properly?
See below for the full output from running Make within the RVIZ directory:
[ 61%] Built target rviz
Linking CXX executable /home/user/ros_catkin_ws/devel_isolated/rviz/lib/rviz/rviz
[ 92%] Built target default_plugin
[ 92%] Generating moc_image_view.cxx
Scanning dependencies of target rviz_image_view
[ 92%] Building CXX object src/image_view/CMakeFiles/rviz_image_view.dir/image_view.cpp.o
/home/user/ros_catkin_ws/devel_isolated/rviz/lib/librviz.so: undefined reference to vtable for Assimp::IOSystem'
/home/user/ros_catkin_ws/devel_isolated/rviz/lib/librviz.so: undefined reference to
typeinfo for Assimp::IOSystem'
collect2: ld returned 1 exit status
make[2]: * [/home/user/ros_catkin_ws/devel_isolated/rviz/lib/rviz/rviz] Error 1
make[1]: [src/rviz/CMakeFiles/executable.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 92%] Building CXX object src/image_view/CMakeFiles/rviz_image_view.dir/main.cpp.o
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
from /usr/include/qt4/QtCore/qcoreapplication.h:45,
from /usr/include/qt4/QtGui/qapplication.h:45,
from /usr/include/qt4/QtGui/QApplication:1,
from /home/user/ros_catkin_ws/src/rviz/src/image_view/main.cpp:34:
/usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of ‘va_list’ has changed in GCC 4.4
[ 93%] Building CXX object src/image_view/CMakeFiles/rviz_image_view.dir/moc_image_view.cxx.o
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
from /usr/include/qt4/QtCore/qtimer.h:48,
from /usr/include/qt4/QtCore/QTimer:1,
from /home/user/ros_catkin_ws/src/rviz/src/image_view/image_view.cpp:32:
/usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of ‘va_list’ has changed in GCC 4.4
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
from /usr/include/qt4/QtGui/qwidget.h:46,
from /usr/include/qt4/QtGui/QWidget:1,
from /home/user/ros_catkin_ws/src/rviz/src/rviz/ogre_helpers/render_widget.h:32,
from /home/user/ros_catkin_ws/src/rviz/src/rviz/ogre_helpers/qt_ogre_render_window.h:6,
from /home/user/ros_catkin_ws/build_isolated/rviz/src/image_view/../../../../src/rviz/src/image_view/image_view.h:31,
from /home/user/ros_catkin_ws/build_isolated/rviz/src/image_view/moc_image_view.cxx:10:
/usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of ‘va_list’ has changed in GCC 4.4
Linking CXX executable /home/user/ros_catkin_ws/devel_isolated/rviz/lib/rviz/image_view
/home/user/ros_catkin_ws/devel_isolated/rviz/lib/librviz.so: undefined reference to vtable for Assimp::IOSystem'
/home/user/ros_catkin_ws/devel_isolated/rviz/lib/librviz.so: undefined reference to
typeinfo for Assimp::IOSystem'
collect2: ld returned 1 exit status
make[2]: [/home/user/ros_catkin_ws/devel_isolated/rviz/lib/rviz/image_view] Error 1
make[1]: [src/image_view/CMakeFiles/rviz_image_view.dir/all] Error 2
make: * [all] Error 2