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
Fedora: Unable to find XShm.h #591
Comments
Look here and see if this helps:
https://packages.debian.org/search?suite=sid
§ion=all&arch=any&searchon=contents&keywords=XShm.h
I dont think its emscripten but rather the libxext-dev.
On Wed, Jan 23, 2019 at 5:48 PM Scott Baker ***@***.***> wrote:
I'm trying to build on Fedora and getting an error about XShm.h being
missing.
In file included from platform/linux/acpllnx.cpp:23:
/usr/include/xalleg.h:38:10: fatal error: X11/extensions/XShm.h: No such file or directory
#include <X11/extensions/XShm.h>
^~~~~~~~~~~~~~~~~~~~~~~
I'm not sure what package I should be installing on Fedora to get this
library. Any ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#591>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AB1wh9EenB8k4RPUHc3i9_fK7OteKxv1ks5vGOalgaJpZM4aPyM6>
.
--
-------------
Giuseppe DiPerla
Deep River, CT Congregation
Phone: 860-518-1500
Email: JDiPerla@GMail.com ; Giuseppe@DiPerla.com
Google Voice: 860-615-9428
|
I had to install both Now I'm getting:
|
fsin and fcos are part of Allegro 4 API. UPD: they WERE part of Allegro API, until this: liballeg/allegro5@4848f15 What version of Allegro are you using? |
Allegro 5 is available in the repos also. Should I try that? |
No, Allegro 5 is totally different and not compatible. Can you check that the code shown in the commit linked above still exists in allegro header? |
|
Hmm, well, then either ALLEGRO_NO_FIX_ALIASES is defined, or the header does not get included into the given *.c file for some reason. I am still not fully sure how these functions are included normally, I'll try to investigate a bit more. |
Alright, we actually have these aliases disabled in the latest ags3 and master branches: 44d9544 It's curious, that AAROT.c is actually not used by the engine, and is only linked to non-Windows ports. |
Aha... that makes sense now. If you land a fix for this let me know. I'll I'll update the Fedora compile instructions with a PR when this is all done. |
It's been a while since I've messed around with AGS. Should I be using |
I will make a PR soon.
The difference is explained in the readme, starting from here: https://github.com/adventuregamestudio/ags#contributing Right now the "master" branch contains future version which is called "ags4" (working title). But it does not have any actual release plan or date. This is open for suggestions. "ags3" is developed more actively at the moment and we will be releasing v3.5.0 in a while. All changes from "ags3" are being merged to master (ags4). |
I enabled
|
This is why these aliases were disabled in the first place: iirc same function names are also declared in standard library. You are going into opposite direction enabling it back. |
I opened pull request, could you try it out? #594 |
This should be fixed once the doc update in #595 is landed |
I'm trying to build on Fedora and getting an error about
XShm.h
being missing.I'm not sure what package I should be installing on Fedora to get this library. Any ideas?
The text was updated successfully, but these errors were encountered: