-
Notifications
You must be signed in to change notification settings - Fork 93
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
SDL 2.0.18: Build error: 'KMOD_RESERVED' undeclared (first use in this function) #1682
Comments
Looks like it doesn't find SDL2 library. Is it installed on your system? |
Yes, maybe I'm missing a certain symlink it looks for? Is it looking for SDL1 instead of SDL2?
|
Im getting this same error in iortcw and ioquake3 as well. |
I see SDL 2.0.16 has been released just a few days ago. Your log seem to build with 2.0.17, which is the unstable version. Maybe something broke in that last version. As a reminder, we don't support build made with distro packaging systems (we can't, but you might ask the packaging maintainer), but you might succeed in using the provided |
If an internal command changed in a recent SDL2 git master commit, should I make an issue on the SDL2 git page? |
It depends on what broke. In your case, as a first step I'd start to install SDL 2.0.16 (SDL project uses even number for the stable version, odd number for development version) and see if that works. If 2.0.16 works, then this could be a regression on their end. If not, maybe we'll have to adjust something in ETL code. This said, I can't see anything relevant in the latest major changes. |
@zturtleman found the sdl2 git commit that borked the build for etlegacy / iortcw / ioquake3 if it helps any. |
Thank you! We'll need to keep this change in mind, when we move to the stable SDL v2.0.18 release. |
KMOD_RESERVED was restored in SDL so this build issue no longer exists. I would recommend displaying KMOD_SCROLL in |
I'm trying to compile etlegacy from current git master as of this post (fce82a4), and experience an error during compilation on Gentoo Linux with GCC 11.2. Here is a snippet of the error. full log also attached.
etlegacybuild.log
The text was updated successfully, but these errors were encountered: