Last active
May 27, 2025 22:29
-
-
Save tnn4/0c09386f4b2698fed9d5741dc7997ddb to your computer and use it in GitHub Desktop.
love compilation fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/love2d/love.git | |
cd love | |
# build essentials | |
cmake make automake gcc gcc-c++ kernel-devel | |
# missing sdl3 | |
sudo dnf install SDL3-devel | |
# missing freetype | |
sudo dnf install freetype-devel | |
# missing openal | |
sudo dnf install openal-soft-devel | |
# missing modplug | |
sudo dnf search modplug # found libmodplug-devel.x86_64 | |
sudo dnf install libmodplug-devel.x86_64 | |
# missing theora | |
sudo dnf search theora | |
sudo dnf install libtheora-devel.x86_64 | |
sudo dnf install luajit-devel | |
# create directory `build/` | |
cmake -B build -S. --install-prefix $PWD/prefix | |
# build all cores put files in `prefix/` | |
cmake --build build --target install -j$(nproc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment