V
V
vjufvufcgyf2020-09-17 17:21:46
Boost
vjufvufcgyf, 2020-09-17 17:21:46

Where to get vswhere for boost?

I downloaded the boost archive from the off site.
I run the bootstrap.bat file, the following appears in the bootstrap.log file:
LOCALAPPDATA=C:\Users\***\AppData\Local
could not find "vswhere"
Call_If_Exists "..\bin\VCVARS32.BAT"
###
### Using 'msvc' toolset.
###

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Lisin, 2021-02-23
@alxndrlsn

The same problem arose, because under Windows7 Sp1 x64 I don’t have my “favorite” BOOST MS Visual Studio IDE, and instead of MinGW and Cygwin I have installed the TDM-GCC-64 that I liked more (because it was the only one that was installed normally and worked in paired with CodeLite IDE).
After reading "Getting started on Windows" with a parting wish at the end "to have fun" (Onward: "Good luck, and have fun!"—the Boost Developers) everything became clear... The developers did not consider it necessary to chew on everyone and everyone" how to collect boost. This is their right.
So, rejoice, for I "had fun" instead of you! Let's start by setting the global variable BOOST_ROOT =C:\ my directory\boost_1_75_0 pointing to the directory where we unpacked the archive downloaded from the official site. Now open for editing in notepad or using Far (or TotalComander) the bootstrap.bat executable file and replace in the line SET TOOLSET=msvc, the value of "toolset" with gcc , after which, having risen above, we will add the same three letters to the call command. \build.bat gcc(those who shoveled through a lot of executable files in the "boost" subdirectories probably noticed that some option is expected in the build.bat procedures for further building ... that's what we indicate, although it was not at all obvious). Next, run through CMD or Far (TC) the saved bootstrap.bat and voila, we observe: Using 'gcc' toolset. ... Bootstrapping is done. To build, run: .\b2 etc. etc. We rejoice!
It remains in accordance with the same instructions "Getting started on Windows" (it is useful to read) using the b2.exe utility to collect the libraries that require assembly .., because the rest, as it turned out, do not require assembly and can be used directly from the directory to which we have set a global link.
ps For those who want to get around the rake-strewn field with porting nix compilers to Windows and save themselves from the non-trivial setup of the IDE they like, I recommend installing any current Ubuntu (or similar, for example, Mint), and using numerous explanatory manuals, install QT Creator via the terminal , "boost" and other necessary, and then quickly start learning C ++ paired with QT. All success! Rejoice!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question