我安裝我的Fedora Core 12 x64系統上MTL,而是構建一個應用程序,我得到以下錯誤時:C++ MTL庫的dimension.h錯誤?
In file included from /usr/local/include/mtl/matrix.h:41,
from /usr/local/include/mtl/mtl.h:40,
from ltiSystem.hxx:4,
from strTools.hxx:4,
from ff.cxx:3:
/usr/local/include/mtl/envelope2D.h:72: error: declaration of ‘typedef struct mtl::twod_tag mtl::envelope2D<T>::dimension’
/usr/local/include/mtl/dimension.h:19: error: changes meaning of ‘dimension’ from ‘class mtl::dimension<typename mtl::dense1D<T, 0>::size_type, 0, 0>’
make[1]: *** [ff.o] Error 1
這將在MTL意味着一個錯誤。我已更改爲不同的MTL版本,問題仍然存在,但在Google上沒有正確答案。 我使用g ++編譯器。
有沒有人有clye?