Awesome guide, thanks!

I'll wrestle a bit more with your pointers and see if I get it
working, I'll drop you a line if I get stuck again.

Thanks!
Jens

2011/12/28 Mikael Sundell <[email protected]>:
> Hi - I've got a modified thirdparty setup running on OS X 10.5+. The
> svn trunk will not build on OS X as-is.
>
> 1. Download and install all required oiio thirdparty libraries into
> the same location $build_dir/lib $build_dir/include etc.
>
> 2. Download Qt in case you want to build oiio with iv, make sure you
> add QTDIR + $QTDIR/bin to your path variable (for CMAKE find library)
>
> 3. To get zlib, png, tiff and jpeg working you need set
> CMAKE_PREFIX_PATH, see INSTALL. It basically tells CMAKE a prefix
> where to find the libraries (needed on OS X).
>
> 4. Then build:
>
> Something similar to:
>
>        cd OpenImageIO-oiio-3ba6bef &&
>        export THIRD_PARTY_TOOLS_HOME=${build_dir} &&
>        export CMAKE_PREFIX_PATH=${build_dir} &&
>        make
>            INSTALLDIR=${build_dir}
>            dist_dir=./
>            ${build_options} &&
>        make install
>
> 5. Depending on your release process you may also need to modify the
> build executables and libraries with install_name_tool.
>
> In case you're interested I could put it all up on github.
>
> Mikael
>
> On Wed, Dec 28, 2011 at 6:45 PM, Jens Olsson
> <[email protected]> wrote:
>> Hi,
>> I'm trying to build 0.10 on macosx, but I'm getting stuck building the
>> externals. Is anyone actively compiling oiio on macosx and have any
>> hints about possible pitfalls? I'm on Mac OS X 10.6.
>>
>> I'm using the externals checkout from
>> http://svn.openimageio.org/external/trunk, just running make in the
>> main directory.
>>
>> It runs for quite a long while, but then it fails to find OpenEXR
>> libraries and Tiff libraries when copying to dist directory, I've
>> tracked down a few errors in the compilation to c++ compiler errors
>> about -Wno-long-double not being understood in the case of OpenEXR,
>> but this was just something I saw when digging quickly through the
>> log.
>>
>> Any help would be greatly appreciated!
>>
>> Cheers,
>> Jens Olsson
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to