Our integration of OCIO with oiiotool was quite rough - it was just a place-holder until the official version was done.

In terms of my initial question, all of the OIIO installation docs imply that I should only ever be calling 'make' directly, and not 'cmake' - it seems like OCIO_PATH is something that should be passed by 'make' through to 'cmake'


Hugh Macdonald
*n**vizible**– **VISUAL EFFECTS*

hugh.macdon...@nvizible.com <mailto:hugh.macdon...@nvizible.com>
+44(0) 20 3167 3860
+44(0) 7773 764 708

www.nvizible.com <http://www.nvizible.com/>

On 11/12/11 19:17, Jeremy Selan wrote:
Yah, I'll try to make this all clearer before we push to master. (it's not quite ready yet, I'm still working on addressing lg's comments). USE_OCIO=1 is the default, and shouldnt be necessary.

OCIO_PATH should be a directory that has (at least) 2 subdirs, 'include' and 'lib'. If for some reason these dirs are in non-standard locations, you can specify them individually instead using OCIO_INCLUDE_PATH and OCIO_LIBRARY_PATH.

Please try these and let me know if they dont work? (you make need to make clean first).

Hugh - I also know you did some work on your branch integrating OCIO with oiiotool. I havent replicated this work yet, but I'm hoping to do so very soon.

-- Jeremy


On Sun, Dec 11, 2011 at 8:49 AM, Hugh Macdonald <hugh.macdon...@nvizible.com <mailto:hugh.macdon...@nvizible.com>> wrote:

    Hi,

    I'm sure I'm missing something incredibly obvious here, but I seem
    to be unable to compile OIIO with OCIO support.

    I've got Jeremy's ocio branch of OIIO, and running 'make help'
    mentions:

      make USE_OCIO=1 ...         Specify whether to build with
    OpenColorIO support

    (Incidentally, this line isn't listed in the INSTALL file - that
    seems to be as the master branch)

    Right now, I've got OCIO installed in a custom location (for
    testing purposes, /tmp/ocioinstall/)


    If I run 'make USE_OCIO=1', then, as I've not told it where to
    find OCIO, it gives me:

    -- OCIO not found. Specify OCIO_PATH to locate it
    -- Skipping OpenColorIO support

    However, my issue here is *where* to specify OCIO_PATH.

    I've tried setting it as an environment variable, and also running
    'make USE_OCIO=1 OCIO_PATH=/tmp/ocioinstall', but both of these
    continue to say the same thing.


    It feels like I'm missing something really obvious here. Any tips?


    Cheers

    Hugh Macdonald
    *n**vizible** – VISUAL EFFECTS
    *
    hugh.macdon...@nvizible.com <mailto:hugh.macdon...@nvizible.com>
    +44(0) 20 3167 3860 <tel:%2B44%280%29%2020%203167%203860>
    +44(0) 7773 764 708 <tel:%2B44%280%29%207773%20764%20708>

    www.nvizible.com <http://www.nvizible.com/>


    _______________________________________________
    Oiio-dev mailing list
    Oiio-dev@lists.openimageio.org <mailto:Oiio-dev@lists.openimageio.org>
    http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org



_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to