Topic: Compiling the client
I'm trying to compile teeworlds client under ubuntu 13.10 and i'm getting the following long error message:
bam client_debug
[1/2] #1 c++ src/engine/client/text.cpp
In file included from other/freetype/include/freetype/config/ftconfig.h:42:0,
from other/freetype/include/freetype/freetype.h:33,
from src/engine/client/text.cpp:14:
other/freetype/include/freetype/config/ftoption.h:257:32: error: expected constructor, destructor, or type conversion before ‘(’ token
#define FT_EXPORT(x) __declspec(dllexport) x
^
other/freetype/include/freetype/freetype.h:1671:3: note: in expansion of macro ‘FT_EXPORT’
FT_EXPORT( FT_Error )
^
other/freetype/include/freetype/config/ftoption.h:257:32: error: expected constructor, destructor, or type conversion before ‘(’ token
#define FT_EXPORT(x) __declspec(dllexport) x
^
other/freetype/include/freetype/freetype.h:1690:3: note: in expansion of macro ‘FT_EXPORT’
FT_EXPORT( FT_Error )
...
src/engine/client/text.cpp: In member function ‘virtual void CTextRender::Init()’:
src/engine/client/text.cpp:459:32: error: ‘FT_Init_FreeType’ was not declared in this scope
FT_Init_FreeType(&m_FTLibrary);
^
src/engine/client/text.cpp: In member function ‘virtual CFont* CTextRender::LoadFont(const char*)’:
src/engine/client/text.cpp:470:70: error: ‘FT_New_Face’ was not declared in this scope
if(FT_New_Face(m_FTLibrary, pFont->m_aFilename, 0, &pFont->m_FtFace))
^
bam: 'objs/engine/client/text_d.o' error 256
bam: error: a build step failed