Suppose you have a PinePhone running Mobian ("bookworm") and a desktop or laptop running Debian ("sid"). How do you write a C program on the latter, that can run on the former?
The PinePhone is powerful enough that you could just install the build tools and everything you need directly on it and develop directly on the device. However, you may have reasons to want to avoid this approach, so let's look at the classic approach, where we build on the desktop and run on the mobile.
Let's see how to set up GNU Autotools for building a new project!
Today we're starting a new project written in the C language.
The project will have a dependency to make it more interesting. We really can use any library, and for this example we'll pick the SDL library.
Primesc din când în când invitații de a folosi WhatsApp. Fie pentru conversații ocazionale, fie pentru a mă alătura unui grup.
Din păcate, de fiecare dată trebuie să refuz invitația. Aleg să nu folosesc WhatsApp.
Every now and then I get invited to use WhatsApp. Either for chatting or for joining a group.
Unfortunately, I must decline each invitation. I choose not to use WhatsApp.
Given a bare ggez project like the one built in Lesson 0 we will load an image and display it in the game window.