在mavericks上编译znorts blockparser语言 - 出错
compiling znorts blockparser on mavericks - make error
我想在我的mavericks机器上使用臭名昭著的"znort"块解析器,但是到目前为止我无法编译它。我在制作步骤上卡住了。如果不修改makefile,就会得到以下错误:
c++ -- cb/allBalances.cpp
c++ -- callback.cpp
c++ -- cb/closure.cpp
c++ -- cb/dumpTX.cpp
c++ -- cb/help.cpp
c++ -- opcodes.cpp
c++ -- option.cpp
c++ -- parser.cpp
clangclangclang: : : clang: clang: clang: clang: clang: error: error: error: error: error: error: error: error: unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard- error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]unknown argument: '-fno-check-new' [-Wunused-command-line-argument-hard-error-in-future]
clangclang: : notenote: : this will be a hard error (cannot be downgraded to a warning) in the futurethis will be a hard error (cannot be downgraded to a warning) in the future
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [.objs/parser.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [.objs/allBalances.o] Error 1
make: *** [.objs/option.o] Error 1
make: *** [.objs/opcodes.o] Error 1
make: *** [.objs/dumpTX.o] Error 1
make: *** [.objs/closure.o] Error 1
make: *** [.objs/callback.o] Error 1
make: *** [.objs/help.o] Error 1
当我将CPLUS更改为gcc(而不是g++)并注释掉COPT行时,我得到一个编译错误文件"google/dense-hash-maps not found"。
…你可能已经猜到了,我也无法编译它们…
我现在咬我的舌头两天,所以任何帮助将不胜感激!
我在GitHub上看到了这个问题,建议您运行sudo apt-get install sparsehash
来解决错误。我还没有试过,但我希望它能有所帮助。
相关文章:
- 访问者访问变体并返回不同类型时出错
- 在Linux for Windows上编译C++代码时出错
- 读取文件的最后一行并输入到链接列表时出错
- 重载操作程序时出错>>用于类中的字符串 memebr
- 调用专用模板时出错"no matching function for call to [...]"
- C++-试图将函数指针推回到另一个CPP文件中的矢量时出错
- LINK 尝试使用 OpenSSL evp aes 256 c++ 时出错
- 在Google Kick start中提交时出错
- 在c++中访问int到类对象的映射时出错
- 分段错误当我试图运行程序时出错
- 使用dynamic_cast和构造函数时出错
- CHECK(调用)函数在Google Colab中出错
- 用pybind11包装C++抽象类时出错
- 不同语言中相同代码的不同行为
- 为x86而非x64编译时出错
- 从R调用C++函数并对其进行集成时出错
- 这个函数哪里出错了
- C++ 创建包含链表和字符串的对象的链接列表时出错
- 如何删除已输入的书以及如何使标题,语言和名称在上面放置空格不会出错?
- 在mavericks上编译znorts blockparser语言 - 出错