I installed visual C++ express from http://www.visualstudio.com/en-us/downloads#d-2010-express. I have also installed Microsoft SDKs http://www.microsoft.com/en-us/download/details.aspx?id=8279.
I need the vcvars64.bat for the installation of one of my programs (Gnu Linear Programming Kit or GLPK). Unfortunately, I don't see this file in C:/Program Files (x86)/Visual Studio 10.0/vc. I typed the following command in cmd terminal:
"CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64"
But it does not create the vcvars64.bat file in the intended place.
Can I just download this file from some webpage and put it in C:/Program Files (x86)/Visual Studio 10.0/vc ? Any feedback will be very appreciated.
Thanks,
Nazmul
It may be in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build', see your qt creator tools->option->kits->compilers:Microsoft Visual C++ Compiler xxx, clicked it, and you can see vcvarsall. bat directory that is the vcvars64.
If you installed to the default location, you can paste: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall. bat in the batch file box and click Done.
You should look for the file 'vcvars. bat', which can be located in ".. \Program Files (x86)\Microsoft Visual Studio\2017\EDITION\Common7\Tools\vsdevcmd\ext\vcvars.
bat was (by default) located under C:\Program Files (x86)\Microsoft Visual Studio V.w\Common7\Tools .
The file is located in VC/bin/amd64
in the Program Files
folder for Visual Studio 2010
Edit: Sorry, I checked with my own 2010 install, which is not an "Express" one. VS2010 Express comes without a 64 bits compiler.
See How to compile a 64-bit application using Visual C++ 2010 Express?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With