./Windowsにおけるビルド環境の構築.txt

まず、最新版のVELAとその環境をダウンロードし、scripts/setup-win-x64.batを実行してください。
しばらく待ったのち、uv環境が整備されます。この時、uvは自動で入手されます。

VELA DebvelopmentKit v3に提示された、
・実行コマンドを実行することで、VELAを試すことができます。
・ビルドコマンドを実行することで、ビルドができます。

=============================================================================================
※ビルド環境がない場合、以下のようなエラーが出ることがあります。
FATAL: Error, cannot locate suitable C compiler. You have the following options:

a) If a suitable Visual Studio version is installed (check above trace
outputs for rejection messages), it will be located automatically via
registry. But not if you activate the wrong prompt.

b) Using "--mingw64" lets Nuitka download MinGW64 for you. Note: MinGW64
is the project name, it does *not* mean 64 bits, just a gcc with better
Windows compatibility, it is available for 32 and 64 bits. Cygwin based
gcc e.g. do not work.

FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING: Complex topic! More information can be found at
Nuitka:WARNING: https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.
---------------------------------------------------------------------------------------------
この場合、以下の方法を試してください。

1) https://visualstudio.microsoft.com/ja/downloads/
より、VisualStudio2026またはそれ以降のCommunity版を入手します。

2) Visual Studio Installer で 「C++によるデスクトップ開発」を選択し、
- C++ コア デスクトップ機能
- x64/86用MSVCビルドツール(最新)
- C++ Build Insights
- Just-in-time デバッガー
- C++ のプロファイルツール
- Windows用のC++ CMakeツール
- IntelliCode
- Windows 11 SDK
- MSVC v143 - VS 2022 C++ x64/86 ビルドツール
をインストール (11GBほどコストがかかります)

また、ビルド時は WindowsDefender を無効にすることを推奨します。
=============================================================================================