Closed GrimPixel closed 1 year ago
Are you compiling with gcc? What version? I'll fix the warnings. There is only one error, the missing header file AL/alut.h. This is the header for ALUT, the OpenAL utility toolkit. I'm unfamiliar with Arch Linux, but it looks like you can download this package: https://archlinux.org/packages/extra/x86_64/freealut/
Those two warnings should be fixed now.
Thanks. The program runs now.
Maybe you can add a list of Arch Linux libraries?
pacman -S openal
pacman -S freealut
pacman -S freeglut
pacman -S libpng
pacman -S glew
pacman -S glm
pacman -S zstd
pacman -S libtiff
pacman -S libjpeg-turbo
pacman -S libxrender
pacman -S libxmu
pacman -S libxi
Thanks. I can't easily test this, but I assume it's correct. I updated the README.linux file.
I found that I made a mistake: Because its default package manager “pacman” can't access Arch User Repository, other package managers like “yay” and “paru” are usually used. While they all need sudo, “pacman” requires it to be written as sudo pacman -S
, while “yay” and “paru” requires it to be written as yay -S
or paru -S
. I forgot to add sudo
.
Thanks. I think it's enough to list the required packages. If the user is technical enough to check the project out from GitHub and build it, I'm sure they can figure out how to use the package manger.
I am not using Ubuntu or any Debian offspring. I use Arch Linux, so I skipped that “Install (Ubuntu):” part. Libraries with those names do not exist in Arch Linux repositories.