差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
windows:visualstudio [2020/09/28 17:34] – [vcpkg コマンドのインストール] ともやん | windows:visualstudio [2023/07/31 11:10] (現在) – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
~~CLOSETOC~~ | ~~CLOSETOC~~ | ||
- | ====== Visual Studio | + | ====== Visual Studio ====== |
- | {{windows:visualstudio2019.png? | + | {{windows:x_japan_cosplay_8644730147_.jpg? |
+ | **Visual Cosplay 2013😅💦**\\ | ||
+ | [[https:// | ||
+ | ビジュアル系イメージの誤りです😅💦\\ | ||
+ | |||
+ | {{INLINETOC wide 2-2}} | ||
===== Visual Studio 2019 のダウンロード ===== | ===== Visual Studio 2019 のダウンロード ===== | ||
行 8: | 行 13: | ||
===== Visual Studio Installer の実行 ===== | ===== Visual Studio Installer の実行 ===== | ||
- | ダウンロードした | + | ダウンロードした |
{{windows: | {{windows: | ||
\\ | \\ | ||
行 37: | 行 42: | ||
===== Visual Studio Installer の自動化 ===== | ===== Visual Studio Installer の自動化 ===== | ||
- | オフラインインストール用のレイアウトを | + | オフラインインストール用のレイアウトを |
Visual C++、Python 開発環境を構築する例。\\ | Visual C++、Python 開発環境を構築する例。\\ | ||
<WRAP prewrap 100%> | <WRAP prewrap 100%> | ||
行 331: | 行 336: | ||
**Vcpkg インスタンス (ディレクトリ構成)**\\ | **Vcpkg インスタンス (ディレクトリ構成)**\\ | ||
- | <WRAP prewrap 100% #mintbl> | + | <WRAP prewrap 100% mintbl> |
^ buildtrees | ^ buildtrees | ||
^ docs | ドキュメントと例。 | ^ docs | ドキュメントと例。 | ||
行 481: | 行 486: | ||
$ git pull | $ git pull | ||
$ ./ | $ ./ | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | <code powershell> | ||
+ | Downloading https:// | ||
+ | Done. | ||
+ | |||
+ | Telemetry | ||
+ | --------- | ||
+ | vcpkg collects usage data in order to help us improve your experience. | ||
+ | The data collected by Microsoft is anonymous. | ||
+ | You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics, | ||
+ | passing --disable-metrics to vcpkg on the command line, | ||
+ | or by setting the VCPKG_DISABLE_METRICS environment variable. | ||
+ | |||
+ | Read more about vcpkg telemetry at docs/ | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100%> | ||
+ | <code powershell> | ||
$ ./vcpkg version | $ ./vcpkg version | ||
</ | </ | ||
行 486: | 行 511: | ||
<WRAP prewrap 100% #result> | <WRAP prewrap 100% #result> | ||
<code powershell> | <code powershell> | ||
- | Vcpkg package management program version | + | Vcpkg package management program version |
See LICENSE.txt for license information. | See LICENSE.txt for license information. | ||
行 2956: | 行 2981: | ||
==== 「Please install the English language pack.」が表示される ==== | ==== 「Please install the English language pack.」が表示される ==== | ||
- | <WRAP prewrap 100% #mincode> | + | <WRAP prewrap 100% mincode> |
< | < | ||
Warning: The following VS instances are excluded because the English language pack is unavailable. | Warning: The following VS instances are excluded because the English language pack is unavailable. | ||
行 3062: | 行 3087: | ||
本家: [[https:// | 本家: [[https:// | ||
ソースコード: | ソースコード: | ||
+ | |||
+ | ==== インストール ==== | ||
+ | [[windows: | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Results from local buckets... | ||
+ | |||
+ | <b class=GRN> | ||
+ | ---- | ||
+ | nuget-package-explorer 6.0.64 | ||
+ | nuget 6.6.1 main | ||
+ | |||
+ | </ | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Installing ' | ||
+ | NuGet.exe (7.0 MB) [==========================================================================================] 100% | ||
+ | Checking hash of <b class=CYN> | ||
+ | Linking ~\scoop\apps\nuget\current => ~\scoop\apps\nuget\6.6.1 | ||
+ | Creating shim for ' | ||
+ | <b class=GRN>' | ||
+ | </ | ||
+ | </ | ||
==== ダウンロード ==== | ==== ダウンロード ==== | ||
行 3168: | 行 3221: | ||
==== C++ プロジェクトでリンカーの出力ファイルを変更すると MSBuild が 警告: MSB8012 を吐く ==== | ==== C++ プロジェクトでリンカーの出力ファイルを変更すると MSBuild が 警告: MSB8012 を吐く ==== | ||
プロジェクトのプロパティで **[構成プロパティ] - [リンカー] - [出力ファイル]** を **$(OutDir)$(TargetName)$(TargetExt)** 以外に変更してビルドすると **MSBuild** が警告する。\\ | プロジェクトのプロパティで **[構成プロパティ] - [リンカー] - [出力ファイル]** を **$(OutDir)$(TargetName)$(TargetExt)** 以外に変更してビルドすると **MSBuild** が警告する。\\ | ||
- | <WRAP prewrap 100% #mincode> | + | <WRAP prewrap 100% mincode> |
< | < | ||
1> | 1> | ||
行 3179: | 行 3232: | ||
====== Visual Studio と VC++ マクロ定義 ====== | ====== Visual Studio と VC++ マクロ定義 ====== | ||
^ 表記 | ^ 表記 | ||
+ | | 2019 Update 9 | Visual Studio 2019\\ Version 16.9.2 | ||
+ | | 2019 Update 8 | Visual Studio 2019\\ Version 16.8.2 | ||
+ | | 2019 Update 8 | Visual Studio 2019\\ Version 16.8.1 | ||
+ | | 2019 Update 7 | Visual Studio 2019\\ Version 16.7 | VC16 | 14.27 | 1927 | 192729112 | | ||
+ | | 2019 Update 6 | Visual Studio 2019\\ Version 16.6.2 | ||
+ | | 2019 Update 5 | Visual Studio 2019\\ Version 16.5.1 | ||
| 2019 Update 4 | Visual Studio 2019\\ Version 16.3.2 | | 2019 Update 4 | Visual Studio 2019\\ Version 16.3.2 | ||
| 2019 Update 3 | Visual Studio 2019\\ Version 16.3.2 | | 2019 Update 3 | Visual Studio 2019\\ Version 16.3.2 | ||
行 3211: | 行 3270: | ||
**参考文献**\\ | **参考文献**\\ | ||
- | [[https:// | + | [[qita>yumetodo/ |
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
行 3217: | 行 3276: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
- | [[https:// | ||
====== Visual Studio 2008 ====== | ====== Visual Studio 2008 ====== |