amigamiaAdminPosted
3 years agoHi All,
We now have GCC 6.3.0 native in AROS and I am giving this a shot to compile SDL 2.0. Received a "Please insert volume "empty"" but clicking on cancel, seemed to have continued until the error in the attached image.
Edited by amigamia on 15-06-2022 17:20,
3 years ago You do not have access to view attachments
amigamiaAdminPosted
3 years agoI think I just managed to compile SDL 2.0 library for AROS after a few changes and switches between configure and the make file. This is compiled using the Makefile.minimal settings. Still need to test it though.
Edited by amigamia on 18-07-2022 16:14,
3 years ago You do not have access to view attachments
amigamiaAdminPosted
3 years agoHmmm, I have the libSDL2.a that compiled earlier and placed it in /Development/lib. I also created a new folder called SDL2 in /Development/include/SDL2 and copied the .h files from the source archive
I created a Makefile according to
https://lazyfoo.net/tutorials/SDL/01_hello_SDL/linux/cli/index.php
I know it's finding the correct library (libSDL2.a) because if I rename it I get a different error.
However, it can seem to find the SDL_Quit. SDL_Init, and a bunch of other SDL_****xx functions. (See screenshot)
The source file 01_hello_SDL.cpp has been modified to include the SDL2/SDL.h
Any idea?
Edited by amigamia on 20-07-2022 13:30,
3 years ago You do not have access to view attachments
amigamiaAdminPosted
3 years agoWell I tried different things. What worked first was to run a slightly modified Makefile.minimal to match the correct Includes and gcc
This generated a libSDL.a file but I get the same issue when compiling against this library.
I also was able to run the configure by tricking it into thinking it's a linux box with the following command:
./configure --build=i386 --host=i386-unknwon-linux --disable-video-opengl --disable-video-x11 --disable-video-rpi --disable-pulseaudio --disable-esd
This goes all the way to the end. In the process it asks for an empty volume and an opt as well but clicking on cancel makes it continue. See the attached for the end result of that.
This generates the default Makefile and if I issue the following command with no switches, it reads the Makefile that was just generated
However, it complains about the platform
You do not have access to view attachments
amigamiaAdminPosted
3 years agoFound online that I can use
to bypass the issue with the platform but goes into all sorts of other errors (See attached). So, I decided to give the Makefile.minimal a shot and that one worked after some modifications. Generates the LibSDL.a
You do not have access to view attachments
amigamiaAdminPosted
3 years agoI issued the
and I cannot find just SDL_Init for example. I can find SDL_Init_REAL which is strange but maybe that'll work??
You do not have access to view attachments