I'm curious to know if anyone has been building OIIO for OSX using non-standard 
locations for dependent libraries (and not using the external 
THIRD_PARTY_TOOLS_HOME)? I usually build OIIO on Linux, but for giggles decided 
to compile on my macbook and I'm running into some pathing issues. 
Unfortunately, I'm not that cmake savvy.

Basically, I modify the top-level Makefile with:

MY_CMAKE_FLAGS += -DILMBASE_HOME=/opt/3ps/ilmbase/1.0.1 
MY_CMAKE_FLAGS += -DOPENEXR_HOME=/opt/3ps/openexr/1.6.1

Configure succeeds (prints paths to library locations found, etc). Build fails 
with complaints about 'OpenEXR/half.h' not found. I've also configured using 
ncurses ccmake and generated new makefiles. That fails as well (even though 
there were more explicit paths that could be set for ILMBASE and OPENEXR).

I'm in RB0.10.

It's too bad Kitware doesn't sell an ebook version of the Mastering CMake. :(

-s
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to