assimp loader on ubuntu 11.04 not work

yes, this is the log file:

  
 cd /home/walter/ofgithub007/openFrameworks/apps/addonsExamples/ofxAssimpExample  
walter@walter-VGN-AR51E:~/ofgithub007/openFrameworks/apps/addonsExamples/ofxAssimpExample$ make  
linking bin/ofxAssimpExample  
g++ -o bin/ofxAssimpExample obj/i686Release/src/main.o obj/i686Release/src/testApp.o obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o  -Wl,-rpath=./libs  ../../../libs/openFrameworksCompiled/lib/linux/libopenFrameworks.a      ../../../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/assimp/lib/linux -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/rtAudio/lib/linux -L../../../libs/tess2/lib/linux -lfmodex -lmpg123 -pthread -L/usr/lib/i386-linux-gnu -lGLEW -lGLU -lGL -lgstvideo-0.10 -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lglib-2.0 -ludev -lrt   -lglut -lGL -lasound -lopenal -lsndfile -lvorbis -lFLAC -logg -lfreeimage  
../../../libs/assimp/lib/linux/libassimp.a(OgreImporter.o): In function `Assimp::Ogre::OgreImporter::LoadSkeleton(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<Assimp::Ogre::Bone, std::allocator<Assimp::Ogre::Bone> >&, std::vector<Assimp::Ogre::Animation, std::allocator<Assimp::Ogre::Animation> >&) const':  
OgreImporter.cpp:(.text+0x5464): undefined reference to `irr::io::createIrrXMLReader(irr::io::IFileReadCallBack*)'  
../../../libs/assimp/lib/linux/libassimp.a(OgreImporter.o): In function `Assimp::Ogre::OgreImporter::InternReadFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, aiScene*, Assimp::IOSystem*)':  
OgreImporter.cpp:(.text+0x7d3c): undefined reference to `irr::io::createIrrXMLReader(irr::io::IFileReadCallBack*)'  
../../../libs/assimp/lib/linux/libassimp.a(ColladaParser.o): In function `Assimp::ColladaParser::ColladaParser(Assimp::IOSystem*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':  
ColladaParser.cpp:(.text+0xfda1): undefined reference to `irr::io::createIrrXMLReader(irr::io::IFileReadCallBack*)'  
../../../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+0x4531): undefined reference to `irr::io::createIrrXMLReader(irr::io::IFileReadCallBack*)'  
../../../libs/assimp/lib/linux/libassimp.a(IRRMeshLoader.o): In function `Assimp::IRRMeshImporter::InternReadFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, aiScene*, Assimp::IOSystem*)':  
IRRMeshLoader.cpp:(.text+0x294): undefined reference to `irr::io::createIrrXMLReader(irr::io::IFileReadCallBack*)'  
collect2: ld returned 1 exit status  
make: *** [bin/ofxAssimpExample] Errore 1  
walter@walter-VGN-AR51E:~/ofgithub007/openFrameworks/apps/addonsExamples/ofxAssimpExample$   
  
  

any idea?

yes sorry the 32bit version is still not working, the library is missing some symbols, will fix it asap

ok. no problem i can wait! :slight_smile: i have tried to build the libassimp2 lib from the source, (from openrave site the natty narval solution see here: https://launchpad.net/~openrave/+archive/release) but without success… :frowning:

this should be fixed now

ok, i have downloaded the new libassimp.a . i will try it. :slight_smile:

still errors look at the log file:

walter@walter-VGN-AR51E:~/ofgithub007/openFrameworks/apps/addonsExamples/ofxAssimpExample$ make
compiling object for: src/main.cpp
mkdir -p obj/i686Release/src
g++ -c -DOF_USING_MPG123 -Wall -fexceptions -I. -I…/…/…/libs/FreeImage/include -I…/…/…/libs/assimp/include -I…/…/…/libs/assimp/include/Compiler -I…/…/…/libs/cairo/include -I…/…/…/libs/cairo/include/cairo -I…/…/…/libs/cairo/include/libpng15 -I…/…/…/libs/cairo/include/pixman-1 -I…/…/…/libs/fmodex/include -I…/…/…/libs/freetype/include -I…/…/…/libs/freetype/include/freetype2 -I…/…/…/libs/freetype/include/freetype2/freetype -I…/…/…/libs/freetype/include/freetype2/freetype/config -I…/…/…/libs/freetype/include/freetype2/freetype/internal -I…/…/…/libs/freetype/include/freetype2/freetype/internal/services -I…/…/…/libs/glew/include -I…/…/…/libs/glew/include/GL -I…/…/…/libs/kiss/include -I…/…/…/libs/rtAudio/include -I…/…/…/libs/tess2/include -I…/…/…/libs/videoInput/include -I…/…/…/libs/poco/include -I…/…/…/libs/glu/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I…/…/…/libs/openFrameworks/ -I…/…/…/libs/openFrameworks/3d -I…/…/…/libs/openFrameworks/app -I…/…/…/libs/openFrameworks/communication -I…/…/…/libs/openFrameworks/events -I…/…/…/libs/openFrameworks/gl -I…/…/…/libs/openFrameworks/graphics -I…/…/…/libs/openFrameworks/math -I…/…/…/libs/openFrameworks/sound -I…/…/…/libs/openFrameworks/types -I…/…/…/libs/openFrameworks/utils -I…/…/…/libs/openFrameworks/video -I…/…/…/addons/ofxAssimpModelLoader/libs -I…/…/…/addons/ofxAssimpModelLoader/src -I…/…/…/addons/ofxAssimpModelLoader/libs -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/include -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/include/Compiler -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android/armeabi-v7a -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android/armeabi -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/linux64 -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/osx -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/win_cb -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/linux -MMD -MP -MFobj/i686Release/src/main.d -MTobj/i686Release/src/main.d -oobj/i686Release/src/main.o -c src/main.cpp
compiling object for: src/testApp.cpp
mkdir -p obj/i686Release/src
g++ -c -DOF_USING_MPG123 -Wall -fexceptions -I. -I…/…/…/libs/FreeImage/include -I…/…/…/libs/assimp/include -I…/…/…/libs/assimp/include/Compiler -I…/…/…/libs/cairo/include -I…/…/…/libs/cairo/include/cairo -I…/…/…/libs/cairo/include/libpng15 -I…/…/…/libs/cairo/include/pixman-1 -I…/…/…/libs/fmodex/include -I…/…/…/libs/freetype/include -I…/…/…/libs/freetype/include/freetype2 -I…/…/…/libs/freetype/include/freetype2/freetype -I…/…/…/libs/freetype/include/freetype2/freetype/config -I…/…/…/libs/freetype/include/freetype2/freetype/internal -I…/…/…/libs/freetype/include/freetype2/freetype/internal/services -I…/…/…/libs/glew/include -I…/…/…/libs/glew/include/GL -I…/…/…/libs/kiss/include -I…/…/…/libs/rtAudio/include -I…/…/…/libs/tess2/include -I…/…/…/libs/videoInput/include -I…/…/…/libs/poco/include -I…/…/…/libs/glu/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I…/…/…/libs/openFrameworks/ -I…/…/…/libs/openFrameworks/3d -I…/…/…/libs/openFrameworks/app -I…/…/…/libs/openFrameworks/communication -I…/…/…/libs/openFrameworks/events -I…/…/…/libs/openFrameworks/gl -I…/…/…/libs/openFrameworks/graphics -I…/…/…/libs/openFrameworks/math -I…/…/…/libs/openFrameworks/sound -I…/…/…/libs/openFrameworks/types -I…/…/…/libs/openFrameworks/utils -I…/…/…/libs/openFrameworks/video -I…/…/…/addons/ofxAssimpModelLoader/libs -I…/…/…/addons/ofxAssimpModelLoader/src -I…/…/…/addons/ofxAssimpModelLoader/libs -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/include -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/include/Compiler -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android/armeabi-v7a -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android/armeabi -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/linux64 -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/osx -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/win_cb -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/linux -MMD -MP -MFobj/i686Release/src/testApp.d -MTobj/i686Release/src/testApp.d -oobj/i686Release/src/testApp.o -c src/testApp.cpp
compiling addon object for …/…/…/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.cpp
mkdir -p obj/i686Release/addons/ofxAssimpModelLoader/src
g++ -DOF_USING_MPG123 -Wall -fexceptions -I. -I…/…/…/libs/FreeImage/include -I…/…/…/libs/assimp/include -I…/…/…/libs/assimp/include/Compiler -I…/…/…/libs/cairo/include -I…/…/…/libs/cairo/include/cairo -I…/…/…/libs/cairo/include/libpng15 -I…/…/…/libs/cairo/include/pixman-1 -I…/…/…/libs/fmodex/include -I…/…/…/libs/freetype/include -I…/…/…/libs/freetype/include/freetype2 -I…/…/…/libs/freetype/include/freetype2/freetype -I…/…/…/libs/freetype/include/freetype2/freetype/config -I…/…/…/libs/freetype/include/freetype2/freetype/internal -I…/…/…/libs/freetype/include/freetype2/freetype/internal/services -I…/…/…/libs/glew/include -I…/…/…/libs/glew/include/GL -I…/…/…/libs/kiss/include -I…/…/…/libs/rtAudio/include -I…/…/…/libs/tess2/include -I…/…/…/libs/videoInput/include -I…/…/…/libs/poco/include -I…/…/…/libs/glu/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I…/…/…/libs/openFrameworks/ -I…/…/…/libs/openFrameworks/3d -I…/…/…/libs/openFrameworks/app -I…/…/…/libs/openFrameworks/communication -I…/…/…/libs/openFrameworks/events -I…/…/…/libs/openFrameworks/gl -I…/…/…/libs/openFrameworks/graphics -I…/…/…/libs/openFrameworks/math -I…/…/…/libs/openFrameworks/sound -I…/…/…/libs/openFrameworks/types -I…/…/…/libs/openFrameworks/utils -I…/…/…/libs/openFrameworks/video -I…/…/…/addons/ofxAssimpModelLoader/libs -I…/…/…/addons/ofxAssimpModelLoader/src -I…/…/…/addons/ofxAssimpModelLoader/libs -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/include -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/include/Compiler -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android/armeabi-v7a -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/android/armeabi -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/linux64 -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/osx -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/win_cb -I…/…/…/addons/ofxAssimpModelLoader/libs/assimp/lib/linux -MMD -MP -MFobj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.d -MTobj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.d -o obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o -c …/…/…/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.cpp
…/…/…/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.cpp:80:13: warning: ‘void aiMatrix4x4ToOfMatrix4x4(const aiMatrix4x4&, ofNode&)’ defined but not used
linking bin/ofxAssimpExample
g++ -o bin/ofxAssimpExample obj/i686Release/src/main.o obj/i686Release/src/testApp.o obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o -Wl,-rpath=./libs …/…/…/libs/openFrameworksCompiled/lib/linux/libopenFrameworks.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/assimp/lib/linux -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/rtAudio/lib/linux -L…/…/…/libs/tess2/lib/linux -lfmodex -lmpg123 -pthread -L/usr/lib/i386-linux-gnu -lGLEW -lGLU -lGL -lgstvideo-0.10 -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lglib-2.0 -ludev -lrt -lglut -lGL -lasound -lopenal -lsndfile -lvorbis -lFLAC -logg -lfreeimage
obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In function ofxAssimpModelLoader::loadModel(std::basic\_string<char, std::char\_traits<char>, std::allocator<char> >, bool)': ofxAssimpModelLoader.cpp:(.text+0xd32): undefined reference toaiSetImportPropertyInteger’
ofxAssimpModelLoader.cpp:(.text+0xd46): undefined reference to aiSetImportPropertyInteger' ofxAssimpModelLoader.cpp:(.text+0xd7a): undefined reference toaiImportFile’
ofxAssimpModelLoader.cpp:(.text+0xe21): undefined reference to aiGetErrorString' obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In functionofxAssimpModelLoader::loadModel(ofBuffer&, bool, char const*)’:
ofxAssimpModelLoader.cpp:(.text+0xf5f): undefined reference to aiSetImportPropertyInteger' ofxAssimpModelLoader.cpp:(.text+0xf73): undefined reference toaiSetImportPropertyInteger’
ofxAssimpModelLoader.cpp:(.text+0xfd0): undefined reference to aiImportFileFromMemory' ofxAssimpModelLoader.cpp:(.text+0x1077): undefined reference toaiGetErrorString’
obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In function ofxAssimpModelLoader::optimizeScene()': ofxAssimpModelLoader.cpp:(.text+0x1663): undefined reference toaiApplyPostProcessing’
obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In function ofxAssimpModelLoader::loadGLResources()': ofxAssimpModelLoader.cpp:(.text+0x1d31): undefined reference toaiGetMaterialColor’
ofxAssimpModelLoader.cpp:(.text+0x1db0): undefined reference to aiGetMaterialColor' ofxAssimpModelLoader.cpp:(.text+0x1e2f): undefined reference toaiGetMaterialColor’
ofxAssimpModelLoader.cpp:(.text+0x1eae): undefined reference to aiGetMaterialColor' ofxAssimpModelLoader.cpp:(.text+0x1ff0): undefined reference toaiGetMaterialIntegerArray’
obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In function ofxAssimpModelLoader::clear()': ofxAssimpModelLoader.cpp:(.text+0x2648): undefined reference toaiReleaseImport’
obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In function ofxAssimpModelLoader::getBoundingBoxWithMinVector(aiVector3D\*, aiVector3D\*)': ofxAssimpModelLoader.cpp:(.text+0x2764): undefined reference toaiIdentityMatrix4’
obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In function ofxAssimpModelLoader::getBoundingBoxForNode(aiNode const\*, aiVector3D\*, aiVector3D\*, aiMatrix4x4\*)': ofxAssimpModelLoader.cpp:(.text+0x286a): undefined reference toaiMultiplyMatrix4’
ofxAssimpModelLoader.cpp:(.text+0x28d7): undefined reference to aiTransformVecByMatrix4' obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In functionaiGetMaterialFloat’:
ofxAssimpModelLoader.cpp:(.text.aiGetMaterialFloat[aiGetMaterialFloat]+0x31): undefined reference to aiGetMaterialFloatArray' obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In functionaiGetMaterialInteger’:
ofxAssimpModelLoader.cpp:(.text.aiGetMaterialInteger[aiGetMaterialInteger]+0x31): undefined reference to aiGetMaterialIntegerArray' obj/i686Release/addons/ofxAssimpModelLoader/src/ofxAssimpModelLoader.o: In functionaiMaterial::GetTexture(aiTextureType, unsigned int, aiString*, aiTextureMapping*, unsigned int*, float*, aiTextureOp*, aiTextureMapMode*) const’:
ofxAssimpModelLoader.cpp:(.text._ZNK10aiMaterial10GetTextureE13aiTextureTypejP8aiStringP16aiTextureMappingPjPfP11aiTextureOpP16aiTextureMapMode[aiMaterial::GetTexture(aiTextureType, unsigned int, aiString*, aiTextureMapping*, unsigned int*, float*, aiTextureOp*, aiTextureMapMode*) const]+0x4d): undefined reference to `aiGetMaterialTexture’
collect2: ld returned 1 exit status
make: *** [bin/ofxAssimpExample] Errore 1
walter@walter-VGN-AR51E:~/ofgithub007/openFrameworks/apps/addonsExamples/ofxAssimpExample$

that seems like a problem with the makefiles, try creating them again with the createProjects.py script