facebook / folly

An open-source C++ library developed and used at Facebook.
https://groups.google.com/forum/?fromgroups#!forum/facebook-folly
Apache License 2.0
28.23k stars 5.54k forks source link

List index out of range: build error #2277

Open B3rK-3 opened 1 month ago

B3rK-3 commented 1 month ago
Mapping scratch dir C:\Users\josbu\AppData\Local\Temp\fbcode_builder_getdeps-CZZUsersZjosbuZOneDriveZDocumentsZGitHubZFastFile-File-BrowserZfollyZbuildZfbcode_builder -> Z:\
Traceback (most recent call last):
  File "C:\Users\josbu\OneDrive\Documents\GitHub\FastFile-File-Browser\folly\\build\fbcode_builder\getdeps.py", line 1422, in <module>
    sys.exit(main())
             ^^^^^^
  File "C:\Users\josbu\OneDrive\Documents\GitHub\FastFile-File-Browser\folly\\build\fbcode_builder\getdeps.py", line 1405, in main
    return args.func(args)
           ^^^^^^^^^^^^^^^
  File "C:\Users\josbu\OneDrive\Documents\GitHub\FastFile-File-Browser\folly\\build\fbcode_builder\getdeps.py", line 74, in run
    opts = setup_build_options(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\josbu\OneDrive\Documents\GitHub\FastFile-File-Browser\folly\build\fbcode_builder\getdeps\buildopts.py", line 659, in setup_build_options
    return BuildOptions(
           ^^^^^^^^^^^^^
  File "C:\Users\josbu\OneDrive\Documents\GitHub\FastFile-File-Browser\folly\build\fbcode_builder\getdeps\buildopts.py", line 165, in __init__
    vcvars_path = vcvarsall[0]
                  ~~~~~~~~~^^^
IndexError: list index out of range

I have tried the lastest version and the one before but none have worked. cmake version 3.30.2 gcc and g++: 14.1.0 python 3.12.6

shy-ing commented 8 hours ago

I am also facing the same problem. Did you fix it?

B3rK-3 commented 8 hours ago

I wasn't able to so I switched libraries.