Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : The term 'bootstrap-vcpkg.bat' is not recognized : While Install C and C++ libraries for Visual Studio 2017 on Win10

Tags:

c++

c

I am trying to install C and C++ libraries on my Windows 10 Machine for VS-2017,and encountered the following vcpkg- error. This is the first time I am installing it on my machine.By the way I am using Windows Powershell. I searched online forums alot but not able to figure out whats wrong with my machine or the package installation. Please suggest me how to proceed in this issue

    PS C:\Documents\DRAGONFLY\vkpackage\vcpkg-master\vcpkg-master> bootstrap-vcpkg.bat
bootstrap-vcpkg.bat : The term '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.
At line:1 char:1
+ bootstrap-vcpkg.bat
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : **ObjectNotFound: (bootstrap-vcpkg.bat:String)** [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
like image 362
SamuelCooper7 Avatar asked Jan 17 '26 21:01

SamuelCooper7


1 Answers

As already mentioned in the comments section, please follow the document : C modules for Windows devices instruction commands one after the other.

 git clone https://github.com/Microsoft/vcpkg
        cd vcpkg
        .\bootstrap-vcpkg.bat
        .\vcpkg install azure-iot-sdk-c:x64-windows
        .\vcpkg --triplet x64-windows integrate install

Please mark the response as answered if it is helpful, so that its helpful for other community members.

like image 151
SatishBoddu Avatar answered Jan 20 '26 10:01

SatishBoddu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!