Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

can't build decker in linux

A topic by butchwolfwood created 14 days ago Views: 94 Replies: 4
Viewing posts 1 to 2

hello! this app looks lovely and i've had fun playing with it on web, but i'd like to have it running natively on my distro based on fedora atomic, for some reason 'make decker' gives a fatal error based on sdl2. here's what the terminal gives me:

-----------

mrey@bazzite:~/decker$ make decker

make: sdl2-config: No such file or directory
In file included from ./c/decker.c:3:
./c/dom.h:333:21: warning: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (66 chars into 65 available) [-Wunterminated-string-initialization]

  333 | char base64_enc[65]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";

          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./c/decker.c:7:10: fatal error: SDL_version.h: No such file or directory

    7 | #include <SDL_version.h>

       |                 ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:87: c/build/decker] Error 1

--------------

i'm basically useless when it comes to this level of using linux, if you know how to help, explain like i'm stupid! i genuinely don't know anything and get things mixed up if i try to look into things myself

(+1)

To get SDL_version.h on regular Fedora, you’d need to sudo dnf install sdl2-compat-devel and that should do it.

Unfortunately, Fedora Atomic is more like Android or iOS, where you can’t just install something into the system, you need to set up a special isolated development environment. I’m afraid that’s not something I’m familiar with. If nobody here has experience with development on Fedora Atomic, you might be able to get more help in a Fedora-specific community.

ohh i see, damn. i guess i'll set-up decker in my windows partition while i figure that out. thanks so much!!

(+1)

I’m also on Linux. I’ve found the windows version of Decker works really using Wine/ProtonGE. If you use the Heroic Game launcher it’s a pretty user-friendly installation. 

(+1)

oh! ill check that out soon then! thx