首页 > 其他分享 >ERROR: Failed to find vcvars

ERROR: Failed to find vcvars

时间:2024-05-08 11:33:06浏览次数:13  
标签:obj third abseil vcvars Failed cpp absl party find

ERROR: Failed to find vcvars
Traceback (most recent call last):
  File "F:\code\chromium_git\chromium\src\cef\tools\\make_distrib.py", line 954, in <module>
    combine_libs(platform, src_dir, sandbox_libs,
  File "F:\code\chromium_git\chromium\src\cef\tools\\make_distrib.py", line 406, in combine_libs
    run(cmdline, os.path.join(cef_dir, 'tools'))
  File "F:\code\chromium_git\chromium\src\cef\tools\\make_distrib.py", line 443, in run
    return subprocess.check_call(
           ^^^^^^^^^^^^^^^^^^^^^^
  File "f:\code\depot_tools\bootstrap-2@3_11_8_chromium_35_bin\python3\bin\Lib\subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['msvs_env.bat', 'win64', 'f:\\code\\depot_tools\\bootstrap-2@3_11_8_chromium_35_bin\\python3\\bin\\python3.exe', 'combine_libs.py', '-b', 'F:\\code\\chromium_git\\chromium\\src\\out\\Release_GN_x64', '-o', 'F:\\code\\chromium_git\\chromium\\src\\cef\\binary_distrib\\cef_binary_121.3.15+g4d3b0b4+chromium-121.0.6167.184_windows64\\Release\\cef_sandbox.lib', 'obj\\base\\base_static.lib', 'obj\\base\\third_party\\double_conversion\\double_conversion.lib', 'obj\\base\\third_party\\dynamic_annotations\\dynamic_annotations.lib', 'obj\\base\\win\\pe_image.lib', 'obj\\cef\\cef_sandbox.lib', 'obj\\sandbox\\common\\features.obj', 'obj\\sandbox\\win\\sandbox.lib', 'obj\\sandbox\\win\\service_resolver\\resolver.obj', 'obj\\sandbox\\win\\service_resolver\\resolver_64.obj', 'obj\\sandbox\\win\\service_resolver\\service_resolver.obj', 'obj\\sandbox\\win\\service_resolver\\service_resolver_64.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\base\\cycleclock.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\base\\spinlock.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\base\\sysinfo.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\base\\thread_identity.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\base\\unscaledcycleclock.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\log_severity\\log_severity.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\malloc_internal\\low_level_alloc.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\raw_logging_internal\\raw_logging.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\spinlock_wait\\spinlock_wait.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\strerror\\strerror.obj', 'obj\\third_party\\abseil-cpp\\absl\\base\\throw_delegate\\throw_delegate.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\debugging_internal\\address_is_readable.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\debugging_internal\\elf_mem_image.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\debugging_internal\\vdso_support.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\demangle_internal\\demangle.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\examine_stack\\examine_stack.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\failure_signal_handler\\failure_signal_handler.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\stacktrace\\stacktrace.obj', 'obj\\third_party\\abseil-cpp\\absl\\debugging\\symbolize\\symbolize.obj', 'obj\\third_party\\abseil-cpp\\absl\\numeric\\int128\\int128.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\graphcycles_internal\\graphcycles.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\kernel_timeout_internal\\kernel_timeout.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\barrier.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\blocking_counter.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\create_thread_identity.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\futex_waiter.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\mutex.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\notification.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\per_thread_sem.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\pthread_waiter.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\sem_waiter.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\stdcpp_waiter.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\waiter_base.obj', 'obj\\third_party\\abseil-cpp\\absl\\synchronization\\synchronization\\win32_waiter.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\civil_time\\civil_time_detail.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_fixed.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_format.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_if.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_impl.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_info.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_libc.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_lookup.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\time_zone_posix.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\internal\\cctz\\time_zone\\zone_info_source.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\time\\civil_time.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\time\\clock.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\time\\duration.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\time\\format.obj', 'obj\\third_party\\abseil-cpp\\absl\\time\\time\\time.obj', 'obj\\third_party\\abseil-cpp\\absl\\types\\bad_optional_access\\bad_optional_access.obj', 'obj\\third_party\\abseil-cpp\\absl\\types\\bad_variant_access\\bad_variant_access.obj']' returned non-zero exit status 1.
F:\code\chromium_git\chromium\src\cef\tools>

  

解决:

添加环境变量:

CEF_VCVARS 

 E:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat

 

标签:obj,third,abseil,vcvars,Failed,cpp,absl,party,find
From: https://www.cnblogs.com/hxqmw/p/18179344

相关文章

  • Jenkins发版时报错Failed to instantiate [io.seata.spring.annotation.GlobalTransac
    Failedtoinstantiate[io.seata.spring.annotation.GlobalTransactionScanner]:Factorymethod'globalTransactionScanner'threwexception;nestedexceptionisjava.lang.ExceptionInInitializerError一开始以为是seata配置有问题,但最近也没有动过,直接执行发版脚本就没事......
  • 【Azure Function】Function App启动时出现 Failed to open local port 4001 错误,这是
    问题描述在使用AzureFunction时,启用了多个槽(slot),方便在部署生产环境的时候直接切换。{"IsEncrypted":false,"Values":{"AzureWebJobsStorage":"UseDevelopmentStorage=true","FUNCTIONS_WORKER_RUNTIME":"dotnet-isolate......
  • CMake中里的find_package与find_library有什么区别?
    在CMake中,find_package和find_library都是用来找到和链接库的方法,但它们的用法和适用场景略有不同。find_package主要用于寻找具有CMake配置文件的库,这些库通常遵循CMake的规范,提供了用于导入目标、库路径、头文件路径等的配置文件。这使得使用find_package更加简洁,只需指定需......
  • 【cmake】find_package设置查找路径
     1.find_package的作用与实例用来查找第三方依赖包的.cmake文件,并根据.cmake文件生成依赖包的头文件目录和库文件路径等;CMakeLists.txt实例find_package(ProtobufREQUIRED)include_directories(${PROTOBUF_INCLUDE_DIR})add_executable(mainsrc/main.cpp)target......
  • jmap使用报错Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVM
    报错场景问题原因服务器上装了jdk,按理来说jmap是自带了的,可以直接使用,根据情况来看是装了jmap但是无法正常使用,推测是版本的问题导致解决方式指定jdk自带的jmap工具1.查看当前java的环境变量echo$JAVA_HOME2.配置jdk自带工具的环境变量exportPATH=$JAVA_HOME/bin:$P......
  • DC-1-Drupal-find提权
    靶机下载地址:https://www.vulnhub.com/entry/dc-1%2C292/靶机描述:DC-1是一个专门构建的易受攻击的实验室,旨在获得渗透测试领域的经验。共有五个flag,但最终目标是拿到root目录中的flag。一、信息收集1.探测目标方法一:使用arp-scan工具探测同一区域中存活主机arp-scan-l-l......
  • 路径规划:层次化路径规划系统——hierarchical pathfinding system —— Hierarchical
    项目地址:https://www.gdcvault.com/play/1025151/Hierarchical-Dynamic-Pathfinding-for-LargePPT地址:https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2018/presentations/Alain_Benoit_HierarchicalDynamicPathfinding.pdf视频地址:https://www.youtube.com/watch?......
  • A* 算法、PathFinding问题中的 allow diagonal 和 don't cross corners,以及 .map文件
    地址:https://webdocs.cs.ualberta.ca/~nathanst/papers/benchmarks.pdf关于地图文件:.map文件的格式参考:https://movingai.com/benchmarks/formats.html......
  • 寻路数据集 —— PathFinding数据集 —— Moving AI Lab. 实验室
    好几个做pathfinding的论文都是引用这个网站的数据集,不过这个网站的数据集的地图都是.map格式,这个类型的格式该如何打开还不知道。MovingAILab.实验室的工作地址:https://movingai.com/benchmarks/index.html相关地址:https://www.movingai.com/......
  • HPA* (Near Optimal hierarchical Path-finding) —— 外网的讲解blog
    原地址:https://alexene.dev/2019/06/02/Hierarchical-pathfinding.html讲解视频:https://www.youtube.com/watch?v=qSbSb8vMbLI目标问题:为不同的分割区建立door,也就是两个分割器有两个相邻的小格,这两个小格子是可以联通的,下图中指的是在黄色线两侧的相邻的两个蓝色小格......