I wanted to build the trunk today, but I had problems with some Irrlicht files (OSX specific files).
They were not found (there were 2 of them):
- {l Code}: {l Select All Code}
[ 67%] Building CXX object CMakeFiles/supertuxkart.dir/src/graphics/lens_flare.cpp.o
In file included from /Users/max/Entwicklung/Code/Games/supertuxkart/src/graphics/glow.cpp:22:
In file included from /Users/max/Entwicklung/Code/Games/supertuxkart/src/graphics/glwrap.hpp:19:
In file included from /Users/max/Entwicklung/Code/Games/supertuxkart/src/graphics/../../lib/irrlicht/source/Irrlicht/COpenGLDriver.h:25:
/Users/max/Entwicklung/Code/Games/supertuxkart/src/graphics/../../lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h:33:11: fatal error:
'CIrrDeviceMacOSX.h' file not found
#include "CIrrDeviceMacOSX.h"
^
I tried to fix them successfully , I attached patches from svn diff:
But now, when I start the game, it shows and quits this :
- {l Code}: {l Select All Code}
Irrlicht Engine version 1.8.0
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
[info ] FileManager: Data files will be fetched from: '/Users/max/Entwicklung/Code/Games/supertuxkart/cmake_build/bin/supertuxkart.app/Contents/Resources/'
[info ] FileManager: User directory is '/Users/max/Library/Application Support/SuperTuxKart/'.
[info ] FileManager: Addons files will be stored in '/Users/max/Library/Application Support/SuperTuxKart/Addons/'.
[info ] FileManager: Screenshots will be stored in '/Users/max/Library/Application Support/SuperTuxKart/Screenshots/'.
Unknown value for motionblur_enabled; expected true or false
Unknown value for mlaa; expected true or false
[debug ] translation: Env var LANGUAGE = 'de'.
[debug ] translation: Language 'German'.
[info ] irr_driver: GLSL supported.
[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile
[warn ] [IrrDriver Temp Logger]: Level 3: ERROR: 0:6: Attempt to redeclare 'length' as a variable
ERROR: 0:18: Attempt to use 'length' as a variable
ERROR: 0:18: Attempt to use 'length' as a variable
[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile
[warn ] [IrrDriver Temp Logger]: Level 3: ERROR: 0:6: Attempt to redeclare 'length' as a variable
ERROR: 0:18: Attempt to use 'length' as a variable
ERROR: 0:18: Attempt to use 'length' as a variable
[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile
[warn ] [IrrDriver Temp Logger]: Level 3: ERROR: 0:4: 'f' : syntax error syntax error
[fatal ] shaders: Shader WATER failed to load. Update your drivers, if the issue persists, report a bug to us.
Best regards,
supermat
off-topic: How can I take screenshots using my Wireless Keyboard, it has no print key.