Draft
Conversation
n-ando
previously approved these changes
Jan 24, 2022
n-kawauchi
reviewed
Aug 30, 2024
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
| ^~~~~
:以下、同様のエラーが続く
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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