Linking errors

Hi, I’m getting this errors when linking with the static libs:

./Main.o: In function daeTArray<daeSmartRef<daeMetaElement> >::daeTArray()': Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeMetaElementEEC1Ev[daeTArray<daeSmartRef<daeMetaElement> >::daeTArray()]+0xd): undefined reference todaeArray::daeArray()’
./Main.o: In function daeSmartRef<daeMetaElement>::daeSmartRef(daeSmartRef<daeMetaElement> const&)': Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementEC1ERKS1_[daeSmartRef<daeMetaElement>::daeSmartRef(daeSmartRef<daeMetaElement> const&)]+0x19): undefined reference tocheckedRef(daeRefCountedObj const*)’
./Main.o: In function daeSmartRef<daeMetaElement>::operator=(daeSmartRef<daeMetaElement> const&)': Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementEaSERKS1_[daeSmartRef<daeMetaElement>::operator=(daeSmartRef<daeMetaElement> const&)]+0x15): undefined reference tocheckedRef(daeRefCountedObj const*)’
Main.cpp:(.text.ZN11daeSmartRefI14daeMetaElementEaSERKS1[daeSmartRef<daeMetaElement>::operator=(daeSmartRef<daeMetaElement> const&)]+0x22): undefined reference to checkedRelease(daeRefCountedObj const*)' ./Main.o: In functiondaeSmartRef<daeMetaElement>::~daeSmartRef()’:
Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementED1Ev[daeSmartRef<daeMetaElement>::~daeSmartRef()]+0xf): undefined reference to checkedRelease(daeRefCountedObj const*)' ./Main.o: In functiondaeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()’:
Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeMetaElementEED0Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x4e): undefined reference to daeArray::~daeArray()' Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeMetaElementEED0Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x67): undefined reference todaeArray::~daeArray()’
./Main.o: In function daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()': Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeMetaElementEED1Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x4e): undefined reference todaeArray::~daeArray()’
Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeMetaElementEED1Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x67): undefined reference to daeArray::~daeArray()' ./Main.o: In functionDAE::DAE(daeDatabase*, daeIOPlugin*)’:
Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x8): undefined reference to vtable for DAE' Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x22): undefined reference todaeAtomicTypeList::daeAtomicTypeList(DAE&)’
Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x4d): undefined reference to daeURI::daeURI(DAE&, bool)' Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x5b): undefined reference todaeURIResolverList::daeURIResolverList()’
Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x6b): undefined reference to daeIDRefResolverList::daeIDRefResolverList()' Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x84): undefined reference toDAE::init(daeDatabase*, daeIOPlugin*)’
Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x9f): undefined reference to daeIDRefResolverList::~daeIDRefResolverList()' Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0xb8): undefined reference todaeURIResolverList::~daeURIResolverList()’
Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0xd1): undefined reference to daeURI::~daeURI()' Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPlugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x103): undefined reference todaeAtomicTypeList::~daeAtomicTypeList()’
./Main.o:(.rodata._ZTI9daeTArrayI11daeSmartRefI14daeMetaElementEE[typeinfo for daeTArray<daeSmartRef<daeMetaElement> >]+0x8): undefined reference to `typeinfo for daeArray’
collect2: ld returned 1 exit status
make: *** [ColladaDOM] Error 1

where is the SVN mirror for collada FX now?

Hi, I’m getting this errors when linking with the static libs:
We use the static DOM libs in RT on various platforms and it works fine. Make sure you don’t have DOM_DYNAMIC defined in your project settings. If you’re using an svn build, make sure to check out a fresh copy of the DOM and rebuild it. Some of the paths have changed and the build can get confused if you accidentally link to stale libs that you’ve built. Other than that I’m not sure what it could be.

where is the SVN mirror for collada FX now?
https://collada-dom.svn.sourceforge.net/svnroot/collada-dom/trunk/fx. If you checkout the DOM trunk with ‘svn co https://collada-dom.svn.sourceforge.net … -dom/trunk collada-dom’ you’ll get FX in the ‘fx’ folder. Or you can use the browsable web interface to find what you’re looking for.

Steve

Well I erased all previus collada installation and recompile the new version downloaded with the command you indicated. It works great now, thanks!