Hardware Reference
In-Depth Information
[ 26%] Building CXX object rviz/src/rviz/CMakeFiles/rviz.dir/tool_manag
er.cpp.o
[ 26%] Building CXX object rviz/src/rviz/CMakeFiles/rviz.dir/
uniform_string_stream.cpp.o
[ 27%] Building CXX object rviz/src/rviz/CMakeFiles/rviz.dir/view_control
ler.cpp.o
This is going to take a few hours to complete (we just left it building overnight and
came back to it in the morning). When it finishes, it should look something like this
(ignore the warnings; like Earth, they're mostly harmless):
{standard input}:10893: Warning: swp{b} use is deprecated for this architec
ture
[100%] Meta target for rviz_sip Python bindings...
[100%] Built target librviz_sip
You also need to use catkin_make to install these files into the /opt/ros/groovy ROS
structure, but because you need to run this as root, you have to take a few extra steps
(you can't just use sudo ). Just switch to a root session with sudo and su - , then change
back into your catkin workspace directory ( /home/pi/catkin_ws ). Once there, run cat
kin_make install , with the CMAKE_INSTALL_PREFIX definition set to /opt/ros/groovy :
$ sudo su -
$ cd /home/pi/catkin_ws
$ sudo catkin_make install -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy
$ exit
That should not take long to complete, but now you have all of your catkinized ROS
components ready and installed. Now you build the legacy ROS stacks (including the
NXT stack that you need to use):
$ cd ~
$ rosmake -i nxt
The -i flag tells rosmake to mark components hatbuild successfully with the ROS_NO
BUILD flag, which keeps rosmake from building things over and over later without any
good reason.
The rosmake build process generates a lot of output, but most of it isn't terribly useful.
It will attempt to build all the components in the nxt stack, along with the dependencies
you've downloaded. You can see that rosmake is iterating through all the catkinized
components and looking for its build files (and not finding them), which is where most
of the noisy output comes from. It should finish with output that looks something like
this:
[ rosmake ] Results:
[ rosmake ] Built 66 packages with 0 failures.
Search WWH ::




Custom Search