Sunrise by LDJam user 278045

[raw]
made by LDJam user 278045 for Ludum Dare 50 (COMPO)

Sunrise is a top-down hack and slash.

Ratings

Given 9🗳️ 0🗨️

Feedback

Ace17
05. Apr 2022 · 19:53 UTC
Hi! I tried to played but got an error related to glibc :

```
./ld50: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./ld50)
```

I'm using Debian Testing, which uses GLIBC_2.33.

So I tried to recompile your code, but some header files are missing from the cef framework :

```
In file included from ld50.c:4:
cef/cef.h:9:10: fatal error: ef_shader.h: No such file or directory
9 | #include "ef_shader.h"
```

Indeed, it seems lots of files are missing ! The README file in cef also talks about ef_audio.h, which isn't there on the repo ? If you add them, I can recompile the game and provide you with a more portable binary, with lesser requirements on the GLIBC version (so , for example, you can target LTS Ubuntu)

And also: I haven't played the game yet, but I'm really impressed by the archive size, 20kB !!!
gbgames
05. Apr 2022 · 20:11 UTC
I'm having similar issues. I installed libglfw3 but apparently Ubuntu 20 LTS doesn't have libGLEW2.2, but it does have 2.1.
Starlight Glimmer is best poney
05. Apr 2022 · 22:31 UTC
The best practice for distributing Linux binaries is including the `lib` directory with *all* dependencies and a runner script like this:

```
#!/bin/sh
env LD_LIBRARY_PATH=lib ./command
```

Or you can just build for Windows if possible because you can bet on every Linux jammer having wine.
🎤 LDJam user 278045
09. Apr 2022 · 22:58 UTC
Thank you for bring this to my attention. I have released a second version that should target GLIBC_2.3. I have also included all .so in a lib directory. As for ef_shader.h, it is a header file generated at compile time whose contents are just vertex.glsl and fragment.glsl made into global strings. I believe the file not being generated was an error with the Makefile which I have now addressed. As for ef_audio.h, it was a planned feature that was thrown out due to lack of time. Also thank you for your comments as to the .7z size, but sadly this was a consequence of not including the .so, and compatibility was more of a problem than I had anticipated.
gbgames
10. Apr 2022 · 04:41 UTC
Ah, I'm using Ubuntu 20 LTS, and GLIBC_2.3 isn't available except in later versions of Ubuntu. B-(
🎤 LDJam user 278045
11. Apr 2022 · 22:53 UTC
Alright, changed to GLIBC_2.25
TheHansinator
12. Apr 2022 · 05:42 UTC
I'm using Pop_OS 21.10, and I got it to run. I'd say probably the best practice for absolutely foolproof Linux distribution (outside of getting published in a Linux distribution) is a containerized format such as AppImage (https://github.com/AppImage/AppImageKit), which is what the Linux build for my game uses.

Also, I'm not quite sure if I understood everything about the game. Are the controls just WASD to move and click to fire, or was there anything else?
gbgames
12. Apr 2022 · 18:34 UTC
@karl-heinrich I just pulled down sunrise.v3 (what's currently at https://karl-heinrich.itch.io/sunrise-ld50) and it still asks for GLIBC_2.34.