build error with COLLADA enabled [NOT SOLVED]

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
hva
Posts: 0
Joined: Wed Jun 07, 2006 10:05 am

build error with COLLADA enabled [NOT SOLVED]

Post 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.
Last edited by hva on Wed Mar 16, 2011 10:15 am, edited 2 times in total.

hva
Posts: 0
Joined: Wed Jun 07, 2006 10:05 am

Post by hva »

really anyone else is experimenting the same problem?

hva
Posts: 0
Joined: Wed Jun 07, 2006 10:05 am

here it goes again

Post by hva »

problem is still there on amd64

em21701
Posts: 0
Joined: Wed May 26, 2010 7:06 pm
Location: Warwick, RI USA

Post by em21701 »

I can confirm this problem on Slackware64-current. I do not know how to fix it either.
Eric

Post Reply