BassMunkee / awd

Automatically exported from code.google.com/p/awd
Apache License 2.0
0 stars 0 forks source link

Can't build pyawd from sources. win7, amd, vs2010. #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm building pyawd from sources. win7, amd, vs2010.
It's ok to build libawd.
But It can't build pyawd.

2>  build_geom.cc
2>src\utils\build_geom.cc(16): error C2065: 'AWDMeshData' : undeclared 
identifier
2>src\utils\build_geom.cc(16): error C2065: 'lawd_md' : undeclared identifier
2>src\utils\build_geom.cc(18): error C2065: 'AWDSubMesh' : undeclared identifier
2>src\utils\build_geom.cc(18): error C2065: 'lawd_sub' : undeclared identifier
2>src\utils\build_geom.cc(50): warning C4800: 'long' : forcing value to bool 
'true' or 'false' (performance warning)
2>src\utils\build_geom.cc(56): error C2065: 'lawd_md' : undeclared identifier
2>src\utils\build_geom.cc(56): error C2061: syntax error : identifier 
'AWDMeshData'
2>src\utils\build_geom.cc(57): error C2065: 'lawd_md' : undeclared identifier
2>src\utils\build_geom.cc(64): error C2065: 'lawd_md' : undeclared identifier
2>src\utils\build_geom.cc(64): error C2227: left of '->get_num_subs' must point 
to class/struct/union/generic type
2>          type is ''unknown-type''
2>src\utils\build_geom.cc(76): error C2065: 'lawd_sub' : undeclared identifier
2>src\utils\build_geom.cc(76): error C2065: 'lawd_md' : undeclared identifier
2>src\utils\build_geom.cc(76): error C2227: left of '->get_sub_at' must point 
to class/struct/union/generic type
2>          type is ''unknown-type''
2>src\utils\build_geom.cc(77): error C2065: 'lawd_sub' : undeclared identifier
2>src\utils\build_geom.cc(77): error C2227: left of '->get_num_streams' must 
point to class/struct/union/generic type
2>          type is ''unknown-type''
2>src\utils\build_geom.cc(83): error C2065: 'lawd_sub' : undeclared identifier
2>src\utils\build_geom.cc(83): error C2227: left of '->get_stream_at' must 
point to class/struct/union/generic type
2>          type is ''unknown-type''
2>  prepgeom.cc
2>src\prepgeom.cc(19): error C2065: 'AWDMeshData' : undeclared identifier
2>src\prepgeom.cc(19): error C2065: 'lawd_md' : undeclared identifier
2>src\prepgeom.cc(26): error C2065: 'lawd_md' : undeclared identifier
2>src\prepgeom.cc(26): error C2061: syntax error : identifier 'AWDMeshData'
2>src\prepgeom.cc(32): error C2065: 'AWDSubMesh' : undeclared identifier
2>src\prepgeom.cc(32): error C2065: 'lawd_sub' : undeclared identifier
2>src\prepgeom.cc(38): error C2065: 'lawd_sub' : undeclared identifier
2>src\prepgeom.cc(38): error C2061: syntax error : identifier 'AWDSubMesh'
2>src\prepgeom.cc(69): error C2065: 'lawd_sub' : undeclared identifier
2>src\prepgeom.cc(69): error C2227: left of '->add_stream' must point to 
class/struct/union/generic type
2>          type is ''unknown-type''
2>src\prepgeom.cc(73): error C2065: 'lawd_md' : undeclared identifier
2>src\prepgeom.cc(73): error C2227: left of '->add_sub_mesh' must point to 
class/struct/union/generic type
2>          type is ''unknown-type''
2>src\prepgeom.cc(73): error C2065: 'lawd_sub' : undeclared identifier
2>src\prepgeom.cc(77): error C2065: 'lawd_md' : undeclared identifier
2>src\prepgeom.cc(79): error C2065: 'lawd_md' : undeclared identifier
2>src\prepgeom.cc(82): error C2065: 'lawd_md' : undeclared identifier
2>  prepmaterial.cc
2>src\prepmaterial.cc(51): error C2065: 'AWDTexture' : undeclared identifier
2>src\prepmaterial.cc(51): error C2065: 'tex' : undeclared identifier
2>src\prepmaterial.cc(52): error C2065: 'tex' : undeclared identifier
2>src\prepmaterial.cc(52): error C2065: 'AWDTexture' : undeclared identifier
2>src\prepmaterial.cc(52): error C2059: syntax error : ')'
2>src\prepmaterial.cc(53): error C2065: 'tex' : undeclared identifier
2>src\prepmaterial.cc(54): error C2065: 'tex' : undeclared identifier
2>src\prepmaterial.cc(81): error C2065: 'AWDTexture' : undeclared identifier
2>src\prepmaterial.cc(81): error C2065: 'lawd_tex' : undeclared identifier
2>src\prepmaterial.cc(88): error C2065: 'lawd_tex' : undeclared identifier
2>src\prepmaterial.cc(88): error C2061: syntax error : identifier 'AWDTexture'
2>src\prepmaterial.cc(97): error C2065: 'lawd_tex' : undeclared identifier
2>src\prepmaterial.cc(97): error C2227: left of '->set_url' must point to 
class/struct/union/generic type
2>          type is ''unknown-type''
2>src\prepmaterial.cc(110): error C2065: 'lawd_tex' : undeclared identifier
2>src\prepmaterial.cc(110): error C2227: left of '->set_embed_data' must point 
to class/struct/union/generic type
2>          type is ''unknown-type''
2>src\prepmaterial.cc(118): error C2065: 'lawd_tex' : undeclared identifier
2>src\prepmaterial.cc(120): error C2065: 'lawd_tex' : undeclared identifier
2>src\prepmaterial.cc(121): error C2065: 'lawd_tex' : undeclared identifier
2>  prepscene.cc
2>src\prepscene.cc(24): error C2065: 'AWDMeshData' : undeclared identifier
2>src\prepscene.cc(24): error C2065: 'lawd_md' : undeclared identifier
2>src\prepscene.cc(26): error C2065: 'lawd_md' : undeclared identifier
2>src\prepscene.cc(29): error C2065: 'lawd_md' : undeclared identifier
2>src\prepscene.cc(29): error C2065: 'AWDMeshData' : undeclared identifier
2>src\prepscene.cc(29): error C2059: syntax error : ')'
2>src\prepscene.cc(32): error C2065: 'lawd_md' : undeclared identifier
2>src\prepscene.cc(135): error C2440: 'return' : cannot convert from 
'AWDPrimitive *' to 'AWDSceneBlock *'

Original issue reported on code.google.com by kikudj...@gmail.com on 25 May 2012 at 3:47

GoogleCodeExporter commented 8 years ago
Thanks for reporting this. This is a known issue caused by the recent 
development of a 3ds Max exporter as well as locking down the format 
specification, and changes to libawd in the process. This has made PyAWD (and 
exporters that depend on it) out of sync with libawd (on which it depends). I 
am hoping to fix this within the next month or so.

Original comment by bengtric...@gmail.com on 28 May 2012 at 9:04