[tools] MSVC environment loader, POSIX vulkan/MSVC install scripts #2993
No reviewers
Labels
No labels
android
audio
bug
ci
cmake
confirmed
core
desktop
duplicate
enhancement
frontend
fw
git
graphics
loader
nv gpu
ui
vulkan
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
eden-emu/eden!2993
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "DraVee/eden:docs/update-win"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: Add "Convenience tool for loading MSVC envirroment"to WIP: [chore] Add "Convenience tool for loading MSVC envirroment"WIP: [chore] Add "Convenience tool for loading MSVC envirroment"to [chore] Add "Convenience tool for loading MSVC envirroment"[chore] Add "Convenience tool for loading MSVC envirroment"to WIP: [chore] Add "Convenience tool for loading MSVC envirroment"WIP: [chore] Add "Convenience tool for loading MSVC envirroment"to [chore] Add "Convenience tool for loading MSVC envirroment"While we're at it, might as well provide Git Bash versions
https://git.crueter.xyz/scripts/windev/src/branch/master/install.sh#L132
https://github.com/crueter-ci/FFmpeg/blob/master/tools/build.sh#L24
vulkan
msvc, alternative(?)
[chore] Add "Convenience tool for loading MSVC envirroment"to WIP: [chore] Add "Convenience tool for loading MSVC envirroment"afeeb5d02b7ac3f77b907ac3f77b90065b133b4b157bfcf6d56f60b0540e@ -0,0 +2,4 @@# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project# SPDX-License-Identifier: GPL-3.0-or-laterVCVARS_BASH_URL="https://github.com/Vee99BR/vcvars-bash/raw/refs/heads/main/vcvarsall.sh"@crueter should we put it in-tree or clone to Eden-CI?
in-tree
WIP: [chore] Add "Convenience tool for loading MSVC envirroment"to [chore] Add "Convenience tool for loading MSVC envirroment"We can add KDevelop here
@ -0,0 +25,4 @@chmod +x "$DESTINATION"echo "Finished downloading $EXE_FILE"echo "Installing Vulkan SDK $VULKAN_SDK_VER..."butwhy
You need admin permissions to install Vulkan SDK, we can call PowerShell (another solution is just show an error)
This has always worked for me without admin on Git Bash
It fails cause we're writing to
C:/and don't show the real reason why it fails (just failed mkdir)uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh try
/c/VulkanSDK????????????@ -0,0 +28,4 @@echo "Installing Vulkan SDK $VULKAN_SDK_VER...""$DESTINATION" --root "$VULKAN_ROOT_UNIX" --accept-licenses --default-answer --confirm-command installecho "Finished installing Vulkan SDK $VULKAN_SDK_VER"echo "-- message..."@ -0,0 +4,4 @@# shellcheck disable=SC2154CLPATH=$(cygpath -u "$VCToolsInstallDir\\bin\\Host${VSCMD_ARG_HOST_ARCH}\\${VSCMD_ARG_TGT_ARCH}")export PATH="$CLPATH:$PATH"For this I kinda lied because you still need vswhere. This script specifically is getting cl.exe and link.exe into msys2
ignore the other one, it got mangled
@ -59,2 +62,4 @@> - `tools/windows/load-msvc-env.ps1`Availables `<GENERATOR>`:- MSYS2: `MSYS Makefiles`Available*
@ -64,2 +69,3 @@BUILD_TYPE should usually be `Release` or `RelWithDebInfo` (debug symbols--compiled executable will be large). If you are using a debugger and annoyed with stuff getting optimized out, try `Debug`.Availables `<BUILD_TYPE>`:- `Release` (default)Available*
@ -143,3 +150,4 @@If you are using the `UNIX Makefiles` or `Visual Studio 17 2022` as `<GENERATOR>`, you must also want to add `--parallel $(nproc)` to this command to improve building time.```cmake --build build@ -22,3 +25,3 @@* On Linux, *BSD and macOS, this can be done by the package manager- If you wish to use Qt Creator, append `qtcreator` or `qt-creator` to the commands seen below.* MSVC/clang-cl users on Windows must install through the [official installer](https://www.qt.io/download-qt-installer-oss)* MSVC/clang-cl users on Windows must install through the official [Qt 6](https://www.qt.io/download-qt-installer-oss) installerkdevelop can be added here probably
Could be add in another occasion (I dont even use IDE)
@ -25,3 +27,4 @@* MSVC/clang-cl users on Windows must install through the official [Qt 6](https://www.qt.io/download-qt-installer-oss) installer* Linux and macOS users may choose to use the installer as well.* MSYS2 can also install Qt 6 via the package managerleave it as it was because this'll be valid for every future Qt version
@ -0,0 +25,4 @@elseDESTINATION=$(cygpath -w "$PWD/$EXE_FILE")powershell.exe -Command "Start-Process \"$DESTINATION\" -Verb RunAs -ArgumentList @(butwhy
eab03dd1cb42ed048be7[chore] Add "Convenience tool for loading MSVC envirroment"to [tools] MSVC environment loader, POSIX vulkan/MSVC install scripts