godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

Having issues building on windows using mingw

Open deeredman1991 opened this issue 3 years ago • 0 comments

I am using the command "scons platform=windows generate_bindings=yes use_mingw=yes" with no success.

This is what the cmd prompt looks like when I run that command: image

I am using Python 3.7.6 and Scons Version 4.3.0 image

I am using the header files from https://github.com/godotengine/godot-headers

I was able to get Scons to compile a HelloWorld project using this SConsctruct file.

TOOLS = ['mingw']
COMPILER_PATH = 'C:/MinGW/bin'

env = Environment(tools=TOOLS)

env.PrependENVPath('PATH', COMPILER_PATH)

env.Program('TestApp', 'main.cpp')

image

Any help would be greatly appreciated! Thank you!

deeredman1991 avatar Apr 25 '22 00:04 deeredman1991