Hi Andreas, I am glad that you got it working! Please, see some notes below:
El Jueves, 9 de Noviembre de 2006 21:12, Andreas Goebel escribió: > Andreas Goebel schrieb: > > Hi, > > > > thanks that you want to help me. Ok, lets dig into it: Now that I know > > that I have to build collada, I will start with those problems: > > - There doesn´t seem to be a gnu-makefile provided. How would one > > build this for linux? In the documentation, only VisualC++ is mentioned. > > > > If I know where to get that makefile (it seems to work under MacOS X, > > too, soo it must be quite standard), I can try to build collada. > > Hi, > > thanks again for your help. I have solved all issues, this is how to do it: > - you need libxml2, which builds with ./configure make makeinstall in > msys without problems > - you need collada dom, which you can get from sourceforge. > First of all: The makefile_PC is the makefile. Because of PC i thought > of windows ... I simply ran "make" in the command line. By reading the contents of Makefile, I think it defaults to call Makefile_PC, so it should not be neccessary to call Makefile_PC directly, just do "make". > There are errors in the makefiles: > - in some of the subprojects, the include-dir is followed by a slash > (/), which probably doesnt matter on linxu, but does on msys. Remove the > slash. > - the include dir for libxml2 is set to usr/include, but it is usually > installed in /usr/local/include OR you can add in the definitions found in "build" CCOPTS += -I/usr/local/include > - the whole include-dir must be copied manually (cp -r * > /usr/local/include) - the .a-files must go to the mingw/lib folder (or you > would have to change the standard osg makefiles which don´t find files in > /usr/local/lib - the libxml2.a and .la - files must go to mingw/lib too if > you don´t want to change the osg makefiles. > > With those prerequisites osgDae builds fine. > > I can post this to the wiki if you want on the weekend. libxml2 and > collada dom should be added to the dependencies and this instruction to > the mingw platformspecific. These two libraries are required in any environment, not just mingw, I would say. > Now I have problems with the generated .dae, but this is another story. > I am having problems with generated files, specifically with Blender. OSG loads them fine, but in Blender only the coordinate systems are exported, not the mesh (the importer version is 1.4.0 while OSG's DAE are 1.4.1). Is this the same problem as yours? Regards, Alberto _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
