Build on Windows 10
My OS is Windows 10 I installed these:
- Visual Studio Community 2022
- QT 6.2.4
- Python3
let's do it in steps, from scratch, I made these steps:
git clone https://git.jami.net/savoirfairelinux/jami-project.git
cd jami-project
python build.py --dependencies
output:
PS C:\Users\Developer\source\repos\jami-project> python .\build.py --dependencies
Installing jami-qt build dependencies for windows…
Chocolatey already installed
MSYS2 64 already installed
Getting installed package list from Chocolatey…
wget 1.19.4 found.
git.install 2.10.2 found.
7zip found.
unzip found.
cmake found.
pandoc found.
strawberryperl found.
msys2 found.
Choco Packages Installation Succeeded
make already installed
gcc already installed
perl already installed
diffutils already installed
Pacman Packages Installation Succeeded
Downloading VSNASM
Download VSNASM Succeeded
Unzipping VSNASM
Unzip VSNASM Succeeded
Install VSNASM
Detected 64 bit system...
Existing Visual Studio environment detected...
Unknown Visual Studio environment detected '17.0', Creating a new one...
Using existing vswhere binary...
Error: Failed to detect VS installations using vswhere!
Now trying fallback detection...
Error: Could not find valid Visual Studio installation!
Install VSNASM Succeeded
Downloading VSYASM
Download VSYASM Succeeded
Unzipping VSYASM
Unzip VSYASM Succeeded
Install VSYASM
Detected 64 bit system...
Existing Visual Studio environment detected...
Unknown Visual Studio environment detected '17.0', Creating a new one...
Using existing vswhere binary...
Error: Failed to detect VS installations using vswhere!
Now trying fallback detection...
Error: Could not find valid Visual Studio installation!
Install VSYASM Succeeded
Downloading yasm.exe (win64)
Download yasm.exe (win64) Succeeded
Move yasm.exe (win64) to msys64 folder
Move yasm.exe (win64) to msys64 folder Succeeded
Downloading gas-preprocessor.pl
Download gas-preprocessor.pl Succeeded
Move gas-preprocessor.pl to msys64 folder
Move gas-preprocessor.pl to msys64 folder Succeeded
Done
If I execute vswhere individually, I have this output
installationVersion: 17.2.32602.215
productId: Microsoft.VisualStudio.Product.Community
productPath: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe
state: 4294967295
isComplete: 1
isLaunchable: 1
isPrerelease: 0
displayName: Visual Studio Community 2022
description: Powerful IDE, free for students, open-source contributors, and individuals
channelId: VisualStudio.17.Release
channelUri: https://aka.ms/vs/17/release/channel
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
installedChannelUri: https://aka.ms/vs/17/release/channel
releaseNotes: https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.2#17.2.4
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=661288
updateDate: 2022-06-17T14:02:39.5552033Z
catalog_buildBranch: d17.2
catalog_buildVersion: 17.2.32602.215
catalog_id: VisualStudio/17.2.4+32602.215
catalog_localBuild: build-lab
catalog_manifestName: VisualStudio
catalog_manifestType: installer
catalog_productDisplayVersion: 17.2.4
catalog_productLine: Dev17
catalog_productLineVersion: 2022
catalog_productMilestone: RTW
catalog_productMilestoneIsPreRelease: False
catalog_productName: Visual Studio
catalog_productPatchVersion: 4
catalog_productPreReleaseMilestoneSuffix: 1.0
catalog_productSemanticVersion: 17.2.4+32602.215
catalog_requiredEngineVersion: 3.2.2148.26540
properties_campaignId: 2030:18e35a27-7414-4eba-bb52-a43b5c439acb
properties_channelManifestId: VisualStudio.17.Release/17.2.4+32602.215
properties_nickname:
properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe