Hey everyone,

This is an old thread but wanted to report back that Sebastian's
instructions are very good.  I was able to get oiiotool.exe mostly working
 (For example, convert from a Tiled EXR to a Scanline is fine.  But resize
a Tiff to a Jpeg equals crash!)

Beyond that what tripped me up is trying to use someone else's precompiled
libs when I had trouble getting something to compile.  In the end, this
"shortcut" just caused more trouble.  Visual Studio is very picky that
everything is compiled with the same version.  If there is any question
what something was compiled with, do a text search for "Microsoft.VC"
through the contents of lib files to confirm which version of Visual Studio
it depends on.  This article explains it:
http://www.virtualdub.org/blog/pivot/entry.php?id=296

I ended up using VS2008  (vc9) ...   I had to go back to jpeg-8a to get
source that included a vc9 project.  Oh and I couldn't get static linking
against the DLLs working... so I have to dump all the boost, OpenEXR, etc
DLLs in the folder next to the EXE.


Hope this info helps!  and Thanks to Sebastian!
-Paul


-------- Original Message --------  Subject: Re: [Oiio-dev] Problems
building OIIO on Windows  Date: Wed, 20 Jun 2012 08:44:47 +0200  From:
Sebastian
Elsner <[email protected]> <[email protected]>  Reply-To: OpenImageIO
developers <[email protected]>
<[email protected]>  To:
OpenImageIO developers
<[email protected]><[email protected]>

Hello,

I am currently working on some general build instructions and expecially
x64 instructions, but its quite some work. Find here
http://piratepad.net/0rqEZFwrKg what I have now, actually the most
important step - OIIO itself - is missing, but will follow in the next view
days. If you want correct error or add stuff in the piratepad. Also, please
report back, how this worked for you.
To get cmake to find everyting on windows is a lot of manual work right
now, because on windows the libraries might be everywhere.... I have made
some suggestion on how to imporve this here on the list, but I also did not
get responsen, because most of the guys here are on Linux.

Cheers

Sebastian

Am 20.06.2012 00:15, schrieb Nicolas Burtnyk:

Hello OIIO list,

 Trying to build OIIO on windows.  I followed the directions here
https://sites.google.com/site/openimageio/building-oiio-on-windows, but I'm
getting all sorts of errors in CMake.
Basically CMake can't find most of the external dependencies.
I'm starting the tedious process of adding CMake variables for each
external lib, but surely there's a better way?  Presumably there's some
CMake logic to find those libs that's just broken?  Is anyone working on
this?  I am a complete CMake noob, otherwise I would try to help.
Also what about building for windows x64?  Is there a external dependencies
zip for x64 available?

 Thanks,

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

Reply via email to