OpenRTM / OpenRTM-aist

OpenRTM-aist: RT-Middleware and OMG RTC implementation in C++ implemented by AIST
https://openrtm.org/
Other
19 stars 12 forks source link

Build error on ComponentObserverConsumer.cpp #113

Closed r-kurose closed 5 years ago

r-kurose commented 5 years ago

Describe the bug ビルドエラーが発生する。

To Reproduce

  1. cmake -DCORBA=omniORB -DSSL_ENABLE=ON -DOBSERVER_ENABLE=ON ..
  2. make

Reproducibility 100%

Expected behavior ビルドエラー無きこと。

Screenshots or Logs

/root/OpenRTM-aist_docker/src/ext/sdo/observer/ComponentObserverConsumer.cpp:490:38: error: allocating an object of abstract class type 'RTC::ComponentObserverConsumer:
:DataPortAction'
        DataPortAction *action = new DataPortAction(*this, msg,
                                     ^
/root/OpenRTM-aist_docker/src/lib/rtm/../rtm/ConnectorListener.h:481:24: note: unimplemented pure virtual method 'operator()' in 'DataPortAction'
    virtual ReturnCode operator()(ConnectorInfo& info,
                       ^
/root/OpenRTM-aist_docker/src/ext/sdo/observer/ComponentObserverConsumer.cpp:502:38: error: allocating an object of abstract class type 'RTC::ComponentObserverConsumer:
:DataPortAction'
        DataPortAction *action = new DataPortAction(*this, msg,
                                     ^
2 errors generated.

Environment

Additional context 上記は clang によるビルドだが、 gcc も同様のはず

Nobu19800 commented 5 years ago

既に修正済みです。

107

r-kurose commented 5 years ago

流石です。