AlynxZhou / flipclock

A flip clock screensaver supported by SDL2.
https://flipclock.alynx.one/
Apache License 2.0
133 stars 24 forks source link

App fails to run after successful build on Ubuntu 22.04 #12

Closed ferrellsl closed 1 year ago

ferrellsl commented 2 years ago

I'm on Ubuntu 22.04 and everything builds successfully but here's the output when I run the binary:

Parsing /usr/local/etc/flipclock.conf. Skip comment line. Parsed key ampm and value true. Skip comment line. Skip comment line. Parsed key full and value false. Skip comment line. Parsed key show_second and value true. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. Skip comment line. argv[0]: ./flipclock Closing old font. Opening font from /usr/local/share/fonts/flipclock.ttf. Destroying old textures. Creating new textures with size 228x228. Render targets not supported by OpenGL

AlynxZhou commented 2 years ago

Render targets not supported by OpenGL

Did you correctly setup your graphics driver? Or maybe you are using virtual machines without hardware acceleration?

ferrellsl commented 2 years ago

This is when attempting to run on real hardware. Here's a shot of neofetch and glxgears.

image

AlynxZhou commented 2 years ago

What's your SDL2 version?

ferrellsl commented 2 years ago

Version 2.0.20

ferrellsl commented 1 year ago

I can install the clock via flatpak and it runs normally so I suspect there's a problem with the SDL2 shared library location when manually building from source.

ferrellsl commented 1 year ago

not sure what has changed, but it builds and runs correctly now so you can close this issue.

AlynxZhou commented 1 year ago

not sure what has changed, but it builds and runs correctly now so you can close this issue.

Glad to know this.