-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Unable to compile on windows with MinGW from scoop #48531
Comments
I don't know if that's what causes your issue though. |
@akien-mga same error
|
What's the output of |
SCons by Steven Knight et al.:
SCons: v4.1.0.215860fd4f6bea67896c145660a035fad20cc41c, 2021-01-19 20:03:01, by bdbaddog on ProDog2020
SCons path: ['C:\\Users\\User\\scoop\\apps\\scons\\4.1.0\\scons-local-4.1.0\\SCons']
Copyright (c) 2001 - 2021 The SCons Foundation``` |
Then I have no clue what this |
b'' to me looks like empty Python bytes object - what version of Python are you on @paperjack93 ? Might be some 2 vs 3 incompatibility... |
|
@Zireael07 setup a virtualenv for python and try again and use older python e.g. python 3.7, as the build script is more often tested with non 3.9 version python |
I tried with python 3.7.2 and it gives same error |
@Zireael07 Do u use virtualenv? I use VisualStudio2019 c++ building on regular basis I did not follow this step |
I don't use visualstudio or virtualenv @GeorgeS2019 |
@GeorgeS2019 This issue is about compiling with MinGW-GCC from scoop's distribution, Visual Studio is a completely different compiler so it's not relevant to this issue. |
As a workaround, you can install llvm-mingw, add its I think there are 2 folders to add in your |
@Calinou do I have to remove the mingw from scoop ? |
@Calinou I tried it and the error changed:
|
@paperjack93 don't forget to add |
You don't have to, but you have to make sure llvm-mingw is above the MinGW Scoop paths in the Still, you can try removing it as a last resort with |
Any reason this is still open? |
Godot version: bcbd480
OS/device including version: Windows 10
Issue description:
I cloned the project in C:/godot
I installed scoop and ran
scoop install gcc python scons yasm make
in my powershellthen I
cd c:/godot
in the folder and runscons platform=windows verbose=yes use_mingw=yes arch=x64
I receive the following error:
I tried looking up information but I couldn't find anything. The error seems to be related to a char in godot_windows.cpp
The text was updated successfully, but these errors were encountered: