-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Building without GTK dependencies #1084
Comments
It's possible to build without GTK, we use it to show system file save/load dialogs, so you can disable code in the Line 170 in 0feb848
|
Ok, I am trying to build like that, but I get a not related problem:
I can add -DDISABLE_NETWORKING=1 to the cmake command, but it fails on sdl2 and zip directories. |
you have to update submodules, use |
@nesbox Right! Thanks! Also, is it possible to use whatever renderer SDL2 uses? I have seen that the generated binaries (t80, t80-sokol, player-sdl, etc...) are all linked against desktop GL instead of GLES, thats better suited for X-less Pi. |
better, I will add an alternative file saving functionality without UI dialogs and a build option to enable/disable it. |
Great! What about X11/DesktopGL linkage? Can it be disabled somehow or is it detected depending on whats SDL2 built against? |
Don't know about disabling X11 in SDL2, try to look into |
Well, it seems that independently from SDL2, it tries to build Desktop GL:
No way to disable that? SDL2 is enough, really. |
You'll need the gl-dev dependencies. libopengl-dev usually. Also can be... |
@RobLoach So, does TIC-80 depend on desktop-GL? Cant it just use whatever renderer SDL2 uses? In my case, its GLES2. And anything (2D) goes. |
Hi there!
I have just discovered TIC-80, and I am trying to build it for my Pi, where no Xorg server is running or needed. SDL2 programs dont need Xorg because SDL2 has KMSDRM support, so the system boots in 1 second :)
So, since we have SDL2 and its KMS/DRM backend, is it possible to build TIC-80 without GTK dependencies? If its not possible... why not?
Thanks!
The text was updated successfully, but these errors were encountered: