?? readme
字號:
Check out revision 7261 from the ffmpeg svn repository into a directorynamed ffmpeg, next to ffmpeg-symbian.cd ..svn co -r7261 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpegIn order to compile a project using libavcodec, you have tocopy <gccroot>/lib/gcc-lib/arm-epoc-pe/2.9-psion-98r2/libgcc.a intoepoc32/release/armi/urel/libgcc.lib (only needed on EKA1).libavcodec can't be compiled using the original/official gcc, butmust be compiled using GCC 3.0-psion-98r2, from the Symbian GCCImprovement Project, or using CSL GCC for the GCCE target.On Windows, you'll have to install GCC 3.0-psion-98r2. (You'll need iteven if using an EKA2 SDK, since those SDK still use an ancient bundledGCC for preprocessing when checking dependencies. (When using GnuPoc onLinux with an EKA2 SDK, it will use the much more modern CSL GCC fordependency checking, so no extra compiler is needed.)Rename the epoc32/gcc directory to gcc-orig, and extract GCC 3.0(downloadable from http://www.inf.u-szeged.hu/symbian-gcc/dload.php)into the epocroot directory, so that it takes the place of theoriginal bundled gcc. Copygcc/lib/gcc-lib/arm-epoc-pe/3.0-psion-98r2/cpp0.exe into gcc/bin/cpp.exe.Backup epoc32/tools/prepfile.pm and makdeps.pm and remove the "-undef"parameter from the cpp invocations.After compiling the ffmpeg libraries, you probably want to revert tothe original gcc (at least on EKA1), since GCC 3.0 seems to crashwhen compiling C++ code which includes the ffmpeg headers...When compiling on Linux using GnuPoc, this is slightly easier. ForEKA2 SDKs, just compile it as usually. For EKA1 SDKS, installGCC 3.0-psion-98r2 (e.g. using the compile-scripts within sdk2unix),point your scripts (or PATH env variable) to this compiler, compilethe libraries, and point your scripts or env variables back to theoriginal compiler.And last but not least, copy libgcc.a intoepoc32/release/armi/urel/libgcc.lib before compiling any project whichlinks to the ffmpeg libraries, since those projects will need thislibrary, too.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -