Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25772] Build fails with OpenCOLLADA r817

Date:
2011-01-23 11:15
Priority:
3
State:
Closed
Submitted by:
Shinsuke Irie (irie)
Assigned to:
Nathan Letwory (jesterking)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Build fails with OpenCOLLADA r817
Detailed description
I attempted to build Blender 2.56 r34461 with OpenCOLLADA 1.3.0 r817 on Ubuntu 10.10, but got errors in bf_collada.dir/ArmatureExporter.cpp so the build aborted. I use CMake build system. With OpenCOLLADA r816, I can successfully build it.

The error is as follows:

[ 58%] Building CXX object source/blender/collada/CMakeFiles/bf_collada.dir/ArmatureExporter.cpp.o
In file included from /tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp:41:
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/GeometryExporter.h:86: error: 'COLLADASW::Semantics' has not been declared
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/GeometryExporter.h:88: error: 'COLLADASW::Semantics' has not been declared
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp: In member function 'void ArmatureExporter::add_joints_element(ListBase*, const std::string&, const std::string&)':
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp:268: error: 'JOINT' is not a member of 'COLLADASW'
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp:270: error: 'BINDMATRIX' is not a member of 'COLLADASW'
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp: In member function 'void ArmatureExporter::add_vertex_weights_element(const std::string&, const std::string&, Mesh*, Object*, ListBase*)':
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp:428: error: 'JOINT' is not a member of 'COLLADASW'
/tmp/buildd/blender2.5-2.56+svn34461/source/blender/collada/ArmatureExporter.cpp:430: error: 'WEIGHT' is not a member of 'COLLADASW'
make[4]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/ArmatureExporter.cpp.o] Error 1
make[4]: Leaving directory `/tmp/buildd/blender2.5-2.56+svn34461/debian/cmake'
make[3]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/all] Error 2
make[3]: Leaving directory `/tmp/buildd/blender2.5-2.56+svn34461/debian/cmake'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/blender2.5-2.56+svn34461/debian/cmake'

Also, we can see the full build logs at https://launchpad.net/~irie/+archive/blender/+buildjob/2189817/+files/buildlog_ubuntu-maverick-i386.blender2.5_2.56%2Bsvn34461-0irie1_FAILEDTOBUILD.txt.gz (i386) and https://launchpad.net/~irie/+archive/blender/+buildjob/2189816/+files/buildlog_ubuntu-maverick-amd64.blender2.5_2.56%2Bsvn34461-0irie1_FAILEDTOBUILD.txt.gz (amd64).

Followup

Message
  • Date: 2011-01-24 09:56
  • Sender: Nathan Letwory
  • Our trunk indeed is not yet adapted for r817. I have code changes ready for this, but I still need to clean out some custom patches from other code changes.

    I push these changes to SVN trunk when I've also updated our Windows dependencies in trunk/lib/windows and trunk/lib/win64. Until then don't use the very latest of OpenCOLLADA. Leaving this report open and assigned to myself.
  • Date: 2011-01-24 09:57
  • Sender: Nathan Letwory
  • Just to clarify, in OpenCOLLADA r817 there where some API changes, so for now, just compile against r816.
  • Date: 2011-01-27 20:52
  • Sender: Nathan Letwory
  • Fixed with r34533.

    On linux you'll have to build r827 of OpenCOLLADA, for windows I committed release and debug libs to our SVN repository.
  • Date: 2011-01-28 01:47
  • Sender: Shinsuke Irie
  • Thanks, I could build Blender with OpenCOLLADA r827.

    However, after updating OpenCOLLADA to r828, I cannot build it again...

    Here is error log:

    [ 44%] Built target bf_gen_system
    In file included from /usr/include/opencollada/COLLADAFramework/COLLADAFWArrayPrimitiveType.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWTypes.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWUniqueId.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWObject.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWMeshPrimitive.h:16,
    from /tmp/buildd/blender2.5-2.56+svn34537/source/blender/collada/collada_utils.h:29,
    from /tmp/buildd/blender2.5-2.56+svn34537/source/blender/collada/AnimationImporter.cpp:42:
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h: In member function 'Type& COLLADAFW::Array<Type>::operator[](size_t)':
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h:161: error: there are no arguments to 'COLLADABU_ASSERT' that depend on a template parameter, so a declaration of 'COLLADABU_ASSERT' must be available
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h:161: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
    In file included from /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathMatrix4.h:15,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWTypes.h:17,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWUniqueId.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWObject.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWMeshPrimitive.h:16,
    from /tmp/buildd/blender2.5-2.56+svn34537/source/blender/collada/collada_utils.h:29,
    from /tmp/buildd/blender2.5-2.56+svn34537/source/blender/collada/AnimationImporter.cpp:42:
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h: In member function 'COLLADABU::Math::Real COLLADABU::Math::Vector3::operator[](size_t) const':
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h:85: error: 'COLLADABU_ASSERT' was not declared in this scope
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h: In member function 'COLLADABU::Math::Real& COLLADABU::Math::Vector3::operator[](size_t)':
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h:92: error: 'COLLADABU_ASSERT' was not declared in this scope
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h: In member function 'COLLADABU::Math::Vector3 COLLADABU::Math::Vector3::operator/(COLLADABU::Math::Real) const':
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h:167: error: 'COLLADABU_ASSERT' was not declared in this scope
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h: In member function 'COLLADABU::Math::Vector3& COLLADABU::Math::Vector3::operator/=(COLLADABU::Math::Real)':
    /usr/include/opencollada/COLLADABaseUtils/Math/COLLADABUMathVector3.h:251: error: 'COLLADABU_ASSERT' was not declared in this scope
    In file included from /usr/include/opencollada/COLLADAFramework/COLLADAFWArrayPrimitiveType.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWTypes.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWUniqueId.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWObject.h:16,
    from /usr/include/opencollada/COLLADAFramework/COLLADAFWMeshPrimitive.h:16,
    from /tmp/buildd/blender2.5-2.56+svn34537/source/blender/collada/collada_utils.h:29,
    from /tmp/buildd/blender2.5-2.56+svn34537/source/blender/collada/AnimationImporter.cpp:42:
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h: In member function 'Type& COLLADAFW::Array<Type>::operator[](size_t) [with Type = COLLADAFW::TextureCoordinateBinding]':
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h:179: instantiated from 'void COLLADAFW::Array<Type>::cloneArray(COLLADAFW::Array<Type>&) const [with Type = COLLADAFW::TextureCoordinateBinding]'
    /usr/include/opencollada/COLLADAFramework/COLLADAFWMaterialBinding.h:81: instantiated from here
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h:161: error: 'COLLADABU_ASSERT' was not declared in this scope
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h: In member function 'Type& COLLADAFW::Array<Type>::operator[](size_t) [with Type = COLLADAFW::MaterialBinding]':
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h:179: instantiated from 'void COLLADAFW::Array<Type>::cloneArray(COLLADAFW::Array<Type>&) const [with Type = COLLADAFW::MaterialBinding]'
    /usr/include/opencollada/COLLADAFramework/COLLADAFWInstanceBindingBase.h:60: instantiated from 'COLLADAFW::InstanceBindingBase<classId>::InstanceBindingBase(const COLLADAFW::InstanceBindingBase<classId>&) [with COLLADAFW::COLLADA_TYPE::ClassId classId = (COLLADAFW::COLLADA_TYPE::ClassId)437u]'
    /usr/include/opencollada/COLLADAFramework/COLLADAFWInstanceBindingBase.h:45: instantiated from 'COLLADAFW::InstanceBindingBase<classId>* COLLADAFW::InstanceBindingBase<classId>::clone() const [with COLLADAFW::COLLADA_TYPE::ClassId classId = (COLLADAFW::COLLADA_TYPE::ClassId)437u]'
    /usr/include/opencollada/COLLADAFramework/COLLADAFWPointerArray.h:86: instantiated from 'void COLLADAFW::PointerArray<T>::cloneContents(const COLLADAFW::PointerArray<T>&) [with T = COLLADAFW::InstanceBindingBase<(COLLADAFW::COLLADA_TYPE::ClassId)437u>]'
    /usr/include/opencollada/COLLADAFramework/COLLADAFWPointerArray.h:50: instantiated from 'COLLADAFW::PointerArray<T>::PointerArray(const COLLADAFW::PointerArray<T>&) [with T = COLLADAFW::InstanceBindingBase<(COLLADAFW::COLLADA_TYPE::ClassId)437u>]'
    /usr/include/opencollada/COLLADAFramework/COLLADAFWNode.h:46: instantiated from here
    /usr/include/opencollada/COLLADAFramework/COLLADAFWArray.h:161: error: 'COLLADABU_ASSERT' was not declared in this scope
    [ 44%] make[4]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/AnimationImporter.cpp.o] Error 1
    make[4]: Leaving directory `/tmp/buildd/blender2.5-2.56+svn34537/debian/cmake'
    make[3]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/all] Error 2
    make[3]: *** Waiting for unfinished jobs....
  • Date: 2011-02-11 15:04
  • Sender: Dave Plater
  • I'm battling to get the newest possible blender svn into openSUSE 11.4 I've already missed rc1 due to python 3.2m including an abi flag letter in the the libname "m" in this case. When is blender going to catch up with openCOLLADA approximately? I have to decide whether to disable collada which would be a pity after the trouble I went to to get the openCOLLADA shared library package into 11.4.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-01-27 20:52jesterking
close_dateNone2011-01-27 20:52jesterking
StatusInvestigate2011-01-27 20:52jesterking
assigned_tonone2011-01-24 09:56jesterking
StatusNew2011-01-24 09:56jesterking