Godot Engine

Godot Engine

Trouble compiling GodotSteam on windows
Hi guys, I've followed the following guides on compiling godotsteam but I keep getting errors during compile.
https://gramps.github.io/GodotSteam/howto-module.html
https://docs.godotengine.org/en/stable/development/compiling/compiling_for_windows.html

I have the following installed:
Windows 10 Pro
Visual Studio with C++ caveats
Python 3.9.1
Scons 4.0.1
Steamworks SDK 151
Godot source 3.2.3 cloned from github (https://github.com/godotengine/godot)

I get the following error:
C:\godot>scons platform=windows scons: Reading SConscript files ... Configuring for Windows: target=debug, bits=default Found MSVC version 14.2, arch amd64, bits=64 YASM is necessary for WebM SIMD optimizations. WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported! Checking for C header file mntent.h... (cached) no scons: done reading SConscript files. scons: Building targets ... [ 37%] Compiling ==> modules\godotsteam\godotsteam.cpp godotsteam.cpp C:\godot\modules\godotsteam\godotsteam.h(14): fatal error C1083: Cannot open include file: 'core/object.h': No such file or directory scons: *** [modules\godotsteam\godotsteam.windows.tools.64.obj] Error 2 scons: building terminated because of errors.

so I tried changing the godotsteam.h file to "core/object/object.h" and etc
and I got the following error:

C:\godot\modules\godotsteam\godotsteam.h(691): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(691): error C2061: syntax error: identifier 'uint64_t' C:\godot\modules\godotsteam\godotsteam.h(694): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(696): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(697): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(698): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(701): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(702): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(703): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(757): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(759): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(760): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(761): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(764): error C2327: 'Steam::uint64_t': is not a type name, static, or enumeratorC:\godot\modules\godotsteam\godotsteam.h(764): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\godot\modules\godotsteam\godotsteam.h(764): error C2146: syntax error: missing ')' before identifier 'data' C:\godot\modules\godotsteam\godotsteam.h(764): error C3646: 'data': unknown override specifier C:\godot\modules\godotsteam\godotsteam.h(764): error C2062: type 'int' unexpected C:\godot\modules\godotsteam\godotsteam.h(775): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(777): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(778): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(779): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(780): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(781): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(783): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(785): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(786): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(787): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(788): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(789): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(789): error C2061: syntax error: identifier 'uint32' C:\godot\modules\godotsteam\godotsteam.h(790): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(791): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(792): error C2327: 'Steam::uint32': is not a type name, static, or enumerator C:\godot\modules\godotsteam\godotsteam.h(792): fatal error C1003: error count exceeds 100; stopping compilation scons: *** [modules\godotsteam\godotsteam.windows.tools.64.obj] Error 2 scons: building terminated because of errors.

not sure why it's not working. I've followed all the steps in the guide. The only difference is the versions of the softwares are different since they were from a few years ago.
I basically have all the latest versions of the required components as of today.
< >
Showing 1-2 of 2 comments
Akien  [developer] Jan 11, 2021 @ 3:33am 
You're compiling the Godot master branch, not 3.2.3. It's not compatible with the GodotSteam module.
Thank you very much! It's working now =)
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 10, 2021 @ 11:49pm
Posts: 2