Results 1 to 2 of 2

Thread: CrtSceneRead.cpp compile error

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    2

    CrtSceneRead.cpp compile error

    Hello,

    we tried to compile the collada-dom package with "make -f Makefile.linux" with gcc 4.3.3 under Ubuntu 9.04 and with the Make-version 3.81.

    We have had installed the Nvidia Cg-Toolkit 2.2 and followed the description under this link:

    https://collada.org/mediawiki/index.php ... Setting_up

    But still we have this error:

    Code :
    src/Crt/1.4/CrtSceneRead.cpp:2135: error: request for member ‘push_back’ in ‘ctrl->CrtController::skeletons’, which is of non-class type ‘int’
    src/Crt/1.4/CrtSceneRead.cpp: In member function ‘CrtNode* CrtScene::ReadNode(domNodeRef, CrtNode*)’:
    src/Crt/1.4/CrtSceneRead.cpp:2148: warning: deprecated conversion from string constant to ‘char*’
    make[1]: *** [build/linux-1.4/obj/CrtSceneRead.o] Error 1
    make[1]: Leaving directory `/home/user/Desktop/collada-dom/rt'
    make: *** [all] Error 2

    We also checked the CrtLinux.h for this issue described in another post on this forum but we have downloaded the newest version:

    Code :
    #ifndef GLsizeiptr
     
    typedef int             GLsizeiptr;
     
    #endif

    Can anybody help us?

    Thank you very much in advance.

    Sincerely,

    Tobias

  2. #2
    Junior Member
    Join Date
    Aug 2009
    Posts
    2

    Re: CrtSceneRead.cpp compile error

    Hello,

    we solved our problem. We don't need the rt- and the fx-part. So we comment it out in the "Makefile.linux" Then you have to compile it with "make -f Makefile.linux". Then you have to change to the dom-Directory and type "make install". Then you have it!

    Tobias

Posting Permissions

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