Hi Robert,

I don't think this is the problem, rather it's my changes to the
finding of the general ffmpeg headers.

I seem to remember different versions of ffmpeg had different ways of locating their own headers:

Some versions use #include <libavutil/avutil.h> and suppose that your include path only contains the base fffmpeg/include path.

Other versions use #include <avutil.h> and suppose that you add ffmpeg/include/libavutil (and ffmpeg/include/libavcodec and all the others) to your include path.

So perhaps the problem here is that you're both using versions of ffmpeg that do this differently? When I looked before, FindFFMPEG.cmake added all of these to the include path (both the base ffmpeg/include and all the ffmpeg/include/lib* paths) precisely so that it would work with any version of ffmpeg. Is this what you've changed Robert?

I agree it's messy to add more paths to the include path than what you absolutely need, but short of a version check and some way of being sure which versions did it which way, or requiring a given minimum version of ffmpeg, I'm not sure there's another solution that will work for everyone.

Or maybe the problem is not even that... Just trying to be helpful. :-)

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to