mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3543] [Engine] Does not compile with CUDA 13.0–13.2 and VS2019/BuildTools 2019 #1454
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1454
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @Alois-xx on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3543
Windows 11
RTX 4070 TI 12 GB VRAM
64 GB RAM
find_vcvars accepts VS2019 with CUDA 13.0–13.2, but that combination can't compile the engine's C++20 CUDA sources.
Trying to use VS2019 results in many build errors of the form:
More from build script:
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@Niko1221 commented on GitHub (Oct 22, 2026):
Thanks — the error output is clear. To pin this down we need: the exact CUDA version (13.0, 13.1 or 13.2), the VS2019 version and MSVC toolset you used, the CMake command, and whether the same tree builds with CUDA 12.x. That separates the compiler from the sources. If you can, add [Engine] to the title.
@Alois-xx commented on GitHub (Oct 23, 2026):
@Niko1221: I have updated the missing details
@github-actions[bot] commented on GitHub (Oct 23, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Oct 26, 2026):
Fixed for the setup path in 0.2.5: setup.py now asks vswhere for Visual Studio 2022 or newer and stops with a clear message when only 2019 is installed (the C++20 CUDA sources need MSVC 19.30 or later). Your own build-strata.bat is not covered by that check; please use the VS 2022 Build Tools there. We are considering a CMake error for MSVC older than 19.30 so a hand build says it in one line.