Godot version: 3.0.6 stable.
Godotsteam version: latest godot3 branch sourcecode.
Steamworks SDK version: 1.44
platform: Macos Mojave.
This is the compilation error that appears after the nullptr issue has been fixed, see PR #82
Without the godotsteam module inserted it compiles without any problems so i believe it's not a problem with the engine.
Console log/error:
Mikes-iMac:godot-3.0.6-stable thisismike97$ sudo scons p=osx bits=64 tools=no target=release
scons: Reading SConscript files ...
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[Initial build] Compiling ==> platform/osx/crash_handler_osx.mm
[Initial build] Compiling ==> platform/osx/os_osx.mm
platform/osx/os_osx.mm:1569:24: error: cannot initialize a variable of type
'NSSearchPathDirectory' with an rvalue of type 'int'
NSSearchPathDirectory id = 0;
^ ~
1 error generated.
scons: * [platform/osx/os_osx.osx.opt.64.o] Error 1
scons: building terminated because of errors.
This issue is actually a problem with the engine and is fixed in future versions of godot.
as a workaround for this version edit the file "platform/osx/os_psx.mm"
Around line 1580 replace:
NSSearchPathDirectory id = 0;
With:
NSSearchPathDirectory id;
bool found = true;
In the switch (p_dir) add:
default: {
found = false;
}
and lastly change "if (id)" to "if (found)"
Hey, did you managed to compile it using the 3.1 version too? I'm having a lot of issues.
I don't have any Mac installations but I'm assuming your speaking to @thisismike97 anyway. That being said, what issues are you getting?
Hey, did you managed to compile it using the 3.1 version too? I'm having a lot of issues.
@coelhucas The last time i compiled this has already been some months ago, im not 100% sure if it compiled for me back then, i can see what is up with it somewhere in the next few days, ill get back to you on this when i have time.
@coelhucas And also feel free to open a new issue with whatever problems you are having!
@coelhucas I can compile just fine.
Please tell us more about what exact issues you are dealing with.