fatal error: ‘string_view‘ file not found 是什么问题?

fatal error: ‘string_view’ file not found 是什么问题?

running action "['python', '-u', 'scripts/rungn.py', '--refresh']" in /home/zsm/vivaldi-source
ninja: Entering directory `/home/zsm/vivaldi-source/outgn/bootstrap_Release'
[1/185] CXX src/base/command_line.o
FAILED: src/base/command_line.o 
clang++ -MMD -MF src/base/command_line.o.d -I../../thirdparty/gn/src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../../thirdparty/gn/src/base/command_line.cc -o src/base/command_line.o
In file included from ../../thirdparty/gn/src/base/command_line.cc:5:
../../thirdparty/gn/src/base/command_line.h:21:10: fatal error: 'string_view' file not found
#include <string_view>
         ^~~~~~~~~~~~~
1 error generated.
[2/185] CXX src/gn/group_target_generator.o
FAILED: src/gn/group_target_generator.o 
clang++ -MMD -MF src/gn/group_target_generator.o.d -I../../thirdparty/gn/src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../../thirdparty/gn/src/gn/group_target_generator.cc -o src/gn/group_target_generator.o
In file included from ../../thirdparty/gn/src/gn/group_target_generator.cc:5:
In file included from ../../thirdparty/gn/src/gn/group_target_generator.h:9:
In file included from ../../thirdparty/gn/src/gn/target_generator.h:12:
In file included from ../../thirdparty/gn/src/gn/label_ptr.h:12:
In file included from ../../thirdparty/gn/src/gn/label.h:12:
../../thirdparty/gn/src/gn/source_dir.h:12:10: fatal error: 'string_view' file not found
#include <string_view>
         ^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
ninja: Entering directory `/home/zsm/vivaldi-source/outgn/bootstrap_Release'
[1/185] CXX src/base/command_line.o
FAILED: src/base/command_line.o 
clang++ -MMD -MF src/base/command_line.o.d -I../../thirdparty/gn/src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../../thirdparty/gn/src/base/command_line.cc -o src/base/command_line.o
In file included from ../../thirdparty/gn/src/base/command_line.cc:5:
../../thirdparty/gn/src/base/command_line.h:21:10: fatal error: 'string_view' file not found
#include <string_view>
         ^~~~~~~~~~~~~
1 error generated.
[2/185] CXX src/gn/group_target_generator.o
FAILED: src/gn/group_target_generator.o 
clang++ -MMD -MF src/gn/group_target_generator.o.d -I../../thirdparty/gn/src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../../thirdparty/gn/src/gn/group_target_generator.cc -o src/gn/group_target_generator.o
In file included from ../../thirdparty/gn/src/gn/group_target_generator.cc:5:
In file included from ../../thirdparty/gn/src/gn/group_target_generator.h:9:
In file included from ../../thirdparty/gn/src/gn/target_generator.h:12:
In file included from ../../thirdparty/gn/src/gn/label_ptr.h:12:
In file included from ../../thirdparty/gn/src/gn/label.h:12:
../../thirdparty/gn/src/gn/source_dir.h:12:10: fatal error: 'string_view' file not found
#include <string_view>
         ^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
ninja: Entering directory `/home/zsm/vivaldi-source/outgn/bootstrap_Release'
[1/185] CXX src/base/command_line.o
FAILED: src/base/command_line.o 
clang++ -MMD -MF src/base/command_line.o.d -I../../thirdparty/gn/src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../../thirdparty/gn/src/base/command_line.cc -o src/base/command_line.o
In file included from ../../thirdparty/gn/src/base/command_line.cc:5:
../../thirdparty/gn/src/base/command_line.h:21:10: fatal error: 'string_view' file not found
#include <string_view>
         ^~~~~~~~~~~~~
1 error generated.
[2/185] CXX src/gn/group_target_generator.o
FAILED: src/gn/group_target_generator.o 
clang++ -MMD -MF src/gn/group_target_generator.o.d -I../../thirdparty/gn/src -I. -DNDEBUG -O3 -fdata-sections -ffunction-sections -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -pthread -pipe -fno-exceptions -fno-rtti -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -std=c++17 -c ../../thirdparty/gn/src/gn/group_target_generator.cc -o src/gn/group_target_generator.o
In file included from ../../thirdparty/gn/src/gn/group_target_generator.cc:5:
In file included from ../../thirdparty/gn/src/gn/group_target_generator.h:9:
In file included from ../../thirdparty/gn/src/gn/target_generator.h:12:
In file included from ../../thirdparty/gn/src/gn/label_ptr.h:12:
In file included from ../../thirdparty/gn/src/gn/label.h:12:
../../thirdparty/gn/src/gn/source_dir.h:12:10: fatal error: 'string_view' file not found
#include <string_view>
         ^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "scripts/runhooks_android.py", line 174, in <module>
    RunHooks(hooks, cwd=workdir, prefix_name=prefix_name)
  File "scripts/runhooks_android.py", line 139, in RunHooks
    raise BaseException("Hook failed")
BaseException: Hook failed

求帮助。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值