Permission Denied on ./vcpkg install

Viewed 1098

Has anyone encountered this error before with vcpkg? I'm running MacOS. To install vcpkg I ran:

git clone https://github.com/Microsoft/vcpkg

...

./bootstrap-vcpkg.sh

...

./vcpkg integrate install

zsh: permission denied: ./vcpkg

Also trying to run:

./vcpkg install wxwidgets

zsh: permission denied: ./vcpkg
1 Answers

Yep, it needs to be executed from the /bin directory and not from the /vcpkg directory. so that means (if you used brew to install it, otherwise it'll be somewhere else) ⤵︎

$ cd /usr/local/Cellar/vcpkg/2020.11-1/bin

(just open a file explorer window and find the bin folder in vcpkg, you can then copy the path name and use that for your cd command, or open a shell window at that directory)

Then all you have to do is simply run the original command ⤵︎

$ ./vcpkg integrate install
Related