cl.exe on command line from appveryor.yml

skaller's Avatar

skaller

03 Oct, 2015 01:36 AM

On desktop I can just use a prompt in the startmenu. I can also do this:

"c:\Program Files (x86)\Microsoft Visual Studio\14.0\VC\vcvarsall.bat" x64

However in appveryor.yml

  • call "c:\Program Files (x86)\Microsoft Visual Studio\14.0\VC\vcvarsall.bat" x64

just gives "The system can't find the specified file".

FYI: I have this in the yml as well;

//////// platform:
- x64

os: Visual Studio 2015
//////////////

  1. Support Staff 1 Posted by Feodor Fitsner on 03 Oct, 2015 01:50 AM

    Feodor Fitsner's Avatar

    It's just the path is incorrect. Should be:

    "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
    
  2. 2 Posted by skaller on 03 Oct, 2015 02:12 AM

    skaller's Avatar

    Oops sorry. I should say: I have VS 2015 Express only, so i cannot use x64 because it is only a 32 bit build, i have to use the x86->x64 cross compiler.

    I should also mention the vsvarsall.bat script has a known bug, which Appveyor team will need to work around by copying a pair of DLLs. (Trying to find a reference but can't at the moment)

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac