[Bf-committers] error building with BGE and scons

Yousef Hurfoush bat3a at msn.com
Sat May 14 18:28:06 CEST 2011



hi all 

scons gives this error on building with BGE.

confirmed that i'm able to build without the BGE and player:

log message:
--------------------------------------------------------------------------------------------------------------------------------------
scons: `C:\Development\blender\build\win64-temp\lib\bf_blenfont.lib' is up to da
te.
scons: `C:\Development\blender\build\win64-temp\lib\bf_python_ext.lib' is up to
date.
scons: `C:\Development\blender\build\win64-temp\lib\bf_python.lib' is up to date
.
scons: `C:\Development\blender\build\win64-temp\lib\bf_imbuf_dds.lib' is up to d
ate.
scons: `C:\Development\blender\build\win64-temp\lib\bf_imbuf_cineon.lib' is up t
o date.
scons: `C:\Development\blender\build\win64-temp\lib\bf_imbuf_openexr.lib' is up
to date.
scons: `C:\Development\blender\build\win64-temp\lib\bf_collada.lib' is up to dat
e.
scons: `C:\Development\blender\build\win64-temp\lib\bf_creator.lib' is up to dat
e.
scons: `C:\Development\blender\build\win64-temp\lib\ge_blen_routines.lib' is up
to date.
scons: `C:\Development\blender\build\win64-temp\lib\ge_converter.lib' is up to d
ate.
scons: `C:\Development\blender\build\win64-temp\lib\ge_logic_expressions.lib' is
 up to date.
scons: `C:\Development\blender\build\win64-temp\lib\ge_logic.lib' is up to date.

Compiling ==> 'KX_PythonShaders.cpp'
KX_PythonShaders.cpp
Compiling ==> 'KX_TimeLogger.cpp'
KX_TimeLogger.cpp
Compiling ==> 'KX_TouchEventManager.cpp'
Compiling ==> 'KX_TouchSensor.cpp'
KX_TouchEventManager.cpp
Compiling ==> 'KX_TrackToActuator.cpp'
KX_TouchSensor.cpp
Compiling ==> 'KX_VehicleWrapper.cpp'
KX_TrackToActuator.cpp
KX_VehicleWrapper.cpp
Compiling ==> 'KX_VertexProxy.cpp'
KX_VertexProxy.cpp
source\gameengine\Ketsji\KX_PythonShaders.cpp(59) : error C2039: 'GetBlenderShad
er' : is not a member of 'KX_BlenderMaterial'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_BlenderM
aterial.h(33) : see declaration of 'KX_BlenderMaterial'
source\gameengine\Ketsji\KX_PythonShaders.cpp(59) : error C2227: left of '->GetS
ources' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(65) : error C2039: 'csi' : is not
a member of 'Material'
        source\blender\makesdna\DNA_material_types.h(77) : see declaration of 'M
aterial'
source\gameengine\Ketsji\KX_PythonShaders.cpp(65) : error C2228: left of '.unifo
rms' must have class/struct/union
source\gameengine\Ketsji\KX_PythonShaders.cpp(65) : error C2228: left of '.first
' must have class/struct/union
source\gameengine\Ketsji\KX_PythonShaders.cpp(70) : error C2027: use of undefine
d type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(70) : error C2227: left of '->next
' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(150) : error C2039: 'GetBlenderSha
der' : is not a member of 'KX_BlenderMaterial'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_BlenderM
aterial.h(33) : see declaration of 'KX_BlenderMaterial'
source\gameengine\Ketsji\KX_PythonShaders.cpp(150) : error C2227: left of '->Set
Sources' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(157) : error C2039: 'GetBlenderSha
der' : is not a member of 'KX_BlenderMaterial'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_BlenderM
aterial.h(33) : see declaration of 'KX_BlenderMaterial'
source\gameengine\Ketsji\KX_PythonShaders.cpp(157) : error C2227: left of '->Set
Sources' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(164) : error C2039: 'GetBlenderSha
der' : is not a member of 'KX_BlenderMaterial'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_BlenderM
aterial.h(33) : see declaration of 'KX_BlenderMaterial'
source\gameengine\Ketsji\KX_PythonShaders.cpp(164) : error C2227: left of '->Set
Sources' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(181) : error C2065: 'KX_PYGENSEQ_S
HADER_TYPE_UNIFORMS' : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(193) : error C2039: 'csi' : is not
 a member of 'Material'
        source\blender\makesdna\DNA_material_types.h(77) : see declaration of 'M
