error when building the git version

Hi all,
I tried to build the git version but not successful because of an error:
Information of my system:
Ubuntu 14.04 x64
gcc version 4.8.2
Can anyone help me with this?
Thanks!
I tried to build the git version but not successful because of an error:
- {l Code}: {l Select All Code}
.../stk-code/src/states_screens/dialogs/registration_dialog.cpp: In member function ‘virtual GUIEngine::EventPropagation RegistrationDialog::processEvent(const string&)’:
.../stk-code/src/states_screens/dialogs/registration_dialog.cpp:77:13: error: reference to ‘Screen’ is ambiguous
Screen *s = GUIEngine::getCurrentScreen();
^
In file included from /usr/include/GL/glx.h:30:0,
from .../stk-code/src/graphics/../../lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h:63,
from .../stk-code/src/graphics/../../lib/irrlicht/source/Irrlicht/COpenGLDriver.h:25,
from .../stk-code/src/graphics/glwrap.hpp:32,
from .../stk-code/src/graphics/rtts.hpp:20,
from .../stk-code/src/graphics/irr_driver.hpp:50,
from .../stk-code/src/guiengine/widgets/model_view_widget.hpp:25,
from .../stk-code/src/guiengine/widgets.hpp:29,
from .../stk-code/src/states_screens/dialogs/registration_dialog.cpp:22:
/usr/include/X11/Xlib.h:287:3: note: candidates are: typedef struct Screen Screen
} Screen;
^
In file included from .../stk-code/src/guiengine/abstract_state_manager.hpp:25:0,
from .../stk-code/src/states_screens/state_manager.hpp:31,
from .../stk-code/src/states_screens/dialogs/registration_dialog.cpp:23:
.../stk-code/src/guiengine/screen.hpp:97:11: note: class GUIEngine::Screen
class Screen : public AbstractTopLevelContainer
^
.../stk-code/src/states_screens/dialogs/registration_dialog.cpp:78:64: error: cannot dynamic_cast ‘s’ (of type ‘std::string {aka class std::basic_string<char>}’) to type ‘class RegisterScreen*’ (source is not a pointer)
RegisterScreen *r = dynamic_cast<RegisterScreen*>(s);
^
In file included from .../stk-code/src/graphics/rtts.hpp:20:0,
from .../stk-code/src/graphics/irr_driver.hpp:50,
from .../stk-code/src/states_screens/dialogs/select_challenge.cpp:24:
.../stk-code/src/graphics/glwrap.hpp:108:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<typename ... Types>
^
.../stk-code/src/graphics/glwrap.hpp:114:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<typename ... Types>
^
.../stk-code/src/graphics/glwrap.hpp:115:87: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
void loadAndAttach(GLint ProgramID, GLint ShaderType, const char *filepath, Types ... args)
^
.../stk-code/src/graphics/glwrap.hpp:123:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<typename ...Types>
^
.../stk-code/src/graphics/glwrap.hpp:129:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<typename ...Types>
^
.../stk-code/src/graphics/glwrap.hpp:130:70: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
void printFileList(GLint ShaderType, const char *filepath, Types ... args)
^
.../stk-code/src/graphics/glwrap.hpp:136:19: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
template<typename ... Types>
^
.../stk-code/src/graphics/glwrap.hpp:137:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 [enabled by default]
GLint LoadProgram(Types ... args)
^
make[2]: *** [CMakeFiles/supertuxkart.dir/src/states_screens/dialogs/registration_dialog.cpp.o] Error 1
Information of my system:
Ubuntu 14.04 x64
gcc version 4.8.2
Can anyone help me with this?
Thanks!