You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, tried to compile on Linux (Ubuntu) and had difficulties as I didn't know whether compile with Wayland or not (I don't know what this is). So tried both without success - different failures. Finally checked without Wayland und gat an X11 error not finding an #include <X11/Xlib.h>.
Maybe simply add that the interested user should install the headers. I used the following line (but is probably less to be needed to install, but this works on Ubuntu 20 LTS version from scratch).
For Linux X11 (https://en.wikipedia.org/wiki/X_Window_System) is the default option (safest). And sure, the users need to install the X11 headers and libraries to be able to compile anything for this display server protocol. Then, depending on their specific windows manager (Gnome, KDE, Enlightenment, ...) the users must install some others packages.
Keep using X11 for now.
On the other hand, Wayland (https://en.wikipedia.org/wiki/Wayland_(display_server_protocol)) is a candidate to substitute X11 in a near future, but is controversial and I don't want to argue about the pros or cons of this 'new' display server protocol. And sure, the users need to install some other packages to be able to compile for this display server protocol.
MiniFB is basically a lightweight cross platform library to create a framebuffer and draw into it. IMHO, explain users how to develop for Windows, Linux, MacOS X, iOS, Android, etc, is out of the scope of MiniFB. We simply couldn't do it because there are too many combinations.
Linux is a very fragmented OS, and there are several ways to install packages in the different distributions, and the package names may be different. Even between different versions of the same distribution.
In any case, we are glad to know that you decide to use our little library.
Hello, tried to compile on Linux (Ubuntu) and had difficulties as I didn't know whether compile with Wayland or not (I don't know what this is). So tried both without success - different failures. Finally checked without Wayland und gat an X11 error not finding an #include <X11/Xlib.h>.
Maybe simply add that the interested user should install the headers. I used the following line (but is probably less to be needed to install, but this works on Ubuntu 20 LTS version from scratch).
sudo apt-get install -y libx11-dev libgl1-mesa-dev libgtk-3-dev pkg-config
The text was updated successfully, but these errors were encountered: