On 14/01/2015 10:06, Larry Gritz wrote:

I've created an OpenImageIO "RB-1.5" branch, and tagged its current
head as "Release-1.5.8beta1".

Now is the time to make sure you can build successfully on your
platform of choice (and please send patch suggestions for how to fix
anything broken), so we can be confident of clean builds to have a
final release.

This is to work with OSL 1.6.x only?

Just done testing builds on FreeBSD - two small things

[ 83%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/ffmpeg.imageio/ffmpeginput.cpp.o In file included from /usr/ports/graphics/openimageio/work/OpenImageIO-oiio-7aace95/src/ffmpeg.imageio/ffmpeginput.cpp:33:
In file included from /usr/local/include/libavformat/avformat.h:255:
In file included from /usr/local/include/libavcodec/avcodec.h:31:
In file included from /usr/local/include/libavutil/samplefmt.h:24:
In file included from /usr/local/include/libavutil/avutil.h:289:
/usr/local/include/libavutil/common.h:30:2: error: missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS
#error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS

This falls similar to __STDC_LIMIT_MACROS which we added to CXXFLAGS earlier.



If I enable USE_CP11 with clang 3.4.1 I get the following
(would normally leave it off for now, just testing) -

[ 21%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_opencv.cpp.o /usr/ports/graphics/openimageio/work/OpenImageIO-oiio-7aace95/src/libOpenImageIO/imagebufalgo_opencv.cpp:75:10: error: case value evaluates to 2147483664, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
    case IPL_DEPTH_16S :
         ^
/usr/local/include/opencv2/core/types_c.h:443:23: note: expanded from macro 'IPL_DEPTH_16S'
#define IPL_DEPTH_16S (IPL_DEPTH_SIGN|16)
                      ^
/usr/ports/graphics/openimageio/work/OpenImageIO-oiio-7aace95/src/libOpenImageIO/imagebufalgo_opencv.cpp:71:10: error: case value evaluates to 2147483656, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
    case IPL_DEPTH_8S :
         ^
/usr/local/include/opencv2/core/types_c.h:442:23: note: expanded from macro 'IPL_DEPTH_8S'
#define IPL_DEPTH_8S  (IPL_DEPTH_SIGN| 8)
                      ^


--
FreeBSD - the place to B...Software Developing

Shane Ambler

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

Reply via email to