#need help installing vcpkg

1 messages · Page 1 of 1 (latest)

gray cipher
#

so ive tried this command 4 times
command in question: .\vcpkg\bootstrap-vcpkg.bat
i have git and a powershell open! and i just keep getting the error
".\vcpkg\bootstrap-vcpkg.bat : The term '.\vcpkg\bootstrap-vcpkg.bat' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again."
yes i have already googled this, and nothing has seemed to work! pls help :')

blazing atlasBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.

civic thicket
#

use Conan instead yamikek

gray cipher
#

what?

#

whats what?

civic thicket
#

my experience with vcpkg hasn't been great, lots of abandonware from 10 years ago, not much else

#

Conan is more FOSS centric and works fine for me

gray cipher
#

okay ty

civic thicket
#

anyway, I don't use vcpkg so idk (or at least, I haven't used vckpkg in a while because last time I tried it was epic fail)

#

a more genuine answer is: check that you cd'ed into the correct directory and that that bat file exists where you expect it to

gray cipher
#

ok

#

how would i get conan into vscode

civic thicket
#

not sure that you would, you would add conan stuff to your build

#

like if you're using CMake

gray cipher
#

didnt mean to reply sorry

civic thicket
#

none of this is really particularly easy or low effort

#

once you start wanting to bring in libs you beget quite a lot of both effort and learning most likely, esp if you're a beginner

#

the good news is though that Conan + CMake generally makes life simpler and easier

gray cipher
#

okay

civic thicket
#

but you do have to learn them first

gray cipher
#

ofc ofc

civic thicket
#

you also kind of need to know at least, idk, up to like intermediate level command line and sysadmin stuff

#

like how to set environment variables, what $PWD means, etc

#

what $PATH is etc

#

like, you need to be comfortable configuring stuff by editing text files

#

esp if you want to use VSCode

#

Conan + CMake + Visual Studio would probably be notably easier still

#

notably Visual Studio is not the same as VSCode

gray cipher
#

okay ty

civic thicket
#

are you on Windows?

#

I mean, I assume you are because .bat

#

CMake generates a Visual Studio project for you

#

configure your CMake build with Conan, generate the VS project, then just open it in VS and go

gray cipher
#

!solved