aterial'
source\gameengine\Ketsji\KX_PythonShaders.cpp(193) : error C2228: left of '.unif
orms' must have class/struct/union
source\gameengine\Ketsji\KX_PythonShaders.cpp(211) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(212) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(212) : error C2227: left of '->nex
t' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(212) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(212) : error C2227: left of '->pre
v' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(214) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(214) : error C2227: left of '->nam
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(215) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(215) : error C2227: left of '->typ
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(216) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(216) : error C2227: left of '->siz
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(218) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(218) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(220) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(220) : error C2227: left of '->typ
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(222) : error C2065: 'MA_UNF_FLOAT'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(222) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(223) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(223) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(225) : error C2065: 'MA_UNF_VEC2'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(225) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(226) : error C2065: 'MA_UNF_VEC3'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(226) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(227) : error C2065: 'MA_UNF_VEC4'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(227) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(228) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(228) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(230) : error C2065: 'MA_UNF_INT' :
 undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(230) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(231) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(231) : error C2227: left of '->dat
a' must Cpoompiling ==> 'KX_VisibilityActuator.cpp'
int to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(233) : error C2065: 'MA_UNF_IVEC2'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(233) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(234) : error C2065: 'MA_UNF_IVEC3'
 : undeCclompiling ==> 'KX_WorldInfo.cpp'
ared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpKpX(_2V3i4s)i b:i leirtryoArc tCu2a0
t5o1r:. ccpaps
e expression not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(235) : error C2065: 'MA_UNF_IVEC4'
 : undeclared identifier
source\gameengKiXn_eW\oKreltdsIjnif\oK.Xc_pPpy
thonShaders.cpp(235) : error C2051: case expression not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(236) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(236) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(238) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(238) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(241) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(241) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(250) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(250) : error C2227: left of '->nam
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(251) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(251) : error C2227: left of '->typ
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(252) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(252) : error C2227: left of '->siz
e' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(253) : error C2027: use of undefin
ed type 'CustomUniform'
        c:\development\blender\blender-temp\source\gameengine\ketsji\KX_PythonSh
aders.h(78) : see declaration of 'CustomUniform'
source\gameengine\Ketsji\KX_PythonShaders.cpp(253) : error C2227: left of '->dat
a' must point to class/struct/union/generic type
source\gameengine\Ketsji\KX_PythonShaders.cpp(276) : error C2065: 'MA_UNF_FLOAT'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(276) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(277) : error C2065: 'MA_UNF_INT' :
 undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(277) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(278) : error C2065: 'MA_UNF_SAMPLE
R2D' : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(278) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(281) : error C2065: 'MA_UNF_VEC2'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(281) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(282) : error C2065: 'MA_UNF_IVEC2'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(282) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(285) : error C2065: 'MA_UNF_VEC3'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(285) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(286) : error C2065: 'MA_UNF_IVEC3'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(286) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(289) : error C2065: 'MA_UNF_VEC4'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(289) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(290) : error C2065: 'MA_UNF_IVEC4'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(290) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(344) : error C2065: 'MA_UNF_FLOAT'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(344) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(349) : error C2065: 'MA_UNF_VEC2'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(349) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(350) : error C2065: 'MA_UNF_VEC3'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(350) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(351) : error C2065: 'MA_UNF_VEC4'
: undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(351) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(364) : error C2065: 'MA_UNF_INT' :
 undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(364) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(369) : error C2065: 'MA_UNF_IVEC2'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(369) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(370) : error C2065: 'MA_UNF_IVEC3'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(370) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(371) : error C2065: 'MA_UNF_IVEC4'
 : undeclared identifier
source\gameengine\Ketsji\KX_PythonShaders.cpp(371) : error C2051: case expressio
n not constant
source\gameengine\Ketsji\KX_PythonShaders.cpp(371) : fatal error C1003: error co
unt exceeds 100; stopping compilation
scons: *** [C:\Development\blender\build\win64-temp\source\gameengine\Ketsji\KX_
PythonShaders.obj] Error 2
scons: building terminated because of errors.

C:\Development\blender\blender-temp>
--------------------------------------------------------------------------------------------------------------------------------------
 		 	   		  


More information about the Bf-committers mailing list