操作
バグ #3073
完了RTCBuilderから生成されたcmakeのエラー
開始日:
2014/05/20
期日:
進捗率:
100%
予定工数:
説明
OpenRTP 1.1.0-RC4(Linux(64bit)用全部入り、eclipse381-openrtp110rc4v20130216-ja-linux-gtk-x86_64.tar.gz )でRTCを生成すると、cmake/utils.cmakeの20行目にエラーがある。
エラー:
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/lib/colorgcc/bin/cc
-- Check for working C compiler: /usr/lib/colorgcc/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/colorgcc/bin/c++
-- Check for working CXX compiler: /usr/lib/colorgcc/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- OpenRTMConfig.cmake found.
-- Configrued by configuration mode.
-- OpenRTM-aist configuration done
-- OpenRTM configuration Found
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1")
CMake Error at cmake/utils.cmake:20 (foreach):
Syntax error in cmake code at
/home/geoff/workspace/myfirstcomponent/cmake/utils.cmake:20
when parsing string
${/home/geoff/workspace/myfirstcomponent/build/idl/BasicDataTypeSK.cc;/home/geoff/workspace/myfirstcomponent/build/idl/BasicDataType.hh;/home/geoff/workspace/myfirstcomponent/build/idl/BasicDataTypeDynSK.cc}
syntax error, unexpected cal_SYMBOL, expecting } (207)
Call Stack (most recent call first):
idl/CMakeLists.txt:52 (FILTER_LIST)
修正:
cmake/utils.cmakeの20行目の${${_list}}を${_list}に変更する
n.kawauchi さんが10年以上前に更新
- ステータス を 新規 から 解決 に変更
- 進捗率 を 0 から 100 に変更
OpenRTP 1.1.0-RC4を使っている場合は、Eclipseの更新サイトを利用してupdateすれば解決する。
更新方法は以下のページで解説している。
http://openrtm.org/openrtm/ja/content/openrtp_plugin_update
OpenRTP 1.1.0-RC5ではこのエラーは発生しない。
http://openrtm.org/openrtm/ja/download/openrtp/openrtp-110-rc5-ja
操作