You are not logged in.

#21 2016-06-04 15:16:38

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: DOOM Retro on Bunsenlabs?

/usr/include/SDL2/SDL_image.h is in package  libsdl2-image-dev

Offline

#22 2016-06-04 17:14:39

Kino
Member
From: Stockport, UK
Registered: 2016-04-30
Posts: 109

Re: DOOM Retro on Bunsenlabs?

OK I installed libsdl2-image-dev, cloned the source and ran sudo make.
The error this time is:

cc -O2 -g `sdl2-config --cflags` -DX11 -c m_misc.c -o m_misc.o
m_misc.c: In function ‘M_FileExists’:
m_misc.c:95:17: error: ‘errno’ undeclared (first use in this function)
         return (errno == EISDIR);
                 ^
m_misc.c:95:17: note: each undeclared identifier is reported only once for each function it appears in
m_misc.c:95:26: error: ‘EISDIR’ undeclared (first use in this function)
         return (errno == EISDIR);
                          ^
m_misc.c: In function ‘M_GetAppDataFolder’:
m_misc.c:177:25: warning: passing argument 1 of ‘M_StringJoin’ discards ‘const’ qualifier from pointer target type
     return M_StringJoin(buffer, DIR_SEPARATOR_S".config"DIR_SEPARATOR_S, PACKAGE, NULL);
                         ^
In file included from m_misc.c:54:0:
m_misc.h:74:7: note: expected ‘char *’ but argument is of type ‘const char *’
 char *M_StringJoin(char *s, ...);
       ^
Makefile:58: recipe for target 'm_misc.o' failed
make: *** [m_misc.o] Error 1

Offline

Board footer

Powered by FluxBB