-
Notifications
You must be signed in to change notification settings - Fork 66
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 #5
Comments
You have to make a decision: A simple starting point is the integration of libdebug:
Here is a Then I invoke the makefile and install the files. |
first try:
|
|
I have asked Henryk Richter (author of the libSDL12 repo) to join us in this issue with his input. So please leave this open. :) |
inttypes.h is always an issue for me with your toolchain, which is why I have added my own inttypes.h file in /opt/m68k-amigaos/include:
|
I believe I've mentioned this before, but been told I've done something wrong. Eventually I just added the file myself. It's required for me to compile MilkyTracker as well. |
I don't know how much of this file is actually needed. |
I'll add it to ixemul --> ends up in sys-includes next:
it depends on the cgx.sdk |
but there it is |
Yeah, for some reason the include path for cybergraphics has changed between cybergraphx and cybergraphics between generations. While one is still used in MorphOS, another is used in your toolchain. And depending on source I've been working with it's been switched around. Pretty stupid. |
if symlinks exists, they are used :-) |
next one:
should be no? |
yup, it differs on older GCC toolchains, especially if you use the old gg toolchain in Workbench |
I added you to the SDL team on AmigaPorts. Feel free to make changes to the libSDL12 repo. |
I will look tomorrow - I pushed what I already did. |
But the headers are currently not installed, because I don't like the fact that all headers are duplicated. |
Yeah, I don't know why that is like that. I have to ask Henryk about this.
…On Sun, Feb 11, 2018 at 12:49 PM, bebbo ***@***.***> wrote:
make libSDL12 is built now.
But the headers are currently not installed, because I don't like the fact
that all headers are duplicated.
I'd prefer having the SDL headers in the SDL folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIXahVLEScN2Ru8GLZuj0GStnbt1ADtPks5tTtO6gaJpZM4R_HVr>
.
|
I knew that this thing would be going to haunt me. Yes, you both are absolutely right. There are redundant files in this particular Amiga SDL port. I didn't find time and motivation to clean the source up, as of yet. FWIW, I've deleted the superfluous includes and kept only the SDL subdirectory. The lib builds just as fine. As Bebbo pointed out, inttypes.h is not really necessary to build SDL itself. Hence, it is disabled now in SDL_config_amigaos.h. Hope it helps along a little. |
Thanks for that! :) Bebbo: |
now the SDL and GL folders are copied. |
As a side-note, I intend to apply the fixes from the libSDL12 repo to the AmigaPorts/SDL repo. When it's time to switch I'll let you know. Until then libSDL12 serves its purpose. |
Awesome, thank you! :) 👍 |
Make-script fails at libSDL12:
|
Simply moving the first " from "CFLAGS= to CFLAGS=" fixes this. |
... happens :-) |
what's left to do here? |
Nothing until we're/I'm done merging the libSDL12 repo into the AmigaPorts/SDL/SDL-1.2 branch, which is a lot of manual work! |
reopened if necessary |
"Fire-0.3" demo from https://su2.info/demos/ |
I noticed that you finally added the SDK SDL. I'm curious of how the SDK install works.
The repository https://github.com/AmigaPorts/libSDL12 has SDL 1.2.15, reworked for AmigaOS3.x with a bunch of bug-fixes over 1.2.6, like fullscreen finally works. As well as AMMX extras working for Vampire cards to get some extra speed with the blitter.
The functioning makefile in this repository is Makefile.bax. The prefix is wrong but the rest should be correct.
The Vampire specific functions are defined in an vasm assembler file, that is compiled with VASM and then included in the gcc linker.
The Apollo/Vampire specifics seem to be in here: https://github.com/AmigaPorts/libSDL12/tree/master/video/apollo
The Apollo/Vampire specifics are designed to only be used if the Apollo based CPU is identified. So it will work on 020, 030, 040 and 060 just as well!
I think Makefile.bax is pretty self explanatory! =)
I need to know how I could implement this in the SDK install process, so we can leave the bug-ridden SDL 1.2.6 from Aminet behind, once and for all!
The text was updated successfully, but these errors were encountered: