Results 1 to 4 of 4

Thread: Linking errors

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Location
    Lima Perú
    Posts
    10

    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._ZN9daeTArrayI11daeSmartRefI14daeM etaElementEEC1Ev[daeTArray<daeSmartRef<daeMetaElement> >::daeTArray()]+0xd): undefined reference to `daeArray::daeArray()'
    ./Main.o: In function `daeSmartRef<daeMetaElement>::daeSmartRef(daeSmart Ref<daeMetaElement> const&)':
    Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementE C1ERKS1_[daeSmartRef<daeMetaElement>::daeSmartRef(daeSmartR ef<daeMetaElement> const&)]+0x19): undefined reference to `checkedRef(daeRefCountedObj const*)'
    ./Main.o: In function `daeSmartRef<daeMetaElement>::operator=(daeSmartRe f<daeMetaElement> const&)':
    Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementE aSERKS1_[daeSmartRef<daeMetaElement>::operator=(daeSmartRef <daeMetaElement> const&)]+0x15): undefined reference to `checkedRef(daeRefCountedObj const*)'
    Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementE aSERKS1_[daeSmartRef<daeMetaElement>::operator=(daeSmartRef <daeMetaElement> const&)]+0x22): undefined reference to `checkedRelease(daeRefCountedObj const*)'
    ./Main.o: In function `daeSmartRef<daeMetaElement>::~daeSmartRef()':
    Main.cpp:(.text._ZN11daeSmartRefI14daeMetaElementE D1Ev[daeSmartRef<daeMetaElement>::~daeSmartRef()]+0xf): undefined reference to `checkedRelease(daeRefCountedObj const*)'
    ./Main.o: In function `daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()':
    Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeM etaElementEED0Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x4e): undefined reference to `daeArray::~daeArray()'
    Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeM etaElementEED0Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x67): undefined reference to `daeArray::~daeArray()'
    ./Main.o: In function `daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()':
    Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeM etaElementEED1Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x4e): undefined reference to `daeArray::~daeArray()'
    Main.cpp:(.text._ZN9daeTArrayI11daeSmartRefI14daeM etaElementEED1Ev[daeTArray<daeSmartRef<daeMetaElement> >::~daeTArray()]+0x67): undefined reference to `daeArray::~daeArray()'
    ./Main.o: In function `DAE::DAE(daeDatabase*, daeIOPlugin*)':
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x8): undefined reference to `vtable for DAE'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x22): undefined reference to `daeAtomicTypeList::daeAtomicTypeList(DAE&)'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x4d): undefined reference to `daeURI::daeURI(DAE&, bool)'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x5b): undefined reference to `daeURIResolverList::daeURIResolverList()'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x6b): undefined reference to `daeIDRefResolverList::daeIDRefResolverList()'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x84): undefined reference to `DAE::init(daeDatabase*, daeIOPlugin*)'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x9f): undefined reference to `daeIDRefResolverList::~daeIDRefResolverList()'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0xb8): undefined reference to `daeURIResolverList::~daeURIResolverList()'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0xd1): undefined reference to `daeURI::~daeURI()'
    Main.cpp:(.text._ZN3DAEC1EP11daeDatabaseP11daeIOPl ugin[DAE::DAE(daeDatabase*, daeIOPlugin*)]+0x103): undefined reference to `daeAtomicTypeList::~daeAtomicTypeList()'
    ./Main.o:(.rodata._ZTI9daeTArrayI11daeSmartRefI14dae MetaElementEE[typeinfo for daeTArray<daeSmartRef<daeMetaElement> >]+0x8): undefined reference to `typeinfo for daeArray'
    collect2: ld returned 1 exit status
    make: *** [ColladaDOM] Error 1

  2. #2
    Junior Member
    Join Date
    Nov 2007
    Location
    Lima Perú
    Posts
    10

    SVN mirrors

    where is the SVN mirror for collada FX now?

  3. #3
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    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

  4. #4
    Junior Member
    Join Date
    Nov 2007
    Location
    Lima Perú
    Posts
    10

    Thanks

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •