ofxAssimpModelLoader undefined references

I think the libassimp.a is not valid on Linux 32bit in latest from master. It works on 64bit. Does anyone have a valid lib for 32bit?

Rg,

Arnaud

  
make Debug  
linking bin/uvVideoPlayer_debug  
mkdir -p bin  
g++ -o bin/uvVideoPlayer_debug obj/i686Debug/src/uvMeshController.o obj/i686Debug/src/main.o obj/i686Debug/src/testApp.o obj/i686Debug/addons/ofx3DModelLoader/src/ofx3dModelLoader.o obj/i686Debug/addons/ofx3DModelLoader/src/3DS/texture3DS.o obj/i686Debug/addons/ofx3DModelLoader/src/3DS/model3DS.o obj/i686Debug/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o  -Wl,-rpath=./libs  ../../../libs/openFrameworksCompiled/lib/linux/libopenFrameworksDebug.a ../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a   ../../../libs/freetype/lib/linux/libfreetype.a ../../../libs/kiss/lib/linux/libkiss.a ../../../libs/rtAudio/lib/linux/libRtAudio.a ../../../libs/tess2/lib/linux/libtess2.a ../../../libs/poco/lib/linux/libPocoNet.a ../../../libs/poco/lib/linux/libPocoXML.a ../../../libs/poco/lib/linux/libPocoUtil.a ../../../libs/poco/lib/linux/libPocoFoundation.a -L../../../libs/fmodex/lib/linux -L../../../libs/freetype/lib/linux -L../../../libs/kiss/lib/linux -L../../../libs/openFrameworksCompiled/lib/linux -L../../../libs/poco/lib/linux -L../../../libs/portaudio/lib/linux -L../../../libs/rtAudio/lib/linux -L../../../libs/tess2/lib/linux  -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lmpg123 -pthread -ljack -lpthread -lGLEW -lgstvideo-0.10 -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -ludev   -lglut -lGL -lasound -lopenal -lsndfile -lvorbis -lFLAC -logg -lfreeimage  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(Assimp.o): In function `aiGetPredefinedLogStream':  
Assimp.cpp:(.text+0x92d): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(Assimp.o): In function `LogToCallbackRedirector::~LogToCallbackRedirector()':  
Assimp.cpp:(.text._ZN23LogToCallbackRedirectorD2Ev[_ZN23LogToCallbackRedirectorD5Ev]+0x58): undefined reference to `std::_List_node_base::_M_unhook()'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(Assimp.o): In function `LogToCallbackRedirector::~LogToCallbackRedirector()':  
Assimp.cpp:(.text._ZN23LogToCallbackRedirectorD0Ev[_ZN23LogToCallbackRedirectorD5Ev]+0x60): undefined reference to `std::_List_node_base::_M_unhook()'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `Assimp::LWOImporter::LoadLWO2File()':  
LWOLoader.cpp:(.text+0x49e7): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `Assimp::LWOImporter::InternReadFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, aiScene*, Assimp::IOSystem*)':  
LWOLoader.cpp:(.text+0x6916): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> >::list(std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> > const&)':  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO6ShaderESaIS2_EEC2ERKS4_[_ZNSt4listIN6Assimp3LWO6ShaderESaIS2_EEC5ERKS4_]+0x68): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> >::list(std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> > const&)':  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO7TextureESaIS2_EEC2ERKS4_[_ZNSt4listIN6Assimp3LWO7TextureESaIS2_EEC5ERKS4_]+0xca): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> >::operator=(std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> > const&)':  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO6ShaderESaIS2_EEaSERKS4_[std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> >::operator=(std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> > const&)]+0x80): undefined reference to `std::_List_node_base::_M_unhook()'  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO6ShaderESaIS2_EEaSERKS4_[std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> >::operator=(std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> > const&)]+0x110): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO6ShaderESaIS2_EEaSERKS4_[std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> >::operator=(std::list<Assimp::LWO::Shader, std::allocator<Assimp::LWO::Shader> > const&)]+0x135): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> >::operator=(std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> > const&)':  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO7TextureESaIS2_EEaSERKS4_[std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> >::operator=(std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> > const&)]+0xe0): undefined reference to `std::_List_node_base::_M_unhook()'  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO7TextureESaIS2_EEaSERKS4_[std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> >::operator=(std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> > const&)]+0x1da): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO7TextureESaIS2_EEaSERKS4_[std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> >::operator=(std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> > const&)]+0x207): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `std::list<Assimp::LWO::Layer, std::allocator<Assimp::LWO::Layer> >::push_back(Assimp::LWO::Layer const&)':  
LWOLoader.cpp:(.text._ZNSt4listIN6Assimp3LWO5LayerESaIS2_EE9push_backERKS2_[std::list<Assimp::LWO::Layer, std::allocator<Assimp::LWO::Layer> >::push_back(Assimp::LWO::Layer const&)]+0x47): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o): In function `Assimp::LWO::Surface* std::__uninitialized_copy<false>::uninitialized_copy<Assimp::LWO::Surface*, Assimp::LWO::Surface*>(Assimp::LWO::Surface*, Assimp::LWO::Surface*, Assimp::LWO::Surface*)':  
LWOLoader.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPN6Assimp3LWO7SurfaceES5_EET0_T_S7_S6_[Assimp::LWO::Surface* std::__uninitialized_copy<false>::uninitialized_copy<Assimp::LWO::Surface*, Assimp::LWO::Surface*>(Assimp::LWO::Surface*, Assimp::LWO::Surface*, Assimp::LWO::Surface*)]+0x150): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
LWOLoader.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPN6Assimp3LWO7SurfaceES5_EET0_T_S7_S6_[Assimp::LWO::Surface* std::__uninitialized_copy<false>::uninitialized_copy<Assimp::LWO::Surface*, Assimp::LWO::Surface*>(Assimp::LWO::Surface*, Assimp::LWO::Surface*, Assimp::LWO::Surface*)]+0x232): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
LWOLoader.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPN6Assimp3LWO7SurfaceES5_EET0_T_S7_S6_[Assimp::LWO::Surface* std::__uninitialized_copy<false>::uninitialized_copy<Assimp::LWO::Surface*, Assimp::LWO::Surface*>(Assimp::LWO::Surface*, Assimp::LWO::Surface*, Assimp::LWO::Surface*)]+0x31a): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
LWOLoader.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPN6Assimp3LWO7SurfaceES5_EET0_T_S7_S6_[Assimp::LWO::Surface* std::__uninitialized_copy<false>::uninitialized_copy<Assimp::LWO::Surface*, Assimp::LWO::Surface*>(Assimp::LWO::Surface*, Assimp::LWO::Surface*, Assimp::LWO::Surface*)]+0x402): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOLoader.o):LWOLoader.cpp:(.text._ZNSt20__uninitialized_copyILb0EE18uninitialized_copyIPN6Assimp3LWO7SurfaceES5_EET0_T_S7_S6_[Assimp::LWO::Surface* std::__uninitialized_copy<false>::uninitialized_copy<Assimp::LWO::Surface*, Assimp::LWO::Surface*>(Assimp::LWO::Surface*, Assimp::LWO::Surface*, Assimp::LWO::Surface*)]+0x4ea): more undefined references to `std::_List_node_base::_M_hook(std::_List_node_base*)' follow  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(OptimizeGraph.o): In function `Assimp::OptimizeGraphProcess::CollectNewChildren(aiNode*, std::list<aiNode*, std::allocator<aiNode*> >&)':  
OptimizeGraph.cpp:(.text+0x10ac): undefined reference to `std::_List_node_base::_M_unhook()'  
OptimizeGraph.cpp:(.text+0x18f4): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
OptimizeGraph.cpp:(.text+0x18fe): undefined reference to `std::_List_node_base::_M_unhook()'  
OptimizeGraph.cpp:(.text+0x196c): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(PretransformVertices.o): In function `Assimp::PretransformVertices::GetVFormatList(aiScene*, unsigned int, std::list<unsigned int, std::allocator<unsigned int> >&)':  
PretransformVertices.cpp:(.text+0x1d01): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(PretransformVertices.o): In function `Assimp::PretransformVertices::Execute(aiScene*)':  
PretransformVertices.cpp:(.text+0x4b48): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
PretransformVertices.cpp:(.text+0x532a): undefined reference to `std::_List_node_base::_M_unhook()'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(PretransformVertices.o): In function `std::list<unsigned int, std::allocator<unsigned int> >::sort()':  
PretransformVertices.cpp:(.text._ZNSt4listIjSaIjEE4sortEv[std::list<unsigned int, std::allocator<unsigned int> >::sort()]+0x76): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
PretransformVertices.cpp:(.text._ZNSt4listIjSaIjEE4sortEv[std::list<unsigned int, std::allocator<unsigned int> >::sort()]+0xd6): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
PretransformVertices.cpp:(.text._ZNSt4listIjSaIjEE4sortEv[std::list<unsigned int, std::allocator<unsigned int> >::sort()]+0xf6): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
PretransformVertices.cpp:(.text._ZNSt4listIjSaIjEE4sortEv[std::list<unsigned int, std::allocator<unsigned int> >::sort()]+0x151): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
PretransformVertices.cpp:(.text._ZNSt4listIjSaIjEE4sortEv[std::list<unsigned int, std::allocator<unsigned int> >::sort()]+0x258): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(RemoveRedundantMaterials.o): In function `Assimp::RemoveRedundantMatsProcess::Execute(aiScene*)':  
RemoveRedundantMaterials.cpp:(.text+0x72b): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
RemoveRedundantMaterials.cpp:(.text+0xc96): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(SceneCombiner.o): In function `Assimp::SceneCombiner::BuildUniqueBoneList(std::list<Assimp::BoneWithHash, std::allocator<Assimp::BoneWithHash> >&, __gnu_cxx::__normal_iterator<aiMesh* const*, std::vector<aiMesh*, std::allocator<aiMesh*> > >, __gnu_cxx::__normal_iterator<aiMesh* const*, std::vector<aiMesh*, std::allocator<aiMesh*> > >)':  
SceneCombiner.cpp:(.text+0x449b): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(TextureTransform.o): In function `Assimp::TextureTransformStep::Execute(aiScene*)':  
TextureTransform.cpp:(.text+0x849): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
TextureTransform.cpp:(.text+0x86d): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(TextureTransform.o):TextureTransform.cpp:(.text+0xe09): more undefined references to `std::_List_node_base::_M_hook(std::_List_node_base*)' follow  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(TextureTransform.o): In function `Assimp::TextureTransformStep::Execute(aiScene*)':  
TextureTransform.cpp:(.text+0x24e9): undefined reference to `std::_List_node_base::_M_unhook()'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(TextureTransform.o): In function `std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> >::operator=(std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> > const&)':  
TextureTransform.cpp:(.text._ZNSt4listIN6Assimp12TTUpdateInfoESaIS1_EEaSERKS3_[std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> >::operator=(std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> > const&)]+0x60): undefined reference to `std::_List_node_base::_M_unhook()'  
TextureTransform.cpp:(.text._ZNSt4listIN6Assimp12TTUpdateInfoESaIS1_EEaSERKS3_[std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> >::operator=(std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> > const&)]+0xc1): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
TextureTransform.cpp:(.text._ZNSt4listIN6Assimp12TTUpdateInfoESaIS1_EEaSERKS3_[std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> >::operator=(std::list<Assimp::TTUpdateInfo, std::allocator<Assimp::TTUpdateInfo> > const&)]+0xe1): undefined reference to `std::_List_node_base::_M_transfer(std::_List_node_base*, std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(BaseImporter.o): In function `Assimp::BatchLoader::GetImport(unsigned int)':  
BaseImporter.cpp:(.text+0xf0f): undefined reference to `std::_List_node_base::_M_unhook()'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(BaseImporter.o): In function `Assimp::BatchLoader::AddLoadRequest(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, Assimp::BatchLoader::PropertyMap const*)':  
BaseImporter.cpp:(.text+0x282b): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(ComputeUVMappingProcess.o): In function `Assimp::ComputeUVMappingProcess::Execute(aiScene*)':  
ComputeUVMappingProcess.cpp:(.text+0x2147): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(IRRLoader.o): In function `Assimp::IRRImporter::InternReadFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, aiScene*, Assimp::IOSystem*)':  
IRRLoader.cpp:(.text+0x76cf): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOBLoader.o): In function `Assimp::LWOImporter::SetupNewTextureLWOB(std::list<Assimp::LWO::Texture, std::allocator<Assimp::LWO::Texture> >&, unsigned int)':  
LWOBLoader.cpp:(.text+0x641): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOBLoader.o): In function `Assimp::LWOImporter::LoadLWOBSurface(unsigned int)':  
LWOBLoader.cpp:(.text+0xf7b): undefined reference to `std::_List_node_base::_M_hook(std::_List_node_base*)'  
../../../addons/ofxAssimpModelLoader/libs/assimp/lib/linux/libassimp.a(LWOBLoader.o):LWOBLoader.cpp:(.text+0x1068): more undefined references to `std::_List_node_base::_M_hook(std::_List_node_base*)' follow  
collect2: ld returned 1 exit status  
make: *** [bin/uvVideoPlayer_debug] Error 1  
  

Not really an answer. But is this a duplicate of http://forum.openframeworks.cc/t/assimp-loader-on-ubuntu-11.04-not-work/6745/0 ?

Could very well be, however it seemed that was resolved…???

Anyone who needs a fixed libassimp.a for 32bit linux let me know. I’ve compiled the library and works for me here. It’s a bit to big(40M) to attach. I’ll put a download link once I get to it.

Rg,

Arnaud

http://tracy.z25.org/~arnaud/libassimp.a

For people who want to compile one themself. Download the Assimp source from their website. Go into the code directory and issue ‘make static NO_BOOST=1’. If all went well you’ll find a libassimp.a file in the bin/gcc dir.

Rg,

Arnaud