We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All my linux builds failed with this error.
platform/x11/joystick_linux.cpp:36:21: fatal error: libudev.h: No such file or directory
I'm compiling on linux with gamepad=no to avoid this issues.
The text was updated successfully, but these errors were encountered:
It seems they changed from gamepad to udev
on platform/x11/detect.py: before: ('gamepad','Gamepad support, requires libudev and libevdev','yes'), after: ('udev','Use udev for gamepad connection callbacks','no'),
('gamepad','Gamepad support, requires libudev and libevdev','yes'),
('udev','Use udev for gamepad connection callbacks','no'),
EDIT: This is really strange, it seems the default would be for udev to be no.
on platform/x11/detect.py we got this now:
if (platform.system() == "Linux"): env.Append(CPPFLAGS=["-DJOYDEV_ENABLED"]) if (env["udev"]=="yes"):
It seems to be adding djoydev just because it is linux, regardless if udev is enabled.
EDIT2: Related to #3708
Sorry, something went wrong.
oops, sorry. Forgot to #ifdef the #include <libudev.h> I'll fix it right away
#ifdef
#include <libudev.h>
Thanks!
Successfully merging a pull request may close this issue.
All my linux builds failed with this error.
platform/x11/joystick_linux.cpp:36:21: fatal error: libudev.h: No such file or directory
I'm compiling on linux with gamepad=no to avoid this issues.
The text was updated successfully, but these errors were encountered: