| Summary: | SDL_ttf fails to compile, possible SDL2 incompatibility? (Revision fc4f9066741a) | ||
|---|---|---|---|
| Product: | SDL_ttf | Reporter: | Ellie <etc0de> |
| Component: | misc | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | sylvain.becker |
| Version: | 2.0.15 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
|
Description
Ellie
2020-03-30 00:24:48 UTC
You need a more recent version of SDL2 (>= SDL 2.12) to have SDL_SIMD_ALIGNED or just use an older version of SDL_ttf Well I was aware that was one way to work around it but: 1. To build a linux binary that is portable, one needs to use an old system with an old GLIBC. 2. Older SDL_TTF versions are useless to me, because they are harder to build and not the version I want to use. 3. I do actually use a newer SDL2 later at link time. What I'm saying is, while what you are saying is reasonable in a normal case, this is still annoying and it would be nice if it could be fixed. I'm basically not asking for the fun of it, but because it would be helpful if SDL_TTF actually built ok with older SDL2 headers in some cases. Of course if the fix is too complicated then forget about it, but you seem to mainly discount it as not being something useful to fix. (Which I think it is, see above) if you know what you're doing you can import the define. so how this was done: https://hg.libsdl.org/SDL/rev/85bc5436a005 https://hg.libsdl.org/SDL/rev/b2d4dcb4ba33 Ah I see, so if linked against an older SDL2 it would be aligned wrong and crash. So working around it in the header for everyone doesn't make any sense indeed, thanks for the info :-) and sorry for the ticket spam then You should be able to install the headers for a more recent version of SDL...? |