If you are building for Linux from the 'collada-dom/trunk' level, type command
make -f Makefile.linux
Please see Readme.txt at the 'collada-dom/trunk' level for more details.
I am using Ubuntu 8.04 with gcc version 4.2.4. I am not sure what's causing your problem #3, but please do a clean build for linux first and see if the problem goes away.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've just experieced some problem:
1)
nicola-laptop trunk $ make os=linux
make os=ps3 project=dom -C dom
make[1]: Entering directory `/devel/trunk/dom'
Compiling src/dae/daeArray.cpp to build/ps3-1.4/obj/daeArray.o
make[1]: ppu-lv2-g++: Command not found
make[1]: *** [build/ps3-1.4/obj/daeArray.o] Error 127
make[1]: Leaving directory `/devel/trunk/dom'
make: *** [all] Error 2
I need to patch the file manually
2) make
make os=linux project=dom -C dom
make[1]: Entering directory `/devel/trunk/dom'
Linking build/linux-1.4/libcollada14dom.so.2.1
/usr/bin/ld: cannot find -lminizip
collect2: ld returned 1 exit status
make[1]: *** [build/linux-1.4/libcollada14dom.so.2.1] Error 1
make[1]: Leaving directory `/devel/trunk/dom'
make: *** [all] Error 2
I've to run make from the dom directory
3)
include/Crt/CrtAnimation.h:23: error: ‘string’ was not declared in this scope
This fix my problem:
Index: rt/include/Crt/CrtData.h
--- rt/include/Crt/CrtData.h (revision 793)
+++ rt/include/Crt/CrtData.h (working copy)
@@ -13,6 +13,7 @@
#include <math.h>
#include <stddef.h>
+#include <string>
#include <string.h>
#include <vector>
gcc version is: gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
Collada DOM from trunk at revision 793
There are also a lot of warning.
I had the same problem compiling collada dom from trunk with gcc-4.3.2 on gentoo.
It would be nice to fix it directly in the svn trunk.
Hi,
If you are building for Linux from the 'collada-dom/trunk' level, type command
make -f Makefile.linux
Please see Readme.txt at the 'collada-dom/trunk' level for more details.
I am using Ubuntu 8.04 with gcc version 4.2.4. I am not sure what's causing your problem #3, but please do a clean build for linux first and see if the problem goes away.
I've just tried with a clean build (fresh svn checkout). Problem #3 persist.
I'm on ubuntu 8.10, can you try with the same ubuntu and gcc ?
Regarding problem #3, I have upgraded my ubuntu to 8.10 and replicated the problem. I have checked in the fix to svn trunk.
Thanks for the input.