-
Notifications
You must be signed in to change notification settings - Fork 36
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
Issues With Compiling This Project #73
Comments
yea the problem is when i did sudo make install for the sdl ttf source, the installation path was in of it in How would you prefer sdl2_ttf be installed? |
I've edited the C files to prepend <SDL2/ on a few files to make it get past this issue. Now the Ada compiler is complaining with this error.
Here is where I don't know enough about the language yet to know what this means. |
The type of Container in Iterator is kind of an "anonymous" access type and it is different from the access type defined in sdl-video-palettes.ads:124. Yes, they are both I do not know enough the whole code to propose a solution, but I see two possible approaches
I do not know enough about the code to say which one is better or if there are strange side effects (I do not expect any, but never say never...). Maybe someone more expert could chime in? |
I'm not sure if this is an actual issue with the code, or an incorrect flag for building the project. But I would expect master to be a spitting image of the latest release, and it be fully build-able, test-able, and production ready code. I think there is something else that I am missing as I tried compiling from the docs, and am new to ada. |
What is the output from Where is your SDL_ttf.h file? |
I've just checked Debian and Fedora and they both install SDL_ttf.h in the same place as Gentoo (what I use). |
I would guess that either you don't have SDL2_ttf installed or the sdl2-config your using is not the correct one. Doesn't your OS have SDL2 packaged up? |
I am attempting to build sdlada on FreeBSD and am also getting the issues with the build not finding any SDL header. I too have to patch three files to prepend SDL2 to the include directive.
Tho, I am unsure if I am building the project correctly, there is no Alire on FreeBSD yet, so I am using the Ports system to fetch, extract, and |
I have built SDL2 from source. Although I probably plan to use ttf, I'm curious how would I go about getting it, and included so this could be built.
The text was updated successfully, but these errors were encountered: