[openrtm-users 00443] OpenRTM compilation erro

2 個の投稿 / 0 new
最終投稿
root
オフライン
Last seen: 5日 12時間 前
登録日: 2009-06-23 14:31
[openrtm-users 00443] OpenRTM compilation erro

st1\:*{behavior:url(#default#ieooui) }

Dear all,

 

When I try to compile OpenRTM I get the following error. I
have install all dependencies. Do you have any idea about this.

 

Error:

 

g++ -DHAVE_CONFIG_H -I. -I.
-I. -I.. -I../rtm/idl -I/usr/local/include
-Wall -I/usr/local/include/COS/ -I/usr/local/include -Wall -O
-I/usr/local/include/COS/ -MT NVUtil.lo -MD -MP -MF .deps/NVUtil.Tpo -c
NVUtil.cpp  -fPIC -DPIC -o .libs/NVUtil.o

NVUtil.cpp: In function
'void NVUtil::copyToProperties(RTC::Properties&, const
SDOPackage::NVList&)':

NVUtil.cpp:117: error: no
match for 'operator>>=' in '((const SDOPackage::NVList*)nv)->SDOPackage::NVList::<anonymous>._CORBA_Unbounded_Sequence<SDOPackage::NameValue>::<anonymous>._CORBA_Sequence<T>::operator[]
[with T = SDOPackage::NameValue](i)->SDOPackage::NameValue::value >>=
value'

/usr/local/include/omniORB4/CORBA_Any.h:82:
note: candidates are: void CORBA::Any::operator>>=(cdrStream&) const

/usr/local/include/omniORB4/CORBA_Any.h:166:
note:                 CORBA::Boolean
CORBA::Any::operator>>=(CORBA::Short&) const

/usr/local/include/omniORB4/CORBA_Any.h:167:
note:                 CORBA::Boolean
CORBA::Any::operator>>=(CORBA::UShort&) const

/usr/local/include/omniORB4/CORBA_Any.h:168:
note:                 CORBA::Boolean
CORBA::Any::operator>>=(CORBA::Long&) const

 

 

Thanks and regards,

Nethali.

 

未定義
root
オフライン
Last seen: 5日 12時間 前
登録日: 2009-06-23 14:31
[openrtm-users 00444] OpenRTM compilation erro

This is usually caused by a change in the API between omniORB-4.0 and
omniORB-4.1. If you have omniORB-4.1 installed, you need to make the
following changes to the source code:

In the file rtm/NVUtil.cpp, change "char*" to "const char*" on lines
116, 132, 178, 203, 225, 258.

In the rtm/ directory, change all occurances of
PortableServer::RefCountServantBase to PortableServer::ServantBase. You
can do this with a couple of Perl commands executed in that directory:

perl -pi -e 's/RefCountServantBase/ServantBase/' *.h
perl -pi -e 's/RefCountServantBase/ServantBase/' *.cpp

Or use sed if you prefer.

Geoff Biggs

ZOYSA Nethali wrote:
> Dear all,
>
>
>
> When I try to compile OpenRTM I get the following error. I have install
> all dependencies. Do you have any idea about this.
>
>
>
> Error:
>
>
>
> g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I../rtm/idl -I/usr/local/include
> -Wall -I/usr/local/include/COS/ -I/usr/local/include -Wall -O
> -I/usr/local/include/COS/ -MT NVUtil.lo -MD -MP -MF .deps/NVUtil.Tpo -c
> NVUtil.cpp -fPIC -DPIC -o .libs/NVUtil.o
>
> NVUtil.cpp: In function 'void NVUtil::copyToProperties(RTC::Properties&,
> const SDOPackage::NVList&)':
>
> NVUtil.cpp:117: error: no match for 'operator>>=' in '((const
> SDOPackage::NVList*)nv)->SDOPackage::NVList::._CORBA_Unbounded_Sequence::._CORBA_Sequence::operator[]
> [with T = SDOPackage::NameValue](i)->SDOPackage::NameValue::value >>= value'
>
> /usr/local/include/omniORB4/CORBA_Any.h:82: note: candidates are: void
> CORBA::Any::operator>>=(cdrStream&) const
>
> /usr/local/include/omniORB4/CORBA_Any.h:166: note:
> CORBA::Boolean CORBA::Any::operator>>=(CORBA::Short&) const
>
> /usr/local/include/omniORB4/CORBA_Any.h:167: note:
> CORBA::Boolean CORBA::Any::operator>>=(CORBA::UShort&) const
>
> /usr/local/include/omniORB4/CORBA_Any.h:168: note:
> CORBA::Boolean CORBA::Any::operator>>=(CORBA::Long&) const
>
>
>
>
>
> Thanks and regards,
>
> Nethali.
>
>
>

コメントを投稿するにはログインまたはユーザー登録を行ってください

ダウンロード

最新バージョン

初めての方へ

Windows msi(インストーラ) パッケージ (サンプルの実行ができます。)

C++,Python,Java,
Toolsを含む
1.2.1-RELEASE

RTコンポーネントを開発するためには開発環境のインストールが必要です。詳細はダウンロードページ

統計

Webサイト統計
ユーザ数:1840
プロジェクト統計
RTコンポーネント297
RTミドルウエア28
ツール22
文書・仕様書1

Choreonoid

モーションエディタ/シミュレータ

OpenHRP3

動力学シミュレータ

OpenRTP

統合開発プラットフォーム

産総研RTC集

産総研が提供するRTC集

TORK

東京オープンソースロボティクス協会

DAQ-Middleware

ネットワーク分散環境でデータ収集用ソフトウェアを容易に構築するためのソフトウェア・フレームワーク