Conversation
n-kawauchi
left a comment
There was a problem hiding this comment.
Ubuntu24.04環境での確認で、ビルドエラーになります。
まずTAOのインストールですが、下記ドキュメントの手順(TAO7.0.6利用)に従うと下記エラーになったため、最新の8.0.1を使いました。
https://openrtm.org/openrtm/ja/node/7131#ubuntu
cd TAO
make
:
../../tao/Any_Insert_Policy_T.h:42:14: error: ‘void CORBA::Any::operator<<=(unsigned char)’ is private within this context
42 | (*p) <<= x;
| ~~~~~^~~~~
OpenRTMのビルドは下記手順に従うとcmakeエラーになりました。
https://openrtm.org/openrtm/ja/doc/installation/install_2_0/cpp_2_0/build_2_0/openrtm_cpp_cmake_build#toc4
CMake Error at /usr/share/cmake-3.28/Modules/FindPkgConfig.cmake:619 (message):
The following required packages were not found:
- TAO_Svc_Utils
そこで、cmake直前にTAOインストール先のpkgconfigを指定したところcmakeは通りました。
export PKG_CONFIG_PATH=${ACE_INSTALL_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH
しかしビルドエラーになります。
cmake --build . --config Release -- -j$(nproc)
:
/home/vagrant/work/ace_install/include/tao/ParameterModeC.h:47:2: error: #error This file should be regenerated with TAO_IDL
47 | #error This file should be regenerated with TAO_IDL
| ^~~~~
In file included from /home/vagrant/work/ace_install/include/tao/IOPC.h:58:
/home/vagrant/work/ace_install/include/tao/OctetSeqC.h:56:2: error: #error This file should be regenerated with TAO_IDL
56 | #error This file should be regenerated with TAO_IDL
| ^~~~~
/home/vagrant/work/ace_install/include/tao/IOPC.h:61:2: error: #error This file should be regenerated with TAO_IDL
61 | #error This file should be regenerated with TAO_IDL
| ^~~~~
:以下、同様のエラーが続く
|
以下のエラーはACE+TAO-8.0.5ではUbuntu、Winodowsのどちらでも確認できませんでした。 |
|
Ubuntu24.04、ACE+TAO-8.0.5環境で、最新masterブランチをマージしてビルドしたところOpenrtmNamesPlugin.cppでエラーになります。cmake --build . --config Release -- -j$(nproc) でビルドしたところ詳細が全く出力されなかったので、オプションを変更してビルドしました。 |
|
修正しました。 |
n-kawauchi
left a comment
There was a problem hiding this comment.
cmakeでのインストール先を $ACE_INSTALL_DIR に指定しての動作確認で、各種confファイルの存在を確認した。(Ubuntu24.04環境にて)
- SHMIOP用設定ファイル
$ACE_INSTALL_DIR/etc/tao_shmiop/svc.shmiop.conf
$ACE_INSTALL_DIR/etc/tao_shmiop/rtc.shmiop.conf - SSLIOP用設定ファイル
$ACE_INSTALL_DIR/etc/tao_ssliop/rtc.ssliop.conf
$ACE_INSTALL_DIR/etc/tao_ssliop/svc.ssliop.conf - HTIOP用設定ファイル
$ACE_INSTALL_DIR/etc/tao_htiop/HT_Config.conf
$ACE_INSTALL_DIR/etc/tao_htiop/svc.htiop.conf
$ACE_INSTALL_DIR/etc/tao_htiop/rtc.htiop.conf
Identify the Bug
Description of the Change
TAOのSSLIOP、HTIOP、SHMIOP通信対応のために以下の修正を行った。
rtc.shmiop.conf、svc.confrtc.ssliop.conf、svc.confrtc.htiop.conf、svc.conf、HT_Config.confVerification