[Bf-committers] bulding Collada SOC branch
Randall Rickert
randall at rickert-digital.com
Wed Aug 26 08:20:12 CEST 2009
Thanks for the replies. I had to make two small things to get
opencollada built:
The first thing was:
------------------
Index: GeneratedSaxParser/src/GeneratedSaxParserExpatSaxParser.cpp
===================================================================
@@ -16,6 +16,7 @@
#undef XML_STATIC
#include <iostream>
+#include <cstdio>
#include "GeneratedSaxParserParser.h"
-----------------
This is I think because of my newer GCC version (4.4) having cleaned up
some header files.
The second was:
mkdir opencollada/Externals/UTF/obj
Otherwise there was a file not found error when trying to create the
object file.
So opencollada is successfully built, but now I have trouble getting
scons to find the opencollada header files when building blender. It
dies with messages like this:
source/blender/collada/DocumentExporter.cpp:39:28: error:
COLLADASWAsset.h: No such file or directory
I had this problem before and fixed it, but there must be something I'm
missing this time. The relevant section of my config file looks like
this:
--------------
WITH_BF_COLLADA = True
BF_COLLADA = '#source/blender/collada'
BF_COLLADA_INC = '${BF_COLLADA}'
BF_COLLADA_LIB = 'bf_collada'
BF_OPENCOLLADA = '#source/../../opencollada'
BF_OPENCOLLADA_LIB = 'OpenCollada'
BF_OPENCOLLADA_LIBPATH = '#source/../../opencollada'
--------------
Doesn't the value of BF_OPENCOLLADA determine where it will look for the
opencollada header files? I also tried using absolute paths, but still
the same result. I also tried specifying BF_OPENCOLLADA on the scons
command line, but still the same. Suggestions?
Thanks
More information about the Bf-committers
mailing list