Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Errors compiling Collada-dom 2.2

Help
2010-12-17
2013-05-01
  • david moreno
    david moreno
    2010-12-17

    Hello:

    I have Slackware 13.1 64.

    When I try to compile I get this error:

    bash-4.1# make -f Makefile.linux
    make os=linux project=minizip -C dom
    make os=linux project=dom -C dom
    make[1]: Entering directory `/home/david/Tgz64/collada-dom/dom'
    Compiling src/dae/dae.cpp to build/linux-1.4/obj/dae.o
    In file included from src/dae/dae.cpp:19:
    include/1.4/dom/domCOLLADA.h:16:26: error: dom/domAsset.h: No such file or directory
    In file included from include/dae/daeElement.h:17,
                     from include/dae/daeDatabase.h:16,
                     from include/dae.h:36,
                     from src/dae/dae.cpp:9:
    include/dae/daeSmartRef.h: In copy constructor 'daeSmartRef<T>::daeSmartRef(const daeSmartRef<T>&) [with T = domAsset]':
    include/1.4/dom/domSource.h:186:   instantiated from here
    include/dae/daeSmartRef.h:54: error: cannot convert 'domAsset*' to 'const daeRefCountedObj*' for argument '1' to 'void checkedRef(const daeRefCountedObj*)'
    include/dae/daeSmartRef.h: In destructor 'daeSmartRef<T>::~daeSmartRef() [with T = domAsset]':
    include/1.4/dom/domSource.h:186:   instantiated from here
    include/dae/daeSmartRef.h:31: error: cannot convert 'domAsset*' to 'const daeRefCountedObj*' for argument '1' to 'void checkedRelease(const daeRefCountedObj*)'
    make[1]: *** [build/linux-1.4/obj/dae.o] Error 1
    make[1]: Leaving directory `/home/david/Tgz64/collada-dom/dom'
    make: *** [all] Error 2
    

    Any suggestion?

    Thanks!

     
  • Jeremy
    Jeremy
    2011-01-22

    Hello,

    I want to install the COLLADA DOM and when i try to make it, I get the same error.
    I have compared them line by line…
    Does anyone have a solution ?

     
  • Jeremy
    Jeremy
    2011-01-22

    I have solved this problem thanks to this post https://sourceforge.net/tracker/index.php?func=detail&aid=3074994&group_id=157838&atid=805424
    I have renamed the file with a capital A. That permits me to compil the dom files.
    But i get another problem.

    make[1]: Leaving directory « /home/gege/PT/collada-dom/dom »
    make os=linux project=fx -C fx 
    make[1]: Entering directory « /home/gege/PT/collada-dom/fx »
    Compiling src/cfxAnnotatable.cpp to build/linux-1.4/obj/cfxAnnotatable.o
    In file included from src/cfxAnnotatable.cpp:9:
    include/cfxAnnotate.h:15:19: error: Cg/cg.h: Aucun fichier ou dossier de ce type
    In file included from src/cfxAnnotatable.cpp:9:
    include/cfxAnnotate.h:43: error: CGannotation does not name a type
    include/cfxAnnotate.h:54: error: CGannotation does not name a type
    make[1]: *** [build/linux-1.4/obj/cfxAnnotatable.o] Erreur 1
    make[1]: Leaving directory « /home/gege/PT/collada-dom/fx »
    make: *** [all] Erreur 2
    

    Indeed, I don't find any directory named Cg :/

    Thank for your help

     
  • Jeremy
    Jeremy
    2011-01-22

    PS: Excuse me, I haven't finished to translate errors : Aucun fichier ou dossier de ce type = No such file or directory