【发布时间】:2015-10-26 09:16:37
【问题描述】:
所以我在为 OS X 构建 bitcoind 的文档中:https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md 并且每次尝试构建时都会遇到相同的错误。以下是我采取的步骤:
brew install autoconf automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf qt5
git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
./autogen.sh
./configure --with-gui=qt5
make
这是我得到的错误:
OBJCXXLD qt/bitcoin-qt
clang: error: unknown argument: '-framework QtNetwork'
clang: error: unknown argument: '-framework QtWidgets'
clang: error: unknown argument: '-framework QtGui'
clang: error: unknown argument: '-framework QtCore'
clang: error: unknown argument: '-framework QtDBus'
clang: error: unknown argument: '-framework QtCore'
make[2]: *** [qt/bitcoin-qt] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
我已经用谷歌搜索了一天多。我在这里手动下载了开源 Qt:http://www.qt.io/download-open-source/,我通过 brew 等安装了 qt 和 qt5。我对 C/C++ 和编译代码不太熟悉,不知道下一步该尝试什么。提前致谢
【问题讨论】:
标签: c++ macos qt bitcoin bitcoind