Search code examples
visual-studionmake

Where can I find 64-bit version of vsvars32.bat?


I am compiling openssl for Amd64.The problem is i can't find 64-bit version of vsvars32.bat? Is there such a file or I have to edit vsvar32 for 64-bit version?


Solution

  • You didn't specify which version of Visual Studio you're using. There should be a file named vcvarsall.bat in the VC directory.

    You can invoke that script with x86_amd64 as the argument (i.e. vcvarsall x86_amd64), and it will take care of invoking the appropropriate script (on my VS 12.0 installation it will invoke vcvars86_amd64.bat in VC\bin\x86_amd64).