[Bf-committers] Collada does not compile anymore

Sergey I. Sharybin g.ulairi at gmail.com
Fri Aug 26 11:13:04 CEST 2011


Hi,

This isn't directly related on the problem, but when mingw is used 
opencollada from libs/windows/gcc/opencollada should be used instead of 
libs/windows/opencollada.

Don't have sources by hand atm, but some changes were applied on some 
headers to make them compatible with mingw.

You can use scons until this problems are solved.

P.S. Your mingw should use dwarf2 exception model, otherwise you'll have 
linking errors.
P.P.S. i wanted to send changes to opencollada community but switched to 
gsoc. I'll prepare patch and send it this weekend.

Peter K.H. Gragert wrote:
> Hi
>
>
> yesterday COLLADA did not compile W32, mingw, cmake
>
> just some minutes ago I updated SVN for lib
>
> but COLLADA is not OK anymore (it was some small weeks ago)
>
> Here the errors I got:
> [ 58%] Building CXX object
> source/blender/collada/CMakeFiles/bf_collada.dir/AnimationImporter.cpp.obj
> In file included from
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWEdge.h:16:0,
>                   from
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:18,
>                   from
> C:\BlenderSVN\blender\source\blender\collada\/collada_utils.h:32,
>                   from
> C:\BlenderSVN\blender\source\blender\collada\AnimationImporter.cpp:50:
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:105:44:
> error: expected template-name before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:105:44:
> error: expected '{' before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:105:44:
> error: expected unqualified-id before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:115:54:
> error: expected template-name before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:115:54:
> error: expected '{' before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:115:54:
> error: expected unqualified-id before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:125:47:
> error: expected template-name before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:125:47:
> error: expected '{' before '<' token
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADABaseUtils\include/COLLADABUhash_map.h:125:47:
> error: expected unqualified-id before '<' token
> In file included from
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:18:0,
>                   from
> C:\BlenderSVN\blender\source\blender\collada\/collada_utils.h:32,
>                   from
> C:\BlenderSVN\blender\source\blender\collada\AnimationImporter.cpp:50:
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWEdge.h:126:12:
> error: 'COLLADABU_HASH_FUN' is not a
> template
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWEdge.h:127:5:
> error: explicit specialization of non-template
> 'COLLADABU_HASH_NAMESPACE_OPEN::COLLADABU_HASH_FUN'
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWEdge.h:137:3:
> error: 'COLLADABU_HASH_NAMESPACE_CLOSE' does not name a type
> In file included from
> C:\BlenderSVN\blender\source\blender\collada\/collada_utils.h:32:0,
>                   from
> C:\BlenderSVN\blender\source\blender\collada\AnimationImporter.cpp:50:
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:114:9:
> error: 'IndexListArray' does
> not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:119:9:
> error: 'IndexListArray' does
> not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:206:9:
> error: 'IndexList' does not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:215:15:
> error: 'IndexList' does not
> name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:224:9:
> error: 'IndexListArray' does
> not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:229:15:
> error: 'IndexListArray' does not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:237:35:
> error: 'IndexList' has not been declared
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:242:9:
> error: 'IndexListArray' does
> not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:247:15:
> error: 'IndexListArray' does not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:252:9:
> error: 'IndexList' does not name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:261:15:
> error: 'IndexList' does not
> name a type
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:270:37:
> error: 'IndexList' has not been declared
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:
> In member function 'bool COLLADAFW::MeshPrimitive::hasColorIndices() const':
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:232:42:
> error: 'mColorIndicesArray'
> was not declared in this scope
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:
> In member function 'void
> COLLADAFW::MeshPrimitive::appendColorIndices(int*)':
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:237:63:
> error: 'mColorIndicesArray'
> was not declared in this scope
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:
> In member function 'void
> COLLADAFW::MeshPrimitive::appendUVCoordIndices(int*)':
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:270:67:
> error: 'mUVCoordIndicesArray' was not declared in this scope
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:
> In member function 'bool COLLADAFW::MeshPrimitive::hasUVCoordIndices()
> const':
> C:\BlenderSVN\lib\windows\opencollada\include\COLLADAFramework\include/COLLADAFWMeshPrimitive.h:273:44:
> error: 'mUVCoordIndicesArray' was not declared in this scope
> In file included from
> C:\BlenderSVN\blender\source\blender\collada\/ArmatureImporter.h:46:0,
>                   from
> C:\BlenderSVN\blender\source\blender\collada\AnimationImporter.cpp:52:
> C:\BlenderSVN\blender\source\blender\collada\/MeshImporter.h: At global
> scope:
> C:\BlenderSVN\blender\source\blender\collada\/MeshImporter.h:106:18: error:
> 'COLLADAFW::IndexList' has not been declared
> C:\BlenderSVN\blender\source\blender\collada\/MeshImporter.h:109:17: error:
> 'COLLADAFW::IndexList' has not been declared
> mingw32-make[2]: ***
> [source/blender/collada/CMakeFiles/bf_collada.dir/AnimationImporter.cpp.obj]
> Error 1
> mingw32-make[1]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/all]
> Error 2
> mingw32-make: *** [all] Error 2
>
> Greets
>          Peter
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


-- 
With best regards, Sergey I. Sharybin



More information about the Bf-committers mailing list