Page 1 of 1

build error with COLLADA enabled [NOT SOLVED]

Posted: Fri Feb 04, 2011 7:10 pm
by hva
UPDATE-UPDATE:
The same problem resurfaced with current svn blender version and newest Opencollada.
Same code compiles just fine in 32bit environment, but the error reported below is raised in 64amd system.
No idea how to fix this.



UPDATE:
it seems to build just fine with last svn version of OpenCollada.
(if you try to build last opencollada you could run into this issue, a patch that fixes it is already available:
http://code.google.com/p/opencollada/is ... %20Summary
)


Experiencing build error with collada enabled on Ubuntu Lucid amd64.
Used to work last time I had built it.
Opencollada is svn r827 revision and is correctly built and referenced in scons config files.

any idea?
best, francesco


Linking program ==> 'blender'
/home/francesco/build/blender-2.5/build/linux2/lib/libbf_collada.a(DocumentExporter.o): In function `AnimationExporter::dae_bone_animation(std::vector<float, std::allocator<float> >&, float*, int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
DocumentExporter.cpp:(.text._ZN17AnimationExporter18dae_bone_animationERSt6vectorIfSaIfEEPfiiSsSs[AnimationExporter::dae_bone_animation(std::vector<float, std::allocator<float> >&, float*, int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x71b): undefined reference to `COLLADASW::LibraryAnimations::Sampler::Sampler(COLLADASW::StreamWriter*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
DocumentExporter.cpp:(.text._ZN17AnimationExporter18dae_bone_animationERSt6vectorIfSaIfEEPfiiSsSs[AnimationExporter::dae_bone_animation(std::vector<float, std::allocator<float> >&, float*, int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x758): undefined reference to `COLLADASW::LibraryAnimations::Sampler::addInput(COLLADASW::InputSemantic::Semantics, COLLADABU::URI const&)'
DocumentExporter.cpp:(.text._ZN17AnimationExporter18dae_bone_animationERSt6vectorIfSaIfEEPfiiSsSs[AnimationExporter::dae_bone_animation(std::vector<float, std::allocator<float> >&, float*, int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x788): undefined reference to `COLLADASW::LibraryAnimations::Sampler::addInput(COLLADASW::InputSemantic::Semantics, COLLADABU::URI const&)'
DocumentExporter.cpp:(.text._ZN17AnimationExporter18dae_bone_animationERSt6vectorIfSaIfEEPfiiSsSs[AnimationExporter::dae_bone_animation(std::vector<float, std::allocator<float> >&, float*, int, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x7b8): undefined reference to `COLLADASW::LibraryAnimations::Sampler::addInput(COLLADASW::InputSemantic::Semantics, COLLADABU::URI const&)'
/home/francesco/build/blender-2.5/build/linux2/lib/libbf_collada.a(DocumentExporter.o): In function `AnimationExporter::dae_animation(FCurve*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
DocumentExporter.cpp:(.text._ZN17AnimationExporter13dae_animationEP6FCurveSs[AnimationExporter::dae_animation(FCurve*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x22b): undefined reference to `COLLADASW::LibraryAnimations::Sampler::Sampler(COLLADASW::StreamWriter*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
DocumentExporter.cpp:(.text._ZN17AnimationExporter13dae_animationEP6FCurveSs[AnimationExporter::dae_animation(FCurve*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x26e): undefined reference to `COLLADASW::LibraryAnimations::Sampler::addInput(COLLADASW::InputSemantic::Semantics, COLLADABU::URI const&)'
DocumentExporter.cpp:(.text._ZN17AnimationExporter13dae_animationEP6FCurveSs[AnimationExporter::dae_animation(FCurve*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x29e): undefined reference to `COLLADASW::LibraryAnimations::Sampler::addInput(COLLADASW::InputSemantic::Semantics, COLLADABU::URI const&)'
DocumentExporter.cpp:(.text._ZN17AnimationExporter13dae_animationEP6FCurveSs[AnimationExporter::dae_animation(FCurve*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)]+0x2ce): undefined reference to `COLLADASW::LibraryAnimations::Sampler::addInput(COLLADASW::InputSemantic::Semantics, COLLADABU::URI const&)'
/home/francesco/build/blender-2.5/build/linux2/lib/libbf_collada.a(GeometryExporter.o): In function `GeometryExporter::getIdBySemantics(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, COLLADASW::InputSemantic::Semantics, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
GeometryExporter.cpp:(.text+0x641): undefined reference to `COLLADASW::LibraryGeometries::getSuffixBySemantic(COLLADASW::InputSemantic::Semantics)'
collect2: ld returned 1 exit status
scons: *** [/home/francesco/build/blender-2.5/build/linux2/bin/blender] Error 1
scons: building terminated because of errors.

Posted: Fri Feb 11, 2011 10:23 am
by hva
really anyone else is experimenting the same problem?

here it goes again

Posted: Wed Mar 16, 2011 10:16 am
by hva
problem is still there on amd64

Posted: Thu Apr 07, 2011 1:36 am
by em21701
I can confirm this problem on Slackware64-current. I do not know how to fix it either.