Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
66 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 66

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL2

Subject: Re: SDL2
by Thematic on 2019/2/11 22:27:41

I tried to compile SDL2 itself, never mind why. I got:

/ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.cIn function 'OS4_FindApplicationName':
/
ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.c:146:21error'MAX_DOS_PATH' undeclared (first use in this function); did you mean 'MAXFLOAT'?
     
char pathBuffer[MAX_DOS_PATH];
                     ^~~~~~~~~~~~
                     
MAXFLOAT
/ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.c:146:21noteeach undeclared identifier is reported only once for each function it appears in
/ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.c:147:21error'MAX_DOS_FILENAME' undeclared (first use in this function); did you mean 'EAD_IS_FILE'?
     
char nameBuffer[MAX_DOS_FILENAME];
                     ^~~~~~~~~~~~~~~~
                     
EAD_IS_FILE
/ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.c:149:15error'struct DOSIFace' has no member named 'GetCliProgramName'did you mean 'GetProgramName'?
     if (
IDOS->GetCliProgramName(pathBufferMAX_DOS_PATH 1)) {
               ^~~~~~~~~~~~~~~~~
               
GetProgramName
/ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.c:147:10warningunused variable 'nameBuffer' [-Wunused-variable]
     
char nameBuffer[MAX_DOS_FILENAME];
          ^~~~~~~~~~
/
ahihi/sdl2-amigaos4-master/src/video/amigaos4/SDL_os4video.c:146:10warningunused variable 'pathBuffer' [-Wunused-variable]
     
char pathBuffer[MAX_DOS_PATH];
          ^~~~~~~~~~
gmake: *** [build/SDL_os4video.loError 1

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project