Guest User

Untitled

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