-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TAOのSSLIOP、HTIOP、SHMIOP対応のための修正 #1013
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
| ^~~~~
:以下、同様のエラーが続く
Identify the Bug
Description of the Change
TAOのSSLIOP、HTIOP、SHMIOP通信対応のために以下の修正を行った。
rtc.shmiop.conf
、svc.conf
rtc.ssliop.conf
、svc.conf
rtc.htiop.conf
、svc.conf
、HT_Config.conf
Verification