Hi All, I’m having some weird interaction between OIIO and boost’s cmake
package files. I have a prefix area (let’s call it /prefix/area) which I
install all of OIIO’s dependencies into including boost 1.70.0.
Boost creates files and dirs in /prefix/area/lib/cmake. When I point OIIO at
the prefix area for building and let it find boost by itself it does, but then
fails in OIIO’s externalpackages.cmake line 121. That line is attempting to
dereference the variable Boost_INCLUDE_DIRS which is set to nothing. The weird
thing is that find_packages() does successfully say it found boost. I assume
something has changed in 1.70.0 with how they’re writing the cmake files but my
cmake-fu is very poor.
To get around it I’m passing the Boost_* variables directly to cmake since
externalpackages.cmake mercifully allows that as an option.
My questions are:
Any issues with using 1.70.0 or does everybody still use 1.53?
What are the expected values of the Boost_* variables? I’m passing:
-DBoost_VERSION=1.70.0
-DBoost_LIBRARIES='boost_filesystem;boost_system;boost_thread’
-DBoost_INCLUDE_DIRS=$PREFIX/include
-DBoost_LIBRARY_DIRS=$PREFIX/lib
What should BOOST_ROOT be set to? Seems like OIIO doesn’t care if it’s set.
Thanks!
-Jim
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org