Need help with bundled lib issue for OpenColorIO

Richard Shaw hobbes1069 at gmail.com
Thu Nov 17 14:49:26 UTC 2011


I'm working on packaging OpenColorIO for Fedora and ran into an issue
with bundled libraries.

The project is currently statically compiling in yaml-cpp, tinyxml,
and lcms. Upstream doesn't have a problem with unbundling lcms, but is
not sure about the other two, here's his explination:

hmmm.... some of the things in ext are not exposed in the public OCIO
API; and not being a build expert I'd prefer to not expose additional
runtime library dependencies. (tinyxml + yamlcpp, for example).

With your implementation, on a fedora build that had one of these
libraries installed, would you link to the xml / yaml so(s), or would
it use the .a statically at build time? I'd hate to have the
dependancies in the core library change depending on build options.
What if I pulled in these two libraries into 'core' as source files?
(it used to be this way, actually). I'm fine with picking up lcms, etc
externally. But i'd like core to be self-contained...
---

Are there technical reasons these libraries can not be unbundled?

Thanks,
Richard


More information about the devel mailing list