Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 34%] Building CXX object GsKit/graphics/CMakeFiles/GsKit_graphics.dir/GsPalette.cpp.o
- In file included from /home/tacgnol/commander-genius-git/src/Commander-Genius/GsKit/graphics/GsTrueTypeFont.cpp:5:
- /usr/include/SDL2/SDL_ttf.h:165:16: error: using typedef-name ‘TTF_Font’ after ‘struct’
- 165 | typedef struct TTF_Font TTF_Font;
- | ^~~~~~~~
- In file included from /home/tacgnol/commander-genius-git/src/Commander-Genius/GsKit/graphics/GsTrueTypeFont.cpp:2:
- /home/tacgnol/commander-genius-git/src/Commander-Genius/GsKit/graphics/GsTrueTypeFont.h:9:26: note: ‘TTF_Font’ has a previous declaration here
- 9 | typedef struct _TTF_Font TTF_Font;
- | ^~~~~~~~
- /usr/include/SDL2/SDL_ttf.h:165:25: error: conflicting declaration ‘typedef int TTF_Font’
- 165 | typedef struct TTF_Font TTF_Font;
- | ^~~~~~~~
- /home/tacgnol/commander-genius-git/src/Commander-Genius/GsKit/graphics/GsTrueTypeFont.h:9:26: note: previous declaration as ‘typedef struct _TTF_Font TTF_Font’
- 9 | typedef struct _TTF_Font TTF_Font;
- | ^~~~~~~~
- [ 35%] Building CXX object GsKit/graphics/CMakeFiles/GsKit_graphics.dir/GsTilemap.cpp.o
- make[2]: *** [GsKit/graphics/CMakeFiles/GsKit_graphics.dir/build.make:135: GsKit/graphics/CMakeFiles/GsKit_graphics.dir/GsTrueTypeFont.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- [ 35%] Building CXX object GsKit/graphics/CMakeFiles/GsKit_graphics.dir/GsDynColor.cpp.o
- make[1]: *** [CMakeFiles/Makefile2:937: GsKit/graphics/CMakeFiles/GsKit_graphics.dir/all] Error 2
- make: *** [Makefile:156: all] Error 2
- make: Leaving directory '/home/tacgnol/commander-genius-git/src/Commander-Genius-build'
- ==> ERROR: A failure occurred in build().
- Aborting...
Advertisement
Add Comment
Please, Sign In to add comment