在mac osx 10.8.5中的gcc下为festival2.1构建语音工具时出错

时间:2013-10-07 09:50:52

标签: macos gcc makefile text-to-speech

在mac osx 10.8.5中的gcc下为节日2.1编译/构建语音工具2.1时出现以下错误

In file included from siod.cc:31:
In file included from ../include/EST_THash.h:46:
../include/EST_TIterator.h:212:7: error: use of undeclared identifier 'begin'
    { begin(over); }
      ^
      this->

../include/EST_TIterator.h:292:7: error: use of undeclared identifier 'begin'
    { begin(over); }
      ^
      this->

1 个答案:

答案 0 :(得分:0)

只需要更新GCC,一切都很好。 苹果中的gcc是4.2或之前的东西,我安装了macports并安装了gcc 4.9 gcc version 4.9.0 20131215(实验性)(MacPorts gcc49 4.9-20131215_0)