,Hi Robert,
On 7/3/09 8:46 PM, Robert Osfield wrote:
There's something really odd going on with cmake:
it detects the proper include directories (like /opt/local/include/ffmpeg
for libavformat and /opt/local/include/libavdevice for avdevice) but stores
/opt/local/include in CMakeCache so it won't actually find those files.
Peculiar. When I install ffmpeg from Ubuntu repositories I get all
the headers in ffmpeg, but if I compile myself from ffmpeg svn it
installs in include/libavformat, include/libavdevice etc. So it's odd
that your install is mix of this.
I'll say! The files in include/ffmpeg are symlinks to ../libavcodec/, ../libavformat/,
and ../libavutil. But it doesn't have symlinks for libavdevice, libswscale. libavdevice
seems to be more recent (kubuntu 8.04 doesn't even know about this) so I get the
impression that include/ffmpeg is provided for backwards compatibility.
The ffmpeg/CMakeList.txt adds extra search paths for ffmpeg,
lbavformat etc as well as the base include directories so should find
them even if the base directory /opt/local/include is used.
Yes, I've seen that just today. Oddly enough after reverting everything it's compiling
fine again. Maybe it was a botched CMakeCache or whatnot. Whatever.
Cheers,
/ulrich
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org