Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: compiling COLLADA RT on Linux ?

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    6

    compiling COLLADA RT on Linux ?

    I am having some difficulties to compile the Collada RT on Linux. I compilled the COLLADA_DOM as well as the COLLADA_FX, but to compile the Collada RT, mainly the viewer, I am founding some compiling errors like undefined reference.

    I am waiting for responses.

    Thanks,
    Douglas

    Below is the log error:


    [code]ccache g++ -fno-exceptions -L/home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4 -L/home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib -L/home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_DOM/lib objs/mainPC.cpu.o -lCrt -lCfx -lglut -lCg -lGL -lGLU -lm -lpthread -o crtviewer
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtRender::UpdateDelta()':
    ../../src/Crt/CrtRender.cpp:242: undefined reference to `CrtRender::GetTime()'
    ../../src/Crt/CrtRender.cpp:238: undefined reference to `CrtRender::GetTime()'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtRender::Init()':
    ../../src/Crt/CrtRender.cpp:403: undefined reference to `CrtInitCg()'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtRender::SetInitialPath(char const*)':
    ../../src/Crt/CrtRender.cpp:39: undefined reference to `CrtInitPaths()'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtCat':
    ../../include/Crt/CrtUtils.h:94: undefined reference to `ShaderFilePrefix'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtCpy':
    ../../include/Crt/CrtUtils.h:89: undefined reference to `ShaderFilePrefix'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtCat':
    ../../include/Crt/CrtUtils.h:94: undefined reference to `TextureFilePrefix'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtCpy':
    ../../include/Crt/CrtUtils.h:89: undefined reference to `TextureFilePrefix'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtCpy':
    ../../src/Crt/CrtRender.cpp:52: undefined reference to `BasePath'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtRender.cpu.o): In function `CrtCpy':
    ../../include/Crt/CrtUtils.h:89: undefined reference to `BasePath'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `CrtScene::Load(char*)':
    ../../src/Crt/1.4/CrtScene.cpp:78: undefined reference to `DAE:AE()'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `CrtScene::Load(char*)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `release':
    ../../src/Crt/1.4/CrtScene.cpp:110: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `CrtScene::Load(char*)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `release':
    ../../src/Crt/1.4/CrtScene.cpp:113: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `CrtScene::Load(char*)':
    ../../src/Crt/1.4/CrtScene.cpp:215: undefined reference to `BasePath'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o): In function `CrtScene::Load(char*)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtScene.cpu.o):../../src/Crt/1.4/CrtScene.cpp:249: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadCfxBinaryFilename(daeTArray<daeSmar tRef<domExtra> >&)':
    ../../src/Crt/1.4/CrtSceneRead.cpp:1874: undefined reference to `daeElement::getTypeName() const'
    ../../src/Crt/1.4/CrtSceneRead.cpp:1874: undefined reference to `daeElement::getElementName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtGetTriIndexList(unsigned int*, domTriangles*, unsigned int)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadCamera(daeSmartRef<domCamera>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadMaterial(daeSmartRef<domMaterial>)' :
    ../../src/Crt/1.4/CrtSceneRead.cpp:372: undefined reference to `daeElement::getID() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadMaterial(daeSmartRef<domMaterial>)' :
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadImage(daeSmartRef<domImage>)':
    ../../src/Crt/1.4/CrtSceneRead.cpp:1089: undefined reference to `daeURI::validate(daeURI*)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadImage(daeSmartRef<domImage>)':
    ../../src/Crt/1.4/CrtSceneRead.cpp:1090: undefined reference to `daeURI::getURI() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadImage(daeSmartRef<domImage>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadImageLibrary(daeSmartRef<domLibrary _images>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadLight(daeSmartRef<domLight>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadEffect(daeSmartRef<domEffect>)':
    ../../src/Crt/1.4/CrtSceneRead.cpp:241: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadEffect(daeSmartRef<domEffect>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadAnimation(daeSmartRef<domAnimation> )':
    ../../src/Crt/1.4/CrtSceneRead.cpp:1224: undefined reference to `daeElement::getID() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadAnimationLibrary(daeSmartRef<domLib rary_animations>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadController(daeSmartRef<domControlle r>)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadNodeTranforms(CrtNode*, daeSmartRef<domNode>, CrtNode*)':
    ../../src/Crt/1.4/CrtSceneRead.cpp:1448: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `CrtScene::ReadNodeTranforms(CrtNode*, daeSmartRef<domNode>, CrtNode*)':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.cpu.o):/home/aluno/Desktop/Collada/COLLADA_RT/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetCgDefaultStaticProgram()':
    ../../src/Crt/CrtCommonCg.cpp:752: undefined reference to `cgGLBindProgram'
    ../../src/Crt/CrtCommonCg.cpp:755: undefined reference to `cgGLSetStateMatrixParameter'
    ../../src/Crt/CrtCommonCg.cpp:757: undefined reference to `cgGLSetMatrixParameterfc'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetCgDefaultSkinProgram()':
    ../../src/Crt/CrtCommonCg.cpp:773: undefined reference to `cgGLBindProgram'
    ../../src/Crt/CrtCommonCg.cpp:776: undefined reference to `cgGLSetStateMatrixParameter'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetCgShadowMapFragmentProgram()':
    ../../src/Crt/CrtCommonCg.cpp:866: undefined reference to `cgGLSetTextureParameter'
    ../../src/Crt/CrtCommonCg.cpp:867: undefined reference to `cgGLEnableTextureParameter'
    ../../src/Crt/CrtCommonCg.cpp:868: undefined reference to `cgGLEnableTextureParameter'
    ../../src/Crt/CrtCommonCg.cpp:871: undefined reference to `cgGLBindProgram'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetCgNormalMapFragmentProgram()':
    ../../src/Crt/CrtCommonCg.cpp:939: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:942: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:945: undefined reference to `cgGLBindProgram'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::EnableCgProfiles()':
    ../../src/Crt/CrtCommonCg.cpp:955: undefined reference to `cgGLEnableProfile'
    ../../src/Crt/CrtCommonCg.cpp:956: undefined reference to `cgGLEnableProfile'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender:isableCgProfiles()':
    ../../src/Crt/CrtCommonCg.cpp:966: undefined reference to `cgGLDisableProfile'
    ../../src/Crt/CrtCommonCg.cpp:967: undefined reference to `cgGLDisableProfile'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetupCgNormalMapFragmentProgram()':
    ../../src/Crt/CrtCommonCg.cpp:690: undefined reference to `CrtRender::LoadCgProgram(char*, int)'
    ../../src/Crt/CrtCommonCg.cpp:701: undefined reference to `TextureFilePrefix'
    ../../src/Crt/CrtCommonCg.cpp:726: undefined reference to `cgGLSetTextureParameter'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetupCgNormalMapStaticProgram()':
    ../../src/Crt/CrtCommonCg.cpp:675: undefined reference to `CrtRender::LoadCgProgram(char*, int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetupCgShadowMapFragmentProgram()':
    ../../src/Crt/CrtCommonCg.cpp:624: undefined reference to `CrtRender::LoadCgProgram(char*, int)'
    ../../src/Crt/CrtCommonCg.cpp:662: undefined reference to `cgGLSetTextureParameter'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetupCgDefaultFragmentProgram()':
    ../../src/Crt/CrtCommonCg.cpp:598: undefined reference to `CrtRender::LoadCgProgram(char*, int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetupCgDefaultSkinProgram()':
    ../../src/Crt/CrtCommonCg.cpp:580: undefined reference to `CrtRender::LoadCgProgram(char*, int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetupCgDefaultStaticProgram()':
    ../../src/Crt/CrtCommonCg.cpp:561: undefined reference to `CrtRender::LoadCgProgram(char*, int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::InitCg()':
    ../../src/Crt/CrtCommonCg.cpp:536: undefined reference to `CrtInitCg()'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetCgNormalMapStaticProgram()':
    ../../src/Crt/CrtCommonCg.cpp:906: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:907: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:909: undefined reference to `cgGLSetStateMatrixParameter'
    ../../src/Crt/CrtCommonCg.cpp:912: undefined reference to `cgGLBindProgram'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonCg.cpu.o): In function `CrtRender::SetCgDefaultFragmentProgram()':
    ../../src/Crt/CrtCommonCg.cpp:789: undefined reference to `cgGLBindProgram'
    ../../src/Crt/CrtCommonCg.cpp:837: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:839: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:840: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:841: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:842: undefined reference to `cgGLSetParameter1f'
    ../../src/Crt/CrtCommonCg.cpp:844: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:845: undefined reference to `cgGLSetParameter3fv'
    ../../src/Crt/CrtCommonCg.cpp:848: undefined reference to `cgGLSetParameter3fv'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonGL.cpu.o): In function `CrtRender::GenerateVBO()':
    ../../src/Crt/CrtCommonGL.cpp:610: undefined reference to `glGenBuffers(int, unsigned int*)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonGL.cpu.o): In function `CrtRender::BindVBO(unsigned int)':
    ../../src/Crt/CrtCommonGL.cpp:635: undefined reference to `glBindBuffer(unsigned int, unsigned int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonGL.cpu.o): In function `CrtRender::CopyVBOData(unsigned int, void*, int)':
    ../../src/Crt/CrtCommonGL.cpp:622: undefined reference to `glBindBuffer(unsigned int, unsigned int)'
    ../../src/Crt/CrtCommonGL.cpp:624: undefined reference to `glBufferData(unsigned int, int, void const*, unsigned int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtCommonGL.cpu.o): In function `CrtRender::FreeVBO(unsigned int)':
    ../../src/Crt/CrtCommonGL.cpp:781: undefined reference to `glDeleteBuffers(int, unsigned int const*)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtGeometry.cpu.o): In function `CrtPolyGroup::SetupMaterialForDraw(CrtNode*)':
    ../../src/Crt/CrtGeometry.cpp:781: undefined reference to `cgGLSetStateMatrixParameter'
    ../../src/Crt/CrtGeometry.cpp:788: undefined reference to `cgGLSetMatrixParameterfc'
    ../../src/Crt/CrtGeometry.cpp:794: undefined reference to `cgGLSetMatrixParameterfc'
    ../../src/Crt/CrtGeometry.cpp:801: undefined reference to `cgGLSetMatrixParameterfc'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../lib/1.4/libCrt.a(CrtTexture.cpu.o): In function `CrtLoadTexture(CrtImage*, char*, char*)':
    ../../src/Crt/CrtTexture.cpp:80: undefined reference to `TextureFilePrefix'
    ../../src/Crt/CrtTexture.cpp:84: undefined reference to `TextureFilePrefix'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::hasCGProfile(domEffect*)':
    src/cfxLoader.cpp:828: undefined reference to `daeElement::getTypeName() const'
    src/cfxLoader.cpp:831: undefined reference to `COLLADA_ELEMENT_PROFILE_CG'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadAnnotateArray(daeTArray<daeSmartRe f<domFx_annotate_common> >&, cfxAnnotatable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domCg_newparam> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domCg_newparam> >&, cfxParamable*, cfxEffect*)':
    src/cfxLoader.cpp:482: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domCg_newparam> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    src/cfxLoader.cpp:496: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domCg_newparam> >&, cfxParamable*, cfxEffect*)':
    src/cfxLoader.cpp:491: undefined reference to `daeIDRef::getID() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domCg_newparam> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domCg_newparam> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o):/home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domFx_newparam_common> >&, cfxParamable*, cfxEffect*)':
    src/cfxLoader.cpp:419: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domFx_newparam_common> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    src/cfxLoader.cpp:431: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domFx_newparam_common> >&, cfxParamable*, cfxEffect*)':
    src/cfxLoader.cpp:426: undefined reference to `daeIDRef::getID() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domFx_newparam_common> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadNewParamArray(daeTArray<daeSmartRe f<domFx_newparam_common> >&, cfxParamable*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o):/home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadSetParamArray(daeTArray<daeSmartRe f<domInstance_effect::domSetparam> >&, cfxParamable*, cfxEffect*, cfxMaterial*)':
    src/cfxLoader.cpp:546: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadSetParamArray(daeTArray<daeSmartRe f<domInstance_effect::domSetparam> >&, cfxParamable*, cfxEffect*, cfxMaterial*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadSetParamArray(daeTArray<daeSmartRe f<domInstance_effect::domSetparam> >&, cfxParamable*, cfxEffect*, cfxMaterial*)':
    src/cfxLoader.cpp:553: undefined reference to `daeIDRef::getID() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    src/cfxLoader.cpp:561: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadSetParamArray(daeTArray<daeSmartRe f<domInstance_effect::domSetparam> >&, cfxParamable*, cfxEffect*, cfxMaterial*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o):/home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadMaterials(DAE*, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxMaterial*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxMaterial*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxEffect*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxEffect*> > > const*)':
    src/cfxLoader.cpp:219: undefined reference to `COLLADA_ELEMENT_MATERIAL'
    src/cfxLoader.cpp:229: undefined reference to `COLLADA_ELEMENT_MATERIAL'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadMaterials(DAE*, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxMaterial*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxMaterial*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxEffect*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxEffect*> > > const*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `pushTechniqueInclude(cfxTechnique*, char const*, daeURI&)':
    src/cfxLoader.cpp:582: undefined reference to `daeURI::getPath(char*, int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadProfileArray(daeTArray<daeSmartRef <domFx_profile_abstract> >&, cfxEffect*)':
    src/cfxLoader.cpp:605: undefined reference to `daeElement::getTypeName() const'
    src/cfxLoader.cpp:610: undefined reference to `COLLADA_ELEMENT_PROFILE_CG'
    src/cfxLoader.cpp:757: undefined reference to `cgGLGetLatestProfile'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadProfileArray(daeTArray<daeSmartRef <domFx_profile_abstract> >&, cfxEffect*)':
    src/cfxLoader.cpp:791: undefined reference to `daeElement::getTypeName() const'
    src/cfxLoader.cpp:793: undefined reference to `COLLADA_ELEMENT_PARAM'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadProfileArray(daeTArray<daeSmartRef <domFx_profile_abstract> >&, cfxEffect*)':
    src/cfxLoader.cpp:768: undefined reference to `cgGLGetLatestProfile'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadProfileArray(daeTArray<daeSmartRef <domFx_profile_abstract> >&, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o):/home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<cfxEffect*, std::allocator<cfxEffect*> >&, _CGcontext*)':
    src/cfxLoader.cpp:279: undefined reference to `DAE:AE()'
    src/cfxLoader.cpp:296: undefined reference to `COLLADA_ELEMENT_EFFECT'
    src/cfxLoader.cpp:317: undefined reference to `COLLADA_ELEMENT_EFFECT'
    src/cfxLoader.cpp:326: undefined reference to `cgGLSetManageTextureParameters'
    src/cfxLoader.cpp:307: undefined reference to `cgGLRegisterStates'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadEffects(DAE*, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxEffect*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxEffect*> > >&, _CGcontext*)':
    src/cfxLoader.cpp:141: undefined reference to `COLLADA_ELEMENT_EFFECT'
    src/cfxLoader.cpp:162: undefined reference to `COLLADA_ELEMENT_EFFECT'
    src/cfxLoader.cpp:172: undefined reference to `cgGLSetManageTextureParameters'
    src/cfxLoader.cpp:152: undefined reference to `cgGLRegisterStates'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxLoader.cpu.o): In function `cfxLoader::loadMaterialsAndEffectsFromFile(std::b asic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxMaterial*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxMaterial*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxEffect*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxEffect*> > >&, _CGcontext*)':
    src/cfxLoader.cpp:93: undefined reference to `DAE:AE()'
    src/cfxLoader.cpp:102: undefined reference to `daeErrorString(int)'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxShader.cpu.o): In function `cfxShader':
    src/cfxShader.cpp:67: undefined reference to `cgGLGetLatestProfile'
    src/cfxShader.cpp:72: undefined reference to `cgGLGetLatestProfile'
    src/cfxShader.cpp:67: undefined reference to `cgGLGetLatestProfile'
    src/cfxShader.cpp:72: undefined reference to `cgGLGetLatestProfile'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxBinaryUtil.cpu.o): In function `cfxBinaryUtil::readShader(cfxPass*, _IO_FILE*, unsigned int&)':
    src/cfxBinaryUtil.cpp:780: undefined reference to `cgGLGetLatestProfile'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxBinaryUtil.cpu.o):src/cfxBinaryUtil.cpp:784: more undefined references to `cgGLGetLatestProfile' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxBinaryUtil.cpu.o): In function `cfxBinaryUtil::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxMaterial*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxMaterial*> > >&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxEffect*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxEffect*> > >&, _CGcontext*)':
    src/cfxBinaryUtil.cpp:211: undefined reference to `cgGLSetManageTextureParameters'
    src/cfxBinaryUtil.cpp:193: undefined reference to `cgGLRegisterStates'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxBinaryUtil.cpu.o): In function `cfxBinaryUtil::save(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxMaterial*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxMaterial*> > > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, cfxEffect*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std:air<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, cfxEffect*> > > const&, bool)':
    src/cfxBinaryUtil.cpp:1312: undefined reference to `daeURI::daeURI(int)'
    src/cfxBinaryUtil.cpp:1312: undefined reference to `daeURI::~daeURI()'
    src/cfxBinaryUtil.cpp:1313: undefined reference to `daeURI::daeURI(char const*, bool)'
    src/cfxBinaryUtil.cpp:1314: undefined reference to `daeURI::validate(daeURI*)'
    src/cfxBinaryUtil.cpp:1315: undefined reference to `daeURI::getURI() const'
    src/cfxBinaryUtil.cpp:1333: undefined reference to `daeURI::~daeURI()'
    src/cfxBinaryUtil.cpp:1333: undefined reference to `daeURI::~daeURI()'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxData.cpu.o): In function `cfxDataSampler2D::apply(cfxParam*)':
    src/cfxData.cpp:639: undefined reference to `cgGLSetTextureParameter'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMaker::makeData(domFx_basic_type_common*, cfxEffect*)':
    src/cfxDataMaker.cpp:33: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMaker::makeData(domCg_param_type*, cfxEffect*)':
    src/cfxDataMaker.cpp:40: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMaker::makeData(domFx_annotate_type_common *, cfxEffect*)':
    src/cfxDataMaker.cpp:47: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerInt::makeData(domFx_annotate_type_com mon*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerBool::makeData(domFx_annotate_type_co mmon*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o):/home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMaker::makeDataForParam(domFx_basic_type_c ommon*, cfxEffect*)':
    src/cfxDataMaker.cpp:62: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMaker::makeDataForParam(domCg_param_type*, cfxEffect*)':
    src/cfxDataMaker.cpp:82: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMaker::makeDataForAnnotate(domFx_annotate_ type_common*, cfxEffect*)':
    src/cfxDataMaker.cpp:101: undefined reference to `daeElement::getTypeName() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `release':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeSmartRef.h:66: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerSampler2D::makeData(domFx_basic_type_ common*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `release':
    src/cfxDataMaker.cpp:740: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerSampler2D::makeData(domFx_basic_type_ common*, cfxEffect*)':
    /home/aluno/Desktop/Collada/COLLADA_FX/../COLLADA_DOM/include/dae/daeElement.h:360: undefined reference to `daeElement::release() const'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o):src/cfxDataMaker.cpp:743: more undefined references to `daeElement::release() const' follow
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerBool':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerBool1':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL1'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL1'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerBool2':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL2'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL2'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerBool3':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL3'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL3'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerBool4':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL4'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_BOOL4'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerInt':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerInt1':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT1'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT1'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerInt2':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT2'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT2'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerInt3':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT3'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT3'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerInt4':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT4'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_INT4'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerFloat':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_FLOAT'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_FLOAT'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerFloat1':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_FLOAT1'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_FLOAT1'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a(cfxDataMaker.cpu.o): In function `cfxDataMakerFloat2':
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_FLOAT2'
    /usr/include/c++/4.0.2/bits/stl_pair.h:90: undefined reference to `COLLADA_ELEMENT_FLOAT2'
    /home/aluno/Desktop/Collada/COLLADA_RT/platform/linux/viewer/../../../../COLLADA_FX/lib/libCfx.a

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771
    The viewer is a WIN32 application.

    The makefiles are there to build libCrt for applications.

    If you want to contribute a Linux viewer it would need CrtLinux.cpp to replace CrtWin.cpp and CrtWin.h for starters.

  3. #3
    Junior Member
    Join Date
    Jul 2006
    Location
    Pescara
    Posts
    3
    I have problems compiling COLLADA_DOM on Linux, instead

    mjordan:~/Applicazioni/Collada/COLLADA_DOM$ make
    make[1]: Entering directory `/home/mjordan/Applicazioni/Collada/COLLADA_DOM/src/1.4/dom'
    building ../../../lib-dbg/libcollada_dom.a - linux Debug
    "g++" -c domAccessor.cpp -c -g -D"_DEBUG" -o../../../tmp/linux/Debug/dom/domAccessor.o -I ../../../include/ -I ../../../include/1.4/
    ../../../include/dae/daeURI.h:324: error: extra qualification 'daeURI::' on member 'makeRelativeTo'
    make[1]: *** [../../../tmp/linux/Debug/dom/domAccessor.o] Error 1
    make[1]: Leaving directory `/home/mjordan/Applicazioni/Collada/COLLADA_DOM/src/1.4/dom'
    make: *** [src/1.4/dom] Error 2

    Which compiler version is supposed to work? I use g++ 4.1.0
    Am I doing something wrong?
    The use of Cobol cripples the mind. Its use, therefore, should be considered as a criminal offence.
    Edsger Wybe Dijkstra

  4. #4
    Junior Member
    Join Date
    Aug 2004
    Posts
    7
    This one's been spotted by Mr Withey on Sourceforge: http://sourceforge.net/tracker/index...38&atid=805424.
    It comes from using GCC 4.1.X. In theory the fix is in SVN.

  5. #5
    Member
    Join Date
    Dec 2004
    Location
    SCEA, Foster City
    Posts
    36
    I can confirm it works with latest SVN, I just tried to compile latest COLLADA-DOM using GCC 4.1.0.

    Just updated the COLLADA 1.4.1 Physics Viewer 0.5 for Linux using COLLADA-DOM+GCC 4.1.0
    http://www.continuousphysics.com/mediaw ... e=Download

    mjordan: as I'm Dutch like Edsger W. Dijkstra: his middlename is Wybe, instead of Wibe

  6. #6
    Junior Member
    Join Date
    Jul 2006
    Location
    Pescara
    Posts
    3
    Quote Originally Posted by erwin
    mjordan: as I'm Dutch like Edsger W. Dijkstra: his middlename is Wybe, instead of Wibe

    Uh-oh, bad error

    Thanks guys, I solved my problem
    The use of Cobol cripples the mind. Its use, therefore, should be considered as a criminal offence.
    Edsger Wybe Dijkstra

  7. #7
    Junior Member
    Join Date
    Feb 2007
    Location
    San Diego
    Posts
    3

    COLLADA_RT - Linux

    I've been having problems getting COLLADA_RT to compile on linux. (ubuntu)

    I've tried the latest tarball, and the latest from svn, both have a bunch of compile / link problems. I've worked through getting the compile to complete, and it appears that some one has actually made a simple viewer, but it does not seem complete.

    The viewer comes up and makes a glut/opengl screen, but nothing shows. -- it looks like maybe the default camera is overridden with a generic one that is looking at nothing. I can continue to work through it, but it seems rather incomplete

    Q: is this going to be supported?
    If yes, when do you expect it to work?

    -- if no, then I guess I'll just have to finish it myself.

  8. #8
    matador
    Guest
    I've just experienced the same trouble (bunch of errors while compiling, and then default camera automatically loaded while relevant cameras are defined in the .dae)
    If you have found a solution since, can you tell me how?
    thx

  9. #9
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    RT from svn should compile cleanly on Linux. There are a couple things to note:

    (1) RT requires the DOM, FX, and external-libs directories, which you can also get on SourceForge. These directories should be named COLLADA_DOM, COLLADA_FX, and external-libs (all case sensitive since we're on Linux), and should be placed adjacent to RT in the folder hierarchy. So you might have a folder "collada" that contains COLLADA_DOM, COLLADA_FX, COLLADA_RT, and external-libs from SourceForge.

    (2) RT on Linux requires the Linux version of CG 1.5.

    Keeping that in mind, the latest RT code in the svn repo should compile cleanly.

    Now the real problem with RT on Linux is simply that it isn't supported very well. On Windows, you can move the camera by clicking and dragging the mouse. On Linux that doesn't work. Also, I don't think RT on Linux loads materials correctly.

    There's no good reason for this of course. The Linux support in RT was hacked together and then forgotten about. It was never tested properly by the RT developer. He's on vacation until next year so it's unlikely that this is going to be addressed anytime soon unfortunately. If anyone wants to contribute some fixes for RT on Linux, feel free to email me at x@y and I'll incorporate the fixes into the code on SourceForge.

    x = steven_thomas
    y = playstation.sony.com

  10. #10
    Junior Member
    Join Date
    Sep 2007
    Posts
    5
    I just tried compiling it myself after following the instructions mentioned previously, and got the following errors:

    imran@ubuntu:~/COLLADA_RT/platform/linux/viewer$ make
    ccache g++ -c -g -O2 -std=c++98 -fno-exceptions -W -Wall -I/home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_DOM/include -I/home/imran/COLLADA_RT/platform/linux/viewer/include -I/home/imran/COLLADA_RT/platform/linux/viewer/include/1.4 -I/home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_FX/include -I/home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_DOM/include/1.4 -I/home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_DOM/include -I../../include -I../../include/1.4 -I/home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_FX/include -I/home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_DOM/include/1.4 -DCRT_WORDS_BIGENDIAN -DCOLLADA_DOM_VERSION -DCRT_PLATFORM_INCLUDE=\" CrtLinux.h\" -DCFX_PLATFORM_INCLUDE=\"cfxLinux.h\" -MMD -o objs/mainPC.cpu.o mainPC.cpp
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtData.h: In constructor 'CrtOrient::CrtOrient()':
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtData.h:595: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(size_t, const _Tp&, const _Alloc&) [with _Tp = CrtTransform*, _Alloc = std::allocator<CrtTransform*>]'
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtCamera.h: In constructor 'CrtInstanceCamera::CrtInstanceCamera()':
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtCamera.h:71: warning: 'CrtInstanceCamera::z' will be initialized after
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtCamera.h:35: warning: 'float CrtInstanceCamera::pan'
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtCamera.h:32: warning: when initialized here
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h: In constructor 'CrtInstanceMaterial::CrtInstanceMaterial()':
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h:40: warning: 'CrtInstanceMaterial::targetcfxMaterial' will be initialized after
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h:37: warning: 'std::string CrtInstanceMaterial::symbol'
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h:35: warning: when initialized here
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h: In constructor 'CrtInstanceGeometry::CrtInstanceGeometry()':
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h:54: warning: 'CrtInstanceGeometry::AbstractGeometry' will be initialized after
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h:53: warning: 'CrtNode* CrtInstanceGeometry::Parent'
    /home/imran/COLLADA_RT/platform/linux/viewer/include/Crt/CrtGeometry.h:52: warning: when initialized here
    /home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_FX/include/cfxLinux.h: In function 'void cfxPrint(const char*, ...)':
    /home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_FX/include/cfxLinux.h:40: error: 'va_start' was not declared in this scope
    /home/imran/COLLADA_RT/platform/linux/viewer/../COLLADA_FX/include/cfxLinux.h:42: error: 'va_end' was not declared in this scope
    mainPC.cpp: In function 'void NextCamera()':
    mainPC.cpp:98: warning: comparison between signed and unsigned integer expressions
    make: *** [objs/mainPC.cpu.o] Error 1

    any suggestions on how to make this work? I've got the collada fx & dom directories, and installed the cg library.

    thanks

Page 1 of 2 12 LastLast

Posting Permissions

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