[Bf-committers] Platform maintainers: update of collada libraries

Gaia gaia.clary at machinimatrix.org
Thu Mar 28 19:37:45 CET 2013


Hi,

Please update the platform libraries for Collada to the newest
revision from the OpenCollada clone repository:

https://github.com/gaiaclary/OpenCOLLADA

Note: OpenCollada creates a specific directory structure:

include/opencollada/<modules>
lib/opencollada/<libs>

I have updated the blender build system to use the same structure for 
Windows builds.
Furthermore i have updated the cmake configuration in the clone 
repository to make
the opencollada library build better suited to blender:

Quick install instructions for cmaking opencollada:

1.) Download openCollada from https://github.com/gaiaclary/OpenCOLLADA
2.) start the Cmake-gui and configure as follows:

CMAKE_CXX_FLAGS_DEBUG   = /D_DEBUG /MTd /Zi /Ob0 /Od /RTC1
CMAKE_CXX_FLAGS_RELEASE = /MT /O2 /Ob2 /D NDEBUG
CMAKE_C_FLAGS_DEBUG     = /D_DEBUG /MDd /Zi /Ob0 /Od /
CMAKE_C_FLAGS_RELEASE   = /MT /O2 /Ob2 /D NDEBUG
CMAKE_DEBUG_POSTFIX     = _d
CMAKE_INSTAL_PREFIX     = $(pathToBlenderPlatformLibs)/opencollada

3.) build the INSTALL target for the Debug and Release configurations of the
opencollada libraries. If configured appropriately (see above) then the 
installer
will install to the correct folders in the blender lib directory.

4.) Special note for Windows:
if the 2 libraries pcre.lib and xml.lib are missing in blender's
lib directory after the opencollada libraries have been built,
then you find them in the folder where the opencollada
libraries have been built (i use cmake-opencollada for this):

cmake-opencollada/lib/Debug/pcre_d.lib
cmake-opencollada/lib/Debug/xml_d.lib
cmake-opencollada/lib/Release/pcre_d.lib
cmake-opencollada/lib/Release/xml_d.lib

Now Blender should build with no errors.

thanks,
cheers
Gaia


More information about the Bf-committers mailing list