Skip to content

[core] Building for Wayland instead of X11 on Ubuntu 22.04 produces compile error in GLFW lib #2666

Closed
@defce74

Description

  • I tested it on latest raylib version from master branch
  • I checked there is no similar issue already reported
  • My code has no errors or misuse of raylib

Building for Wayland instead of X11 on Ubuntu 22.04 produces compile error in GLFW lib

external/glfw/src/wl_platform.h:57:10: fatal error: wayland-xdg-shell-client-protocol.h: No such file or directory

in raylib/src/Makefile: USE_WAYLAND_DISPLAY ?= TRUE

This #include was removed in this glfw commit: glfw/glfw@dffe203#diff-a236f7eff7f0908ab273256af30863eb4023c4d5b28feb5e5fe1b20eee43fdc1

Using an external install of GLFW (latest master branch build https://github.com/glfw/glfw as of 28/8/2022) is working, therefore suggested that the Raylib GLFW version gets an update

in raylib/src/Makefile: USE_EXTERNAL_GLFW ?= TRUE

Environment

  • raylib 4.2 (latest master branch build as of 27/8/2022)
  • OS: Ubuntu 22.04 Wayland, Linux 5.18.15-051815-generic
  • OpenGL version: 4.6 (Core Profile) Mesa 22.0.5
  • GPU: AMD Radeon Vega 10 Graphics - raven, LLVM 13.0.1, DRM 3.46

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

    externalThis issue depends on external libplatform: LinuxLinux platform

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions