最終更新日: 2017-09-03 日 17:57
ホーム | 文書トップ | 目次

VisualStudio

Table of Contents

Community Edition

vcvarsall.bat

$ "c:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat"
[ERROR:vcvarsall.bat] Error in script usage. The correct usage is:
Syntax:
    vcvarsall.bat [arch] [platform_type] [winsdk_version] [-vcvars_ver=vc_version]
where : 
    [arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64
    [platform_type]: {empty} | store | uwp 
    [winsdk_version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or "8.1" to use the Windows 8.1 SDK.   
    [vc_version] : "14.0" for VC++ 2015 Compiler Toolset | {empty} for default VS 2017 VC++ compiler toolset

The store parameter sets environment variables to support Universal Windows Platform application 
development and is an alias for 'uwp'.

For example:
    vcvarsall.bat x86_amd64
    vcvarsall.bat x86_amd64 10.0.10240.0
    vcvarsall.bat x86_arm uwp 10.0.10240.0
    vcvarsall.bat x86_arm onecore 10.0.10240.0 -vcvars_ver=14.0
    vcvarsall.bat x64 8.1
    vcvarsall.bat x64 store 8.1

Please make sure either Visual Studio or C++ Build SKU is installed.
$ "c:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvarsall.bat" x86 8.1
'**********************************************************************
'** Visual Studio 2017 Developer Command Prompt v15.0.26730.12
'** Copyright (c) 2017 Microsoft Corporation
'**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x86'

コマンドライン開発環境の構築

コンパイラオプション

ホーム | 文書トップ | 目次
Created by Emacs 25.2.1 (Org mode 8.2.10)