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

Any plans (or advice) to create a Raspberry Pi compatible binary? #75

Open
jgodfrey opened this issue Apr 2, 2022 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@jgodfrey
Copy link

jgodfrey commented Apr 2, 2022

Is your feature request related to a problem? Please describe.
Not a problem, but I'm seeking a Raspberry Pi compatible binary.

Describe the solution you'd like
I'd like to use this project on a Raspberry Pi (alongside the unofficial Raspberry Pi Godot build - https://github.com/hiulit/Unofficial-Godot-Engine-Raspberry-Pi)

Describe alternatives you've considered
There isn't another SQLite alternative that I'm aware of.

Additional context
I'm creating a Godot-based digital picture frame application that's powered by a Raspberry Pi. I've previously created such an application based on Python and pi3d, but having the power of the Godot game engine behind the app offers lots of advantages. So, I'm in the process of tracking down all of the pieces I'd need to replace the original app with a Godot version. SQLite is the only major missing piece ATM.

I've tried to install the linux/X11 library from this project on the Pi, but running a sample project results in:

ERROR: does not have a library for the current platform.
at: init_library (modules/gdnative/nativescript/nativescript.cpp:1486)

I assume that's because the linux binaries are probably not built for ARM-based hardware (?).

@jgodfrey jgodfrey added the enhancement New feature or request label Apr 2, 2022
@2shady4u
Copy link
Owner

2shady4u commented Apr 2, 2022

Hello @jgodfrey,

Disclaimer: I don't have any experience with using Raspberry PI

On the other hand I don't see why it shouldn't be possible if the correct compiler flags are adopted.
These flags seem to be documented in the Raspberry PI repository that you linked.
I would recommend just trying it actually and seeing what happens.

If that attempt fails:
As this is an issue that is more related to godot-cpp itself (as this library depends on it) I do think it would be more useful to open an issue in that repository to ask if it is actually possible to achieve this.

Another alternative would be for you to use the Godot-SQLite module instead. This would require that you compile Godot from scratch using the proper compiler flags (again: as documented in that repository you linked).

Too bad the linux binaries don't work out of the box :'(

@jgodfrey
Copy link
Author

jgodfrey commented Apr 2, 2022

Thanks for the fast and informative response @2shady4u - much appreciated. I'll poke around a bit based on your advice and see if I can make any progress. I'll report back if I have any news.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants