Skip to content

broken build on fedora #61

@Paladynee

Description

@Paladynee

followed build steps to the T, got compile error

eurydice@fedora:~$ sudo dnf install libXi-devel libXrandr-devel
Updating and loading repositories:
Repositories loaded.
Package                                  Arch        Version                                   Repository                 Size
Installing:
 libXi-devel                             x86_64      1.8.2-3.fc43                              fedora                132.5 KiB
 libXrandr-devel                         x86_64      1.5.4-6.fc43                              fedora                 21.8 KiB
Installing dependencies:
 libXfixes-devel                         x86_64      6.0.1-6.fc43                              fedora                  9.2 KiB

Transaction Summary:
 Installing:         3 packages

Total size of inbound packages is 148 KiB. Need to download 148 KiB.
After this operation, 164 KiB extra will be used (install 164 KiB, remove 0 B).
Is this ok [y/N]: yy
Is this ok [y/N]: y
[1/3] libXfixes-devel-0:6.0.1-6.fc43.x86_64                                           100% | 161.0 KiB/s |  12.6 KiB |  00m00s
[2/3] libXrandr-devel-0:1.5.4-6.fc43.x86_64                                           100% | 218.5 KiB/s |  19.2 KiB |  00m00s
[3/3] libXi-devel-0:1.8.2-3.fc43.x86_64                                               100% | 845.3 KiB/s | 115.8 KiB |  00m00s
------------------------------------------------------------------------------------------------------------------------------
[3/3] Total                                                                           100% | 234.3 KiB/s | 147.6 KiB |  00m01s
Running transaction
[1/5] Verify package files                                                            100% |   1.0 KiB/s |   3.0   B |  00m00s
[2/5] Prepare transaction                                                             100% |  10.0   B/s |   3.0   B |  00m00s
[3/5] Installing libXfixes-devel-0:6.0.1-6.fc43.x86_64                                100% |   1.2 MiB/s |   9.9 KiB |  00m00s
[4/5] Installing libXi-devel-0:1.8.2-3.fc43.x86_64                                    100% |   5.4 MiB/s | 144.6 KiB |  00m00s
[5/5] Installing libXrandr-devel-0:1.5.4-6.fc43.x86_64                                100% |  47.3 KiB/s |  24.7 KiB |  00m01s
Complete!
eurydice@fedora:~$ cd sources/
eurydice@fedora:~/sources$ git clone https://github.com/tsoding/sowon
Cloning into 'sowon'...
remote: Enumerating objects: 478, done.
remote: Counting objects: 100% (238/238), done.
remote: Compressing objects: 100% (105/105), done.
remote: Total 478 (delta 145), reused 157 (delta 123), pack-reused 240 (from 2)
Receiving objects: 100% (478/478), 1.46 MiB | 3.03 MiB/s, done.
Resolving deltas: 100% (249/249), done.
eurydice@fedora:~/sources$ cd sowon
eurydice@fedora:~/sources/sowon$ make
mkdir -pv build
mkdir: created directory 'build'
cc -Wall -Wextra -ggdb -std=c99 -pedantic -Ithirdparty -Ibuild -DPENGER -o build/png2c src/png2c.c -lm
./build/png2c ./assets/digits.png digits > build/digits.h
./build/png2c ./assets/penger_walk_sheet.png penger > build/penger_walk_sheet.h
cc -Wall -Wextra -ggdb -std=c99 -pedantic -Ithirdparty -Ibuild -DPENGER -o sowon src/main.c -lX11 -lXrandr -lGLX -lGL -lm
src/main.c:19:10: fatal error: GL/gl.h: No such file or directory
   19 | #include <GL/gl.h>
      |          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:18: sowon] Error 1
eurydice@fedora:~/sources/sowon$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions