When I attempt to run python dep.py init
I get the following output
Mes-MacBook-Air:Squally me$ python dep.py init
/Users/me/Squally/vcpkg/scripts/bootstrap.sh: line 219: [: Apple clang version 14: integer expression expected
-- The C compiler identification is AppleClang 14.0.0.14000029
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/g++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:27 (message):
Building the vcpkg tool requires support for the C++ Filesystem TS.
Apple clang versions 10.01 and below do not have support for it.
Please install gcc6 or newer from homebrew (brew install gcc6).
If you would like to try anyway, pass --allowAppleClang to bootstrap.sh.
-- Configuring incomplete, errors occurred!
See also "/Users/me/Squally/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeOutput.log".
See also "/Users/me/Squally/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeError.log".
dep.py: Error bootstrapping vcpkg.
installing: curl
Traceback (most recent call last):
File "/Users/me/Squally/dep.py", line 155, in <module>
main()
File "/Users/me/Squally/dep.py", line 40, in main
init(args.triplet)
File "/Users/me/Squally/dep.py", line 90, in init
update(triplet)
File "/Users/me/Squally/dep.py", line 99, in update
install(line.strip(), True, triplet)
File "/Users/me/Squally/dep.py", line 128, in install
returncode = call(["./vcpkg/vcpkg", "install" , s])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1950, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: './vcpkg/vcpkg'
Regarding the first problem (I can identify)
Apple clang versions 10.01 and below do not have support for it.
Please install gcc6 or newer from homebrew (brew install gcc6).
If you would like to try anyway, pass --allowAppleClang to bootstrap.sh.
I am confused, because I installed the latest gcc (brew install gcc6 doesn't work but brew install gcc seems to get you there) and gcc --version outputs Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Regarding the second error (FileNotFoundError: [Errno 2] No such file or directory: './vcpkg/vcpkg')...it does indeed seem there is no file ./vcpkg/vcpkg. I'm not quite sure what to do about that.
My /Users/me/Squally/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeOutput.log is
And my /Users/me/Squally/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeError.log is
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
Build flags:
Id flags:
The output was:
1
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I attempt to run
python dep.py init
I get the following outputRegarding the first problem (I can identify)
I am confused, because I installed the latest gcc (
brew install gcc6
doesn't work butbrew install gcc
seems to get you there) andgcc --version
outputsApple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Regarding the second error (
FileNotFoundError: [Errno 2] No such file or directory: './vcpkg/vcpkg'
)...it does indeed seem there is no file./vcpkg/vcpkg
. I'm not quite sure what to do about that.My
/Users/me/Squally/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeOutput.log
isAnd my
/Users/me/Squally/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeError.log
is