CrtSceneRead.cpp compile error


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: … Setting_up

But still we have this error:

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:

#ifndef GLsizeiptr

typedef int             GLsizeiptr;


Can anybody help us?

Thank you very much in advance.




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!