Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added building steps for Fedora Linux #128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,15 @@ Installation steps:
5. Install graphicsmagick: `sudo apt install libgraphicsmagick1-dev`
6. Install libpng: `sudo apt install libpng-dev`

On Fedora Linux:
1. Refresh RPM package manager: `sudo dnf update`
2. Install GCC: `sudo dnf groupinstall "Development Tools" && sudo dnf groupinstall "C Development Tools and Libraries"`
3. Install CMake: `sudo dnf install cmake`
4. Install Cairo: `sudo dnf install cairo-devel `
5. Install graphicsmagick: `sudo dnf install GraphicsMagick-devel`
6. Install libpng: `sudo apt install libpng-devel`. If `usr/include/libpng/png.h` doesn't exist do `sudo mkdir /usr/include/libpng && sudo ln -s /usr/include/libpng16/png.h /usr/include/libpng/png.h`
7. Install liblzma and libtiff: `sudo dnf install xz-devel libtiff-devel`

Example of CMake execution:
```
git clone --recurse-submodules https://github.com/cpp-io2d/P0267_RefImpl
Expand Down