On 1 October 2010 18:51, Morten Kjærgaard <Morten.Kjargaard@prevas.dk> wrote:
Hi

I have been struggling with cross compiling ROS for an arm platform, and I have large focus on making ROS packages cross compile more easily.

One of the largest challenges have turned out to be the dependency on the apache log4cxx library. It seems to be rather old, requires patching to compile with the newer gcc versions, and the APR and APR-util are really a pain to cross compile. I can see that many others have struggled with the same problems.


Actually, they're not too bad to cross-compile once you know how, but it is hard if everyone who wants to compile for arm has to handle this difficulty. We have some cmake 3rd party build recipes for cross-compiling ros in the ECL repository (courtesy of Yujin Robot), but I'll be moving these to the Eros repository (hosted by Willow Garage - refer to https://code.ros.org/gf/project/eros/forum/?_forum_action=ForumMessageBrowse&thread_id=33015&action=ForumBrowse&forum_id=88 for more information) shortly.

Eros is not really user ready yet, but I can move across the cmake build recipes for apr, apr-utils and log4cxx for you to make use of if you need them urgently.

Regards,
Daniel Stonier.
 
Anyone who has considered or experience with using another library instead? For example the proposed boost-log library:
http://boost-log.sourceforge.net/libs/log/doc/html/index.html

---------------------------
Morten Kjaergaard
Embedded Software Developer
 
Prevas A/S
Frederikskaj 6
DK-2450 Koebenhavn SV
 
morten.kjargaard@prevas.dk
www.prevas.dk

_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users



--
Phone : +82-10-5400-3296 (010-5400-3296)
Home: http://snorriheim.dnsdojo.com/
Yujin Robot: http://www.yujinrobot.com/
Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl