開発版をWindowsのVS2015でビルドをしようとすると、src\OpenRTMPlugin\VisionSensorSubscriberRTCItem.cpp
の645行の
mv->putln(MessageView::ERROR, boost::format(_("RTC for \"%1%\" cannot be created.")) % self->name());
でエラーになります。src\Base\MessageView.h
の中の
#if defined(_WIN32) && defined(ERROR)
#undef ERROR
#endif
が効いていないようです。正しい対処方法かわかりませんが、
#include <cnoid/MessageView>
を#includeの並びの最後に持ってくるとビルドが通るようになりました。