プロジェクト

全般

プロフィール

機能 #2369

rtm-configオプション追加

n-ando約12年前に追加. 約12年前に更新.

ステータス:
終了
優先度:
通常
担当者:
-
対象バージョン:
-
開始日:
2012/02/21
期日:
進捗率:

100%

予定工数:

説明

遅ればせながら私もopenrtm 1.1.0 に挑戦中なのですが,
いくつかディレクトリ構成が変わっているのに伴い,
rtm-configで以下の2つの機能(あるいはどちらかだけでも大丈夫でしょうか)があるといいかな,と思いました.

ただ,1.0.0 の rtm-configでもこれらのオプションを対応させなければいけないため,コストは高い気もします.
他によい方法をご存知の方がいたら教えてください.

1) XXXX/include/openrtm-1.1/rtm/idl ディレクトリだけを出力できるようになっていると,idlコンパイラなどへの引数で利用する
g++ -c -O3 -march=native -Wall -pipe -fPIC `pkg-config --cflags
opencv` -I`rtm-config --prefix`/include/rtm/idl -o calib.o calib.cpp
`rtm-config --idlc` `rtm-config --idlflags` -I`rtm-config
--prefix`/include/rtm/idl ../../idl/Img.idl
../../idl/Img.idl:6: No include path in which to find BasicDataType.idl
../../idl/Img.idl:39: Error in look-up of 'RTC::Time': 'RTC' not found
../../idl/Img.idl:47: Error in look-up of 'RTC::Time': 'RTC' not found
../../idl/Img.idl:62: Error in look-up of 'RTC::Time': 'RTC' not found
のようなコードがあったときに便利そうだ.

2) rtm-config --cflagsとすると,-Wall -fPIC
-gなども出力されますが,omniidlなどではこれらのオプションがエラーになる気がします.
rtm-config --cflags-only-I などがあるといいかな,と思いました.
_______________________________________

関係しているリビジョン

リビジョン 2330 (差分)
n-ando約12年前に追加

New options have been added to the rtm-config.
The rtm-config is created by configure AC_CONFiG_FILES macro.
New variables have been added to the openrtm-aist.pc.
refs #2369

リビジョン 2330 (差分)
n-ando約12年前に追加

New options have been added to the rtm-config.
The rtm-config is created by configure AC_CONFiG_FILES macro.
New variables have been added to the openrtm-aist.pc.
refs #2369

リビジョン 2331 (差分)
n-ando約12年前に追加

New options have been added to the rtm-config.
The rtm-config is created by configure AC_CONFiG_FILES macro.
New variables have been added to the openrtm-aist.pc.
refs #2369 (for RELENG_1_0)

リビジョン 2331 (差分)
n-ando約12年前に追加

New options have been added to the rtm-config.
The rtm-config is created by configure AC_CONFiG_FILES macro.
New variables have been added to the openrtm-aist.pc.
refs #2369 (for RELENG_1_0)

リビジョン 2333 (差分)
n-ando約12年前に追加

New options have been added to the rtm-config.
The rtm-config is created by configure AC_CONFiG_FILES macro.
New variables have been added to the openrtm-aist.pc.
refs #2369 (for RELENG_1_1)

リビジョン 2333 (差分)
n-ando約12年前に追加

New options have been added to the rtm-config.
The rtm-config is created by configure AC_CONFiG_FILES macro.
New variables have been added to the openrtm-aist.pc.
refs #2369 (for RELENG_1_1)

履歴

#1 n-ando約12年前に更新

  • ステータス新規 から 解決 に変更
  • 進捗率0 から 100 に変更

#2 n-ando約12年前に更新

  • ステータス解決 から 終了 に変更

他の形式にエクスポート: Atom PDF