mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Proposed new package: FFMPEG (Makefiles inclu


From: Di Appoggio
Subject: Re: [Mingw-cross-env-list] Proposed new package: FFMPEG (Makefiles included)
Date: Sat, 18 Sep 2010 10:50:30 +0200

2010/9/16 Tony Theodore <address@hidden>
On 12 September 2010 07:01, Tony Theodore <address@hidden> wrote:
> On 21 July 2010 19:50, Di Appoggio <address@hidden> wrote:
...
>
> Great work, I've tried ffmpeg a few times and never had much success.
>
> It builds fine on OSX, there are a few spacing/tabbing issues and some
> instances (libvpx.mk) where i686-pc-mingw32 should be replaced with
> $(TARGET).
>
> The new build requirement, yasm [1], is very lightweight and seems to
> be a useful tool. It's required by libvpx, x264 (can be disabled), and
> the existing xvidcore (currently disabled). I imagine adding it would
> improve performance where it's optional (even if it could be disabled
> in libvpx).

Unfortunately, this breaks openscenegraph when it tries to build the
ffmpeg plugin.

Cheers,

Tony


Don't know if you mean this:

make[4]: ingresso nella directory «/opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3»
[ 98%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.obj
[ 98%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.obj
[ 98%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.obj
[ 98%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.obj
[ 98%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.obj
In file included from /opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1/../../../../i686-pc-mingw32/include/libavutil/avutil.h:81:0,
                 from /opt/mingw/usr/i686-pc-mingw32/include/libavcodec/avcodec.h:30,
                 from /opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11,
                 from /opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
                 from /opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9,
                 from /opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5,
                 from /opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:10,
                 from /opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp:2:
/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1/../../../../i686-pc-mingw32/include/libavutil/common.h: In function 'int32_t av_clipl_int32_c(int64_t)':
/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.1/../../../../i686-pc-mingw32/include/libavutil/common.h:161:47: error: 'UINT64_C' was not declared in this scope
make[4]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.obj] Errore 1
make[4]: uscita dalla directory «/opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3»
make[3]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Errore 2
make[3]: uscita dalla directory «/opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3»
make[2]: *** [all] Errore 2
make[2]: uscita dalla directory «/opt/mingw/tmp-openscenegraph/OpenSceneGraph-2.8.3»
make[1]: *** [build-only-openscenegraph] Errore 2
make[1]: uscita dalla directory «/opt/mingw»


but I've solved adding ffmpeg support in $(PKG)_DEPS and adding a -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS while cmaking, anyway this solution is only valid on my local Ubuntu... don't have supernatural powers over official HG repository!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]