Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vcvars64.bat file is missing

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

like image 384
Nazmul Avatar asked Dec 29 '13 19:12

Nazmul


People also ask

Where can I find vcvars64 bat?

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.

Where is Vcvarsall bat 2019?

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.

Where is vcvarsall bat in Visual Studio 2017?

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.

How do I find Vsdevcmd bat?

bat was (by default) located under C:\Program Files (x86)\Microsoft Visual Studio V.w\Common7\Tools .


1 Answers

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?

like image 112
manuell Avatar answered Oct 15 '22 01:10

manuell