我是新来的,提前谢谢。
我一直在尝试通过Homebrew在我的MBP上安装TortoiseHg但是却陷入了安装qscintilla2步骤(基于these instructions)。
正在运行:
我得到的错误信息是:
Last 15 lines from /Users/admin/Library/Logs/Homebrew/qscintilla2/02.make:
/usr/local/Cellar/qt5/5.6.1-1/lib/QtCore.framework/Headers/qstring.h:1322:13: error: no type named 'u16string' in namespace 'std'
inline std::u16string QString::toStdU16String() const
~~~~~^
/usr/local/Cellar/qt5/5.6.1-1/lib/QtCore.framework/Headers/qstring.h:1323:15: error: no member named 'u16string' in namespace 'std'
{ return std::u16string(reinterpret_cast<const char16_t*>(utf16()), length()); }
~~~~~^
/usr/local/Cellar/qt5/5.6.1-1/lib/QtCore.framework/Headers/qstring.h:1325:53: error: no type named 'u32string' in namespace 'std'
inline QString QString::fromStdU32String(const std::u32string &s)
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
20 errors generated.
make: *** [qsciscintillabase.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [qsciscintilla.o] Error 1
自制软件包(brew list):
cloog gettext libmpc08 pcre sip
cloog018 git libxml2 pkg-config sphinx-doc
cmake gmp llvm pyqt sqlite
curl gmp4 lua pyqt5 swig
ecj isl makedepend python3 wget
gcc isl011 mpfr qt xz
gcc48 libffi mpfr2 qt5
gdbm libmpc openssl readline
我已经尝试了几个小时,现在还没有找到一个明确的解决方案。如果有人能帮助我或指出我正确的方向,我真的很感激。