Incidentally, I'm not intentionally ignoring your questions, Jolly. I'm just
not a Windows user, don't even have access to a Windows machine to test with,
and thus have no idea what to tell you. But I know that others have made it
work on Windows (including commercial products and other open source projects),
so it's certainly possible.
If anybody is able to generate a definitive set of instructions for how to do
it painlessly, I'm happy to post those on our Wiki (or give you write access to
the wiki).
-- lg
On Jan 15, 2015, at 12:41 AM, Simon Smith <[email protected]> wrote:
> Hi Emmanuel,
>
> I fairly recently compiled OIIO (v1.4) across Windows/OSX/Linux so can try to
> give you some pointers.
>
> The main thing under Windows is that you want to compile *all* the
> dependencies yourself, then you are far less likely to have any linker issues
> relating to c-runtime libraries later in the process.
>
> I compiled under Visual Studio 2012 and used the following dependencies.
> Boost 1_55_0
> glew 1.10.0
> jpeg 6b
> lpng 1610
> tiff 4.0.3
> zlib 1.2.8*
> OCIO 1.4 (optional - uses many of the above dependencies though)
> OpenEXR 2.1.0
>
> (*)Note that there is a problem in ZLib when compiling on a Windows 8 (i.e.,
> above Win7) platform in that it will pull in Win8 runtime libraries and link
> to CreateFile2, which is a call in kernel32.dll not present in Win7. To fix
> that I removed the #if defined(WINAPI_FAMILY_PARTITION) … set of defines from
> line 29-33 of iowin32.c.
>
> A few of the above dependencies use CMake to configure, others have
> VisualStudio solutions already, others are just the classic configure/nmake
> process.
>
> If there are any specific libs that you have trouble getting to compile let
> me know and I'll dig out my notes on how I got it all running.
> Suffice to say that it took some time to get going, but we have it fully
> working now.
>
> I must reiterate a big thanks to the people on this list for getting it
> working for me though, so this is the very least I can do to try to help
> others on the list in similar positions that I was - so I hope it's of some
> use!
>
>
> Best Regards,
> Simon
>
>
>
>
> On 9 Jan 2015, at 09:20, Jolly Emmanuel wrote:
>
>> Hi all,
>>
>> I’ve been struggling the last days, trying to compile oiio for windows but I
>> couldn’t succeed yet.
>> I also can’t get access to the archives of this mailing list.
>> How shall I do to compile oiio. I don’t need the graphical viewer and don’t
>> want to use the Qt stuffs.
>> I only want to use oiio for opening some dpx, or tiff files (I need to
>> compile it in 32 and 64 bit for Windows 7).
>>
>> Thanks for your help
>> Emmanuel Jolly
>> _______________________________________________
>> 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
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org