Source code fails to build with GCC
Status: Pre-Alpha
Brought to you by:
jsalmon3
I've attempted to compile Transit Executive but it failed due to a series of errors. First, src/config.cpp calls the mkdir() function without including the sys/stat.h header. Then, after including that header, the compilation fails due to the following problem:
src/font.cpp: In function ‘void FontDrawText(Font*, const Color&, const std::string&, int, int)’:
src/font.cpp:95: error: expected unqualified-id before ‘(’ token
src/font.cpp: In function ‘int FontLength(Font*, const std::string&)’:
src/font.cpp:120: error: expected unqualified-id before ‘(’ token
make: *** [src/font.o] Error 1