Hey all,

Simon, did VS2012 work for you on OIIO and all the dependencies? Am 09.06.2014 09:31, schrieb Simon Smith:
Hi Frederik,

Having just compiled OIIO for Windows 64bit (dynamic libraries) only last week from scratch, I can thoroughly recommend using referring to Sebastian Elsner's notes here (http://piratepad.net/0rqEZFwrKg). These got me 95% of the way there. (Thanks for them Sebastian!)

I have just pushed a major update to my piratepad Simon mentioned. Sorry Simon, I am a bit too late for you...


The main thing is that you do not use any precompiled libraries.
Get all the source that you need, choose your compiler (VS 2012 in my case), and compile away :) Sebastian's instructions include some very useful compilation notes on some of the trickier components.

Right now the most tricky one was OpenEXR (see notes on that)


The missing 5% for me was getting CMakeGUI to find all the libraries correctly once built - this was just a case of setting all the paths manually. If I anything official was made of these notes/results, it would be getting that last set right. ie, the correct hierarchy of lib's, headers, and THIRD_PARTY_ROOT defines in CMake.

This has been fixed with the approach I take now. I use a batch file like process where all paths are saved in variables and passed to oiio cmake at the end.


Hope this helps at any rate ....

Best Regards,
   Simon
__________________________
*
Simon C. Smith*
*Co-founder & CTO*
*Lightmap Ltd*
Creators of HDR Light Studio software

Web site: www.hdrlightstudio.com <http://www.hdrlightstudio.com/>
Telephone: +44 1636 302013
Skype: planet-si
Follow our Facebook page <https://www.facebook.com/pages/HDR-Light-Studio/186662881362666>
__________________________
Registered in England and Wales  06879016
International House, Brunel Drive, Newark, NG24 2EG. UK

On 8 Jun 2014, at 18:25, Andrew Wood <[email protected] <mailto:[email protected]>> wrote:

I actually just tried and failed to build for windows too recently.

I found this old thread which has a link to the external binaries for THIRD_PARTY_ROOT in the format that is expected: http://thread.gmane.org/gmane.comp.lib.openimageio.devel/608/focus=637

haven't got boost linking though. Let me know if you figure out which b2/bjam args to use to get it to work.

I'd be happy to help write up new instructions for the webpage once we get it all working.


On Sun, Jun 8, 2014 at 12:06 AM, Fredrik Averpil <[email protected] <mailto:[email protected]>> wrote:

    Thanks Larry,

    I'm trying the latest boost then (1.55.0).

    How about that "the precompiled external libraries"?
    Those feel a bit outdated too, eh?
    So I'm guessing there aren't any shortcuts here. I'll have to
    compile glew, gtest, ilmbase, jasper, jpeg, libpng, opener,
    openjpeg, tab, tiff and zlib prior to building oiio, correct?

    By the way, I'm building with
    CMAKE_CXX_COMPILER is C:/Program Files (x86)/Microsoft Visual
    Studio 9.0/VC/bin/x86_amd64/cl.exe
    CMAKE_CXX_COMPILER_ID is MSVC

    That should work, right?


    Regards,
    Fredrik



    On Sun, Jun 8, 2014 at 8:39 AM, Larry Gritz <[email protected]
    <mailto:[email protected]>> wrote:

        The instructions are definitely outdated.

        Newer boost should be fine, if that makes things easier for you.


        On Jun 7, 2014, at 11:35 PM, Fredrik Averpil
        <[email protected]
        <mailto:[email protected]>> wrote:

        Hi,

        I'm going to give my first go at building oiio and I'm
        following this instruction for building on Windows 7 64-bit
        with Visual Studio 2008:
        
http://openimageio.org/wiki/index.php?title=Building_OpenImageIO_on_Windows

        The instruction I'm reading says you're supposed to use
        precompiled Boost 1.38 binaries but the download link isn't
        working: http://www.boostpro.com/download

        If heading over to Sourceforge, I can't find version 1.38:
        http://sourceforge.net/projects/boost/files/boost-binaries/
        ...and I can't find anything related to "Multithread Debug,
        DLL and Multithread" (as stated in the instructions)...

        Does anyone have any recommendations on how I should move
        forward?
        Are these instructions outdated?

        Regards,
        Fredrik Averpil


        --
        Larry Gritz
        [email protected] <mailto:[email protected]>




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



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


_______________________________________________
Oiio-dev mailing list
[email protected] <mailto:[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

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

Reply via email to