-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Mono module on Windows 11 throws RuntimeError: File Not found. #64765
Comments
To find godot/modules/mono/build_scripts/mono_configure.py Lines 106 to 115 in d560650
The If the formed path is not found then it falls back to using I think the first way should have worked but it seems the |
This comment was marked as outdated.
This comment was marked as outdated.
I just hit this too. Maybe reconsider whether this can really be closed if it is super normal for people to hit this when they try to compile the C# feature? Maybe our SConstruct should actually check for this situation? @akien-mga |
Godot version
4.0.dev (commit ebd966a)
System information
Windows 11 x64 10.0.22000.856, Vulkan
Issue description
When compile godot with module_mono_enabled=yes on Windows 11, Scons throws error below:
My folder structure in
C:\Program Files\dotnet\packs\
I can find
libnethost.lib
inC:\Program Files\dotnet\packs\Microsoft.NETCore.App.Host.win-x64\6.0.8\runtimes\win-x64\native
Run
dotnet --info
returns:Seems it's a windows-only issue that dotnet's RID is still win10-x64 even on Windows 11? Maybe we should use a more reliable way to scan libnethost.lib.
Steps to reproduce
scons -j6 platform=windows target=release_debug module_mono_enabled=yes
Minimal reproduction project
None.
The text was updated successfully, but these errors were encountered: