Skip to content

Suggestion(README): Consider adding a section with a list of dependencies needed to compile #90

Description

@Vincent-Dalstra

This came up while I was re-installing my operating system. So the same code, but a more-or-less fresh install (Pop OS 22.04 LTS).

After that, I got errors for missing packages when compiling the 'imgui' example:

asound
GL
X11
Xi
Xcursor

I figured out that I had previously installed these packages when setting up raylib. Once I installed the listed packages (Ubuntu, in my case) I could compile and run as before.

https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux

sudo apt install build-essential git
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev

(some of these may not be necessary)

I suggest including something similar in the README.md, as it might help people out getting started.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions