Hello Jan,

you just have to include <memory> header file in dae.h. After adding this
line of code I was able to compile the actual COLLADA version under Xubuntu.

Regards,

Oleg

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Jan Ciger
Gesendet: Montag, 3. November 2008 22:03
An: OpenSceneGraph Users
Betreff: [osg-users] COLLADA on Linux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am sorry if this was asked before, but I didn't find it in the
archives. While trying to build the COLLADA DOM 2.1, I am getting this
compilation error right away:

$ make
Compiling src/dae/daeAtomicType.cpp to build/linux-1.4/obj/daeAtomicType.o
In file included from include/dae/daeDatabase.h:18,
                 from src/dae/daeAtomicType.cpp:20:
include/dae.h:195: error: ISO C++ forbids declaration of 'auto_ptr' with
no type
include/dae.h:195: error: invalid use of '::'
include/dae.h:195: error: expected ';' before '<' token
make: *** [build/linux-1.4/obj/daeAtomicType.o] Error 1

This is with gcc 4.3.2

Does anyone know how to fix this? I used to build COLLADA without
problems before, but with older version of gcc.

Regards,

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFJD2bzn11XseNj94gRAmEeAKDxFAa0lBph0WhhWaHp79XrcBM+9wCgmBoq
J8EMjRPUfnQjO2OyNoIrGUQ=
=fb9A
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to