-
Notifications
You must be signed in to change notification settings - Fork 2k
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
HAVE_XGENERICEVENT fails even though it's supported. #12243
Comments
@madebr can correct me if I'm wrong here, but /usr/local by definition is not part of the standard system path and should be added manually if desired. |
Yes, that's what we're currently doing for FreeBSD SDL/.github/workflows/create-test-plan.py Lines 706 to 709 in 4fd0b2a
|
Let's say you want to create a pure X11 application on FreeBSD. cmake_minimum_required(VERSION 3.16)
project(x11_app C)
find_package(X11 REQUIRED)
message(STATUS "X11_INCLUDE_DIR: \"${X11_INCLUDE_DIR}\"")
message(STATUS "X11_LIBRARIES: \"${X11_LIBRARIES}\"") |
Hey, I don't have a FreeBSD on hand right now, but I encountered the issue on Ubuntu through WSL. |
Issue
When trying to build SDL2 manually, this test fails even though it compiles and runs properly when compiled manually. Meaning building SDL2 ultimately fails with
XGenericEventCookie
related errors.Faulty line
https://github.com/libsdl-org/SDL/blob/7aba6c4c735a072ee019df94c5fda9057f6dbcd7/cmake/sdlchecks.cmake#L370C7-L370C30
Build options
System specs
The text was updated successfully, but these errors were encountered: