src/engine/client/input.cpp:3:10: fatal error: SDL.h: No such file or directory 3 | #include "SDL.h" | ^~~~~~~ compilation terminated. bam: 'c++ src/engine/client/input.cpp' error 256 [ 61/145] [11] c++ src/engine/client/text.cpp src/engine/client/backend_sdl.cpp:2:10: fatal error: SDL.h: No such file or directory 2 | #include "SDL.h" | ^~~~~~~ compilation terminated. bam: 'c++ src/engine/client/backend_sdl.cpp' error 256 [ 62/145] [ 7] c++ src/engine/client/sound.cpp [ 63/145] [ 4] c++ src/engine/client/graphics_threaded.cpp [ 64/145] [ 8] c++ src/engine/client/friends.cpp In file included from other/freetype/include/config/ftconfig.h:42, from other/freetype/include/freetype.h:33, from src/engine/client/text.cpp:14: other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:1798:3: note: in expansion of macro ‘FT_EXPORT’ 1798 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:1817:3: note: in expansion of macro ‘FT_EXPORT’ 1817 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:1989:3: note: in expansion of macro ‘FT_EXPORT’ 1989 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2027:3: note: in expansion of macro ‘FT_EXPORT’ 2027 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2087:3: note: in expansion of macro ‘FT_EXPORT’ 2087 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2111:3: note: in expansion of macro ‘FT_EXPORT’ 2111 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2146:3: note: in expansion of macro ‘FT_EXPORT’ 2146 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2174:3: note: in expansion of macro ‘FT_EXPORT’ 2174 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2197:3: note: in expansion of macro ‘FT_EXPORT’ 2197 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2219:3: note: in expansion of macro ‘FT_EXPORT’ 2219 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2359:3: note: in expansion of macro ‘FT_EXPORT’ 2359 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2400:3: note: in expansion of macro ‘FT_EXPORT’ 2400 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2435:3: note: in expansion of macro ‘FT_EXPORT’ 2435 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2477:3: note: in expansion of macro ‘FT_EXPORT’ 2477 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2512:3: note: in expansion of macro ‘FT_EXPORT’ 2512 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2809:3: note: in expansion of macro ‘FT_EXPORT’ 2809 | FT_EXPORT( void ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2915:3: note: in expansion of macro ‘FT_EXPORT’ 2915 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:2988:3: note: in expansion of macro ‘FT_EXPORT’ 2988 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3029:3: note: in expansion of macro ‘FT_EXPORT’ 3029 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3075:3: note: in expansion of macro ‘FT_EXPORT’ 3075 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3101:3: note: in expansion of macro ‘FT_EXPORT’ 3101 | FT_EXPORT( const char* ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3133:3: note: in expansion of macro ‘FT_EXPORT’ 3133 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3162:3: note: in expansion of macro ‘FT_EXPORT’ 3162 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3184:3: note: in expansion of macro ‘FT_EXPORT’ 3184 | FT_EXPORT( FT_Int ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3218:3: note: in expansion of macro ‘FT_EXPORT’ 3218 | FT_EXPORT( FT_UInt ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3266:3: note: in expansion of macro ‘FT_EXPORT’ 3266 | FT_EXPORT( FT_ULong ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3300:3: note: in expansion of macro ‘FT_EXPORT’ 3300 | FT_EXPORT( FT_ULong ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3323:3: note: in expansion of macro ‘FT_EXPORT’ 3323 | FT_EXPORT( FT_UInt ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3399:3: note: in expansion of macro ‘FT_EXPORT’ 3399 | FT_EXPORT( FT_Error ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3491:3: note: in expansion of macro ‘FT_EXPORT’ 3491 | FT_EXPORT( FT_UShort ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3577:3: note: in expansion of macro ‘FT_EXPORT’ 3577 | FT_EXPORT( FT_UInt ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3613:3: note: in expansion of macro ‘FT_EXPORT’ 3613 | FT_EXPORT( FT_Int ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3644:3: note: in expansion of macro ‘FT_EXPORT’ 3644 | FT_EXPORT( FT_UInt32* ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3677:3: note: in expansion of macro ‘FT_EXPORT’ 3677 | FT_EXPORT( FT_UInt32* ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3711:3: note: in expansion of macro ‘FT_EXPORT’ 3711 | FT_EXPORT( FT_UInt32* ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3768:3: note: in expansion of macro ‘FT_EXPORT’ 3768 | FT_EXPORT( FT_Long ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3803:3: note: in expansion of macro ‘FT_EXPORT’ 3803 | FT_EXPORT( FT_Long ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3825:3: note: in expansion of macro ‘FT_EXPORT’ 3825 | FT_EXPORT( FT_Long ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3844:3: note: in expansion of macro ‘FT_EXPORT’ 3844 | FT_EXPORT( FT_Fixed ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3863:3: note: in expansion of macro ‘FT_EXPORT’ 3863 | FT_EXPORT( FT_Fixed ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3882:3: note: in expansion of macro ‘FT_EXPORT’ 3882 | FT_EXPORT( FT_Fixed ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3903:3: note: in expansion of macro ‘FT_EXPORT’ 3903 | FT_EXPORT( void ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:3993:3: note: in expansion of macro ‘FT_EXPORT’ 3993 | FT_EXPORT( void ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:4027:3: note: in expansion of macro ‘FT_EXPORT’ 4027 | FT_EXPORT( FT_Bool ) | ^~~~~~~~~ other/freetype/include/config/ftoption.h:284:32: error: expected constructor, destructor, or type conversion before ‘(’ token 284 | #define FT_EXPORT(x) __declspec(dllexport) x | ^ other/freetype/include/freetype.h:4057:3: note: in expansion of macro ‘FT_EXPORT’ 4057 | FT_EXPORT( FT_Bool ) | ^~~~~~~~~ src/engine/client/sound.cpp:11:10: fatal error: SDL.h: No such file or directory 11 | #include "SDL.h" | ^~~~~~~ compilation terminated. bam: 'c++ src/engine/client/sound.cpp' error 256 [ 65/145] [ 7] c++ src/game/client/ui.cpp src/engine/client/text.cpp: In member function ‘void CTextRender::InitIndex(CFont*, int)’: src/engine/client/text.cpp:200:17: error: ‘FT_Set_Pixel_Sizes’ was not declared in this scope 200 | FT_Set_Pixel_Sizes(pFont->m_FtFace, 0, pSizeData->m_FontSize); | ^~~~~~~~~~~~~~~~~~ src/engine/client/text.cpp:209:40: error: ‘FT_Get_First_Char’ was not declared in this scope 209 | int Charcode = FT_Get_First_Char(pFont->m_FtFace, &GlyphIndex); | ^~~~~~~~~~~~~~~~~ src/engine/client/text.cpp:213:33: error: ‘FT_Load_Glyph’ was not declared in this scope; did you mean ‘UploadGlyph’? 213 | FT_Load_Glyph(pFont->m_FtFace, GlyphIndex, FT_LOAD_DEFAULT); | ^~~~~~~~~~~~~ | UploadGlyph src/engine/client/text.cpp:217:44: error: ‘FT_Get_Next_Char’ was not declared in this scope 217 | Charcode = FT_Get_Next_Char(pFont->m_FtFace, Charcode, &GlyphIndex); | ^~~~~~~~~~~~~~~~ src/engine/client/text.cpp: In member function ‘int CTextRender::RenderGlyph(CFont*, CFontSizeData*, int)’: src/engine/client/text.cpp:304:17: error: ‘FT_Set_Pixel_Sizes’ was not declared in this scope 304 | FT_Set_Pixel_Sizes(pFont->m_FtFace, 0, pSizeData->m_FontSize); | ^~~~~~~~~~~~~~~~~~ src/engine/client/text.cpp:306:20: error: ‘FT_Load_Char’ was not declared in this scope 306 | if(FT_Load_Char(pFont->m_FtFace, Chr, FT_LOAD_RENDER|FT_LOAD_NO_BITMAP)) | ^~~~~~~~~~~~ src/engine/client/text.cpp:329:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 329 | for(py = 0; py < pBitmap->rows; py++) // ignore_convention | ~~~^~~~~~~~~~~~~~~ src/engine/client/text.cpp:330:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 330 | for(px = 0; px < pBitmap->width; px++) // ignore_convention | ~~~^~~~~~~~~~~~~~~~ src/engine/client/text.cpp:335:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 335 | for(py = 0; py < pBitmap->rows; py++) // ignore_convention | ~~~^~~~~~~~~~~~~~~ src/engine/client/text.cpp:336:48: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 336 | for(px = 0; px < pBitmap->width; px++) // ignore_convention | ~~~^~~~~~~~~~~~~~~~ src/engine/client/text.cpp: In member function ‘void CTextRender::RenderSetup(CFont*, int)’: src/engine/client/text.cpp:425:17: error: ‘FT_Set_Pixel_Sizes’ was not declared in this scope 425 | FT_Set_Pixel_Sizes(pFont->m_FtFace, 0, size); | ^~~~~~~~~~~~~~~~~~ src/engine/client/text.cpp: In member function ‘float CTextRender::Kerning(CFont*, int, int)’: src/engine/client/text.cpp:431:17: error: ‘FT_Get_Kerning’ was not declared in this scope 431 | FT_Get_Kerning(pFont->m_FtFace, Left, Right, FT_KERNING_DEFAULT, &Kerning); | ^~~~~~~~~~~~~~ src/engine/client/text.cpp: In member function ‘virtual void CTextRender::Init()’: src/engine/client/text.cpp:459:17: error: ‘FT_Init_FreeType’ was not declared in this scope 459 | FT_Init_FreeType(&m_FTLibrary); | ^~~~~~~~~~~~~~~~ [ 66/145] [12] c++ src/game/client/lineinput.cpp src/engine/client/text.cpp: In member function ‘virtual CFont* CTextRender::LoadFont(const char*)’: src/engine/client/text.cpp:470:20: error: ‘FT_New_Face’ was not declared in this scope; did you mean ‘FT_Face’? 470 | if(FT_New_Face(m_FTLibrary, pFont->m_aFilename, 0, &pFont->m_FtFace)) | ^~~~~~~~~~~ | FT_Face bam: 'c++ src/engine/client/text.cpp' error 256 bam: error: a build step failed