ffmpeg 編譯 dll 和 lib 檔案

來源:互聯網
上載者:User
Building FFmpeg SVN shared libraries

If you followed
Building FFmpeg SVN dlls correctly, you should be one step away from having
shared
libraries that can be used by MSVC++.

First, you must make sure you have Microsoft Visual C++ installed.

Then, you must make sure the lib program from Microsoft's Toolchain is in yourPATH on the shell. For that, you can either make sure the changes you made inFixing
"msys.bat" regarding vcvars32.bat really worked, or you can first openVisual Studio 2008 Command Prompt, and from there run
msys.bat.

The first option is the usual:

Start->Programs->MinGW->MSys->msys

The second option is something like:

Start->Programs->Microsoft Visual C++ Express Edition->Visual Studio Tools->Visual Studio 2008 Command Promptcd c:\msysmsys.bat

Once in the shell, run the lib command, by entering this in the prompt:

lib

If you get the following output (or something similar), then you're good to go. Make sure it is theMicrosoft (R) Library Manager.

If you just came from
Building FFmpeg SVN dlls, and the above step was already working, you
probably already have the files you need
.

If you did not just come from
Building FFmpeg SVN dlls, or you had to change something to get the lib command to work (but you're certain thelib command is working now), just follow

Building FFmpeg SVN dlls again.

Basically, you have to do:

make distclean./configure --enable-shared --disable-static --enable-memalign-hackmakemake install
 
http://ffmpeg.arrozcru.org/wiki/index.php?title=Shared_LIB

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.