Skip to content
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

Godot: X86_64 support #3395

Merged
merged 1 commit into from Dec 4, 2018

Conversation

@extrowerk
Copy link
Member

commented Nov 20, 2018

fixes #3388

Builds till the end but linking fails:
[Initial build] /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/7.3.0/../../../../x86_64-unknown-haiku/bin/ld: modules/libmodules.haiku.tools.64.a(subpixel_mmx.haiku.tools.64.o): relocation R_X86_64_PC32 against symbol `vp8_bilinear_filters_x86_8' can not be used when making a shared object; recompile with -fPIC /boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/7.3.0/../../../../x86_64-unknown-haiku/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status

@waddlesplash

This comment has been minimized.

Copy link
Member

commented Nov 20, 2018

Try forcing a -fPIC build.

@Begasus

This comment has been minimized.

@korli

This comment has been minimized.

Copy link
Contributor

commented Nov 28, 2018

It seems to be related to the libvpx builtin library. Maybe depends on the system one: builtin_libvpx=no

HaikuPorts hasn't 1.6.0 anymore, only 1.7.0. Minor changes might be needed, the API seems about the same according to https://abi-laboratory.pro/index.php?view=timeline&l=libvpx

@korli

This comment has been minimized.

Copy link
Contributor

commented Nov 28, 2018

Alternative: (temporarily) disable the problematic module like in: https://github.com/godotengine/godot/blob/master/modules/webm/config.py#L2

@extrowerk

This comment has been minimized.

Copy link
Member Author

commented Nov 28, 2018

Will do.

@extrowerk extrowerk force-pushed the extrowerk:godot_x86_64 branch from 3198d5c to 3653c67 Nov 28, 2018

@extrowerk

This comment has been minimized.

Copy link
Member Author

commented Nov 28, 2018

Builds, packages and starts, but bails out here:

ERROR: _display_error_with_code: CanvasShaderGLES3: Vertex Program Compilation Failed:
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

Will try to force older GLSL somehow later...

@extrowerk

This comment has been minimized.

Copy link
Member Author

commented Dec 1, 2018

It starts with MESA_GL_VERSION_OVERRIDE="4.1FC" and shows the Godot logo, but then it just hangs. Or maybe i'm doing something wrong. Have to say never had experiences with Godot on other platforms :)

@extrowerk extrowerk merged commit 7308091 into haikuports:master Dec 4, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@lazybullfrog

This comment has been minimized.

Copy link

commented Dec 4, 2018

Don't feel bad, I haven't gotten Godot to build yet on any other systems. I've tried on Linux, FreeBSD, and OpenBSD using both Godot docs and googling system specifics for Godot on those systems.

@pulkomandy

This comment has been minimized.

Copy link
Member

commented Dec 5, 2018

"shows logo and hangs" is as far as we got even with support from Godot developers.

Please upstream your patches, however :)

@lazybullfrog

This comment has been minimized.

Copy link

commented Dec 8, 2018

On the plus side, running projects and GDscripts from the commandline has progressed with 3.0.6-4. With the latest build available in HDepot, I've gotten a very basic project to run, window opens, just no graphics. I can get my print() statements to the terminal to show that user input responses are working. I see this as a huge step forward! This was not working in previous builds on HDepot. I bet a text adventure for haiku could be implemented in Godot at this point. I think that's cool beyond words at this point. Trying latest recipe to see if that fixed my build issues

--bullfrog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
7 participants
You can’t perform that action at this time.