Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Arduino Galileo: compile error

I've installed the Arduino IDE 1.5.3 for a Galileo-Board. Following the instructions on the wiki, I installed rosserial from github, and "catkin_make"ed and "catkin_make install"ed my ws. Everything worked fine.

When I came to run "rosrun rosserial_arduino make_libraries.py .", it stops with an error:

*** Warning, failed to generate libraries for the following packages: ***
    map_msgs

According to several posts and viewing the source of make_libraries.py, this should not be too bad, because generating the messages is the last thing done (correct?). Still, I'd be glad if someone knows how to fix this.

My actual problem is when I compile any of the ROS examples, I get something like

Arduino: 1.5.3 (Linux), Board: "IntelĀ® Galileo"

done
xyz.cpp.o: In function `ArduinoHardware::init()':
/home/moritz/Arduino/libraries/ros_lib/ArduinoHardware.h:96: undefined reference to `HardwareSerial::begin(unsigned long)'
collect2: error: ld returned 1 exit status

To me this looks like a linker error(?), but that does not help me any further. Any help would be appreciated!

Arduino Galileo: compile errorerror when using ros

I've installed the Arduino IDE 1.5.3 for a Galileo-Board. Following the instructions on the wiki, I installed rosserial from github, and "catkin_make"ed and "catkin_make install"ed my ws. Everything worked fine.

When I came to run "rosrun rosserial_arduino make_libraries.py .", it stops with an error:

*** Warning, failed to generate libraries for the following packages: ***
    map_msgs

According to several posts and viewing the source of make_libraries.py, this should not be too bad, because generating the messages is the last thing done (correct?). Still, I'd be glad if someone knows how to fix this.

My actual problem is when I compile any of the ROS examples, I get something like

Arduino: 1.5.3 (Linux), Board: "IntelĀ® Galileo"

done
xyz.cpp.o: In function `ArduinoHardware::init()':
/home/moritz/Arduino/libraries/ros_lib/ArduinoHardware.h:96: undefined reference to `HardwareSerial::begin(unsigned long)'
collect2: error: ld returned 1 exit status

To me this looks like a linker error(?), but that does not help me any further. further. Compiling simple examples and uploading them to the board works fine.

Any help would be appreciated!