[ruby-talk:444354] Glimmer DSL for LibUI Scaffolding + Snake Game

Glimmer DSL for LibUI 0.9.x versions include support for a new Glimmer
Command, Application Scaffolding, Custom Component Scaffolding, Custom
Component Gem Scaffolding, and more. These features greatly improve
Software Engineering Productivity when building desktop applications with
Glimmer DSL for LibUI. Glimmer Scaffolding could be thought of as the
"Desktop Application" equivalent of Rails Scaffolding and Generators. In
fact, I ate my own dog food and used the new Application Scaffolding
feature to effortlessly scaffold a Glimmer Snake game.


Learn more in this blog post:

Glimmer DSL for LibUI Github:

Glimmer Snake GitHub: GitHub - AndyObtiva/glimmer_snake: Classic Snake game (popularized by Nokia phones)

Glimmer DSL for LibUI 0.9.x versions include support for a new Glimmer
Command,

awesome.

unfortunately, i'm stuck :frowning:

require 'glimmer-dsl-libui'

/home/botp/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/fiddle.rb:62:in
`initialize': /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not
found (required by
/home/botp/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/libui-0.1.2.pre/vendor/libui.so)
(Fiddle::DLError)

running ubuntu 18.04 w glibc 2.27

kind regards --botp

···

On Mon, Oct 23, 2023 at 5:06 AM Andy Maleh via ruby-talk < ruby-talk@ml.ruby-lang.org> wrote:

Hi botp,

The LibUI C library runs on top of GTK on Linux, so it assumes a working
GTK GUI installation on Linux.

If you are missing GTK (which should include GLIBC), you could run this
command, following instructions I included in Glimmer DSL for GTK, that
would apply to LibUI too if the basic assumption of a working Linux GTK GUI
is not satisfied:

sudo apt-get install libgtk-3-dev

Source (includes another workaround if the command on top doesn't work):

I hope that helps.

You are welcome to submit an issue at the Glimmer DSL for LibUI GItHub repo
if you continue having an issue in running it:

Cheers,

···

On Mon, Oct 23, 2023 at 2:54 AM botp via ruby-talk < ruby-talk@ml.ruby-lang.org> wrote:

On Mon, Oct 23, 2023 at 5:06 AM Andy Maleh via ruby-talk < > ruby-talk@ml.ruby-lang.org> wrote:

Glimmer DSL for LibUI 0.9.x versions include support for a new Glimmer
Command,

awesome.

unfortunately, i'm stuck :frowning:

> require 'glimmer-dsl-libui'
/home/botp/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/fiddle.rb:62:in
`initialize': /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not
found (required by
/home/botp/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/libui-0.1.2.pre/vendor/libui.so)
(Fiddle::DLError)

running ubuntu 18.04 w glibc 2.27

kind regards --botp

______________________________________________
ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org
To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org
ruby-talk info --
Info | ruby-talk@ml.ruby-lang.org - ml.ruby-lang.org

--
Andy Maleh

LinkedIn: Andy Maleh - Senior Developer - Lexop | LinkedIn
<https://www.linkedin.com/in/andymaleh&gt;
Blog: http://andymaleh.blogspot.com
GitHub: AndyObtiva (Andy Maleh) · GitHub
Twitter: @AndyObtiva <https://twitter.com/AndyObtiva&gt;