[openrtm-users 02887] Re: (無題)

Ando Noriaki n-ando @ aist.go.jp
2013年 8月 23日 (金) 20:58:24 JST


Hello,

You do not need to cross-compile a RTC for RaspberryPi.  Please
install OpenRTM-aist on your RaspberryPi, copy generated code
into the RaspberryPi and do "cmake/make" on it.
You can perform self-compile on RaspberryPi linux systems.

I don't know how to create cross-compile environment on Ubuntu,
but if you already have cross-compile environment, please try
this tool.
http://svn.openrtm.org/Armadillo/trunk/tools/rtc-make-cross

Save this script as rtc-cmake-cross on "/usr/bin" or other
directories included in command search path, and give executable
permission.

If the target architecture of your RaspberryPi is armhf, you
might have to add the following line in the script.

ARCH_armhf=armhf-linux-gnueabi

rtc-cmake-cross can be used instead of cmake as follows.

$ mkdir build
$ cd build
$ rtc-cmake-cross -a armhf ..
$ make

This tool will create a.k.a tool-chain-file for cmake and do
cmake in cross-compile mode.

Good luck!!
Noriaki Ando




2013/8/23 Yuki Suga <ysuga @ ysuga.net>:
> Dear Park,
>
> Thank you for sending a lot, and I could find your original question thread.
>
>
> 1. Your RT-middlewares would be installed in /usr/lib64 directory.
> CMake will be able to find your RTM by using pkg-config command.
> Set search path of the pkg-config by inputting...
>
> # export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
>
> Please try this.
>
>
> 2. Cross-compiling
> I am not so familiar with the Rasberrypi.
> In the information about Rasberry-pi that I could find out, the author
> is using self-compiling.
>
> We need more help > To all.
>
>
> I hope this will help.
>
>
> Yuki.
>
>
>
> 2013/8/23  <dkzm00 @ gmail.com>:
>> Hi, ysuga. The OS of my PC is Windows7(64bit) and I uses Oracle VM
>> VirtualBox
>> for Ubuntu 12.04 LTS(64bit). The RT-Middleware is installed on the Ubuntu. I
>> uses the install script, which is provided on this site, for installation of
>> RT-Middleware. and I commanded... $ cd /usr/share/openrtm-1.1 $ sudo wget
>> http://openrtm.org/pub/openrtp/packages/1.1.0.rc4v20130216/eclipse381-openrtp110rc4v20130216-linux-gtk-x86_64.tar.gz
>> $ sudo tar xvzf eclipse381-openrtp110rc4v20130216-linux-gtk-x86_64.tar.gz $
>> cd /usr/bin $ sudo ln -s /usr/share/openrtm-1.1/eclipse/openrtp . $ cd $
>> openrtp The execuation of examples(ConsoleIn, ConsolOut) is running well. I
>> generate code and make sub-directory in the project folder. then, I
>> commanded... $ cmake .. The result is shown original question topic. Thank
>> you, Park
>>
>>
>> _______________________________________________
>> openrtm-users mailing list
>> openrtm-users @ openrtm.org
>> http://www.openrtm.org/mailman/listinfo/openrtm-users
>
>
>
> --
> ///////////////////////////////////////////////////////////////////
> // Yuki Suga, Ph.D.
> // URL: http://www.ysuga.net/?lang=en
> // E-mail: ysuga @ ysuga.net
> ///////////////////////////////////////////////////////////////////
> _______________________________________________
> openrtm-users mailing list
> openrtm-users @ openrtm.org
> http://www.openrtm.org/mailman/listinfo/openrtm-users


More information about the openrtm-users mailing list