[openrtm-users 00023] Re: Windowsへの移植

Olivier Lemaire olivier.lemaire @ aist.go.jp
2005年 9月 20日 (火) 17:03:12 JST


Dear Ando-san,
Concerning the compilation of OpenRTM under Windows/TAO, here are some
points I whish you follow in future version to avoid compilation errors :

1 - When using CORBA sequences, cast the index to a CORBA::ULong
For example, in RtcManager.cpp line 341 and 342, factory_list[cnt] should be
factory_list[CORBA::ULong(cnt)]

2 - DON'T USE the _CORBA_String_Helper as it is defined only in OmniORB, not
in TAO. One option would be to define an RTM_String_Helper tht could
abstract the differences between ORBs for matters like strings.

3 - In RtcOutport.h line 201 instead of
temp <<= m_Buffer.get_new();
    use
*temp <<= m_Buffer.get_new();

Apart from that, OpenRTM could compile properly with Windows / Visual C++ 7.
1 / TAO

Regards,

Olivier Lemaire

-----Original Message-----
From: 稲村 渡 [mailto:wataru_inamura @ ihi.co.jp]
Sent: Tuesday, September 13, 2005 10:53 AM
To: openrtm-users @ m.aist.go.jp
Subject: [openrtm-users 00022] Windowsへの移植

稲村@IHIです。

OpenRTMのWindowsへの移植を計画しています。
もし、すでに行なった人がいたら、はまるであろう注意点など教えていただけないで
しょうか。
よろしくお願いします。

# これが初めてなら、人柱として順次報告しますが…





openrtm-users メーリングリストの案内