OpenRTMプラグインと共にChoreonoidをビルドできない

あまり詳しくないのですが、BCN3D MoveoをPS4コントローラーで操作しようとしています。

マニュアルに沿ってchoreonoidはビルドできますが、ccmakeのオプションでOpenRTMPlaginをONにするとccmakeはよさそうですがmakeでエラーとなります。

なにが原因でしょうか?ご教授お願いします。

Choreonoid tips ④【開発版OpenRTM-aistのビルド方法】や Choreonoid tips ⑤【OpenRTMプラグインのビルド方法】を参考に作業を行っています。
使用プラットフォームは以下です。
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION=“Ubuntu 20.04.4 LTS”

[ 88%] Generating …/…/share/locale/ja/LC_MESSAGES/CnoidOpenRTMPlugin-1.7.mo
Scanning dependencies of target CnoidOpenRTMPlugin
[ 88%] Building CXX object src/OpenRTMPlugin/CMakeFiles/CnoidOpenRTMPlugin.dir/OpenRTMPlugin.cpp.o
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp: In member function ‘virtual bool {anonymous}::OpenRTMPlugin::finalize()’:
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:369:27: error: ‘void RTC::Manager::shutdown()’ is protected within this context
369 | manager->shutdown();
| ^
In file included from /home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/RTCItem.h:7,
from /home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:6:
/usr/local/include/openrtm-2.0/rtm/Manager.h:1279:10: note: declared protected here
1279 | void shutdown();
| ^~~~~~~~
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp: In instantiation of ‘void {anonymous}::OpenRTMPlugin::registerExecutionContext(const char*) [with ExecutionContextType = cnoid::SimulationExecutionContext]’:
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:194:90: required from here
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:111:84: error: no match for ‘operator==’ (operand types are ‘coil::FactoryReturn’ and ‘int’)
111 | structor<::RTC::ExecutionContextBase, ExecutionContextType>) == 0) {

/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp: In instantiation of ‘void {anonymous}::OpenRTMPlugin::registerExecutionContext(const char*) [with ExecutionContextType = RTC_exp::PeriodicExecutionContext]’:
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:195:106: required from here
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:111:84: error: no match for ‘operator==’ (operand types are ‘coil::FactoryReturn’ and ‘int’)
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp: In instantiation of ‘void {anonymous}::OpenRTMPlugin::registerExecutionContext(const char*) [with ExecutionContextType = cnoid::ChoreonoidExecutionContext]’:
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:198:90: required from here
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:111:84: error: no match for ‘operator==’ (operand types are ‘coil::FactoryReturn’ and ‘int’)
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp: In instantiation of ‘void {anonymous}::OpenRTMPlugin::registerExecutionContext(const char*) [with ExecutionContextType = cnoid::ChoreonoidPeriodicExecutionContext]’:
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:199:106: required from here
/home/aabbcc/choreonoid-1.7.0/src/OpenRTMPlugin/OpenRTMPlugin.cpp:111:84: error: no match for ‘operator==’ (operand types are ‘coil::FactoryReturn’ and ‘int’)
make[2]: *** [src/OpenRTMPlugin/CMakeFiles/CnoidOpenRTMPlugin.dir/build.make:103: src/OpenRTMPlugin/CMakeFiles/CnoidOpenRTMPlugin.dir/OpenRTMPlugin.cpp.o] エラー 1
make[1]: *** [CMakeFiles/Makefile2:2538: src/OpenRTMPlugin/CMakeFiles/CnoidOpenRTMPlugin.dir/all] エラー 2
make: *** [Makefile:152: all] エラー 2