Hi everybody,
I am currently in the process of updating our OIIO builds on Windows. I
have it all working but some questions are left:
* ILMBASE_VERSION, OPENEXR_VERSION are marked as advanced in the cmake
find files, but even if I turn on advanced in cmake-gui they never show
up, its the same on linux, I noticed this because I updated to 1.7.1
version of OpenEXR and needed to change the cmake file instead.
* the THIRD_PARTY_TOOLS_HOME should hold the path to the external
packages one would like to use. Right now on windows we need to add all
the library subfolders like THIRD_PARTY_TOOLS_HOME\jpeg-8d to the
CMAKE_PREFIX_PATH, so cmake can find them if they are not in the PATH
already (which is not the case in I would say 99% of all installations,
because in windows world they can really be anywhere). I could imagine
to enhance this by automatically adding all THIRD_PARTY_TOOLS_HOME
subfolders to the CMAKE_PREFIX_PATH.
* if the THIRD_PARTY_TOOLS_HOME contains backslashes (which is the
standard on windows like D:\libraries\oiio\externals) cmake would spit
out a warning about unescaped character sequences, I guess I could fix
that, or maybe someone else has already.
* The newest version of openexr 1.7.1 does not have the OpenEXRConfig.h
in its deployment any more. But FindOpenEXR.cmake uses it in line 144 to
# Locate the header files
PREFIX_FIND_INCLUDE_DIR (OpenEXR
OpenEXR/OpenEXRConfig.h OpenEXR_include_paths)
I propose to change this to use ImfArray.h, which is present in both
versions old (1.6) and new (1.7)
* The final question is more general about linking. Lets assume I build
libjpeg without debug information, and libtiff with debug information.
Would I be able to link a debug version of OIIO to these libraries even
if one is without debug info. The reason why I am asking is: For BOOST,
OpenEXR, Qt we get cmake variables for optimized libs and debug libs.
For jpg, tiff, zlib, png and so on we get only one variable,
selectingjust whats in the THIRD_PARTY_TOOLS_HOME\jpeg-8d\lib folder. To
me this looks strange and dirty, but I was able to build oiio with mixed
configuration dependencies on windows. Does this work in unix world?
Cheers
Sebastian
--
Sebastian Elsner - pipeline td - r i s e | fx
t: +49 30 20180300 [email protected]
www.risefx.com
r i s e | fx GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org