安装sclite遇到的问题

make all

这行命令时会报错

(base) user2@com:~/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK$ make all (mkdir -p bin) (cd src && if test -f makefile ; then make all ; fi) make[1]: 进入目录“/home/user2/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK/src” (cd asclite && if test -f makefile ; then make all ; fi) make[2]: 进入目录“/home/user2/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK/src/asclite” (cd core && if test -f makefile ; then make all ; fi) make[3]: 进入目录“/home/user2/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK/src/asclite/core” g++ -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_TIME_H=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -I. -g -Os -o recording.o recording.cpp In file included from /usr/include/c++/5/array:35:0, from sgml_reportgenerator.h:29, from recording.h:35, from recording.cpp:24: /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ ^ makefile:62: recipe for target 'recording.o' failed make[3]: *** [recording.o] Error 1 make[3]: 离开目录“/home/user2/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK/src/asclite/core” makefile:12: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: 离开目录“/home/user2/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK/src/asclite” makefile:12: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: 离开目录“/home/user2/data/phoenix-2014.v3/phoenix2014-release/phoenix-2014-multisigner/evaluation/SCTK/src” makefile:19: recipe for target 'all' failed make: *** [all] Error 2

错误信息显示需要启用对 ISO C++ 2011 标准的编译器支持,可以使用 -std=c++11-std=gnu++11 编译选项。尝试在执行 make 命令时添加这些选项,
 

make all CXXFLAGS="-std=c++11"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值