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

Sergey Sharybin sergey.vfx at gmail.com
Fri Mar 29 16:08:46 CET 2013


I do feel worried about this. Seems directory layout changed in comparison
with previous libs version, but couldn't see changes in collada repo itself.

And the thing here is: think i've used the same directory layout as in
fedora repo and wasn't able to compile blender with the same directory
layout as was using before.

Could be some pain for linux packages manitainers.. Anyone here to around
whether our new directory layout matches structure in newer opencollada
packages for distros?


On Fri, Mar 29, 2013 at 12:37 AM, Gaia <gaia.clary at machinimatrix.org> wrote:

> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
With best regards, Sergey Sharybin


More information about the Bf-committers mailing list