简体   繁体   English

使用Eclipse构建FFmpeg-Linux

[英]FFmpeg build using Eclipse - Linux

I am trying to import ffmpeg source into Eclipse on Linux. 我正在尝试将ffmpeg源导入Linux上的Eclipse。 I have followed every step mentioned at https://trac.ffmpeg.org/wiki/Setup_Ecli ... peg_(Linux) 我已按照https://trac.ffmpeg.org/wiki/Setup_Ecli ... peg_(Linux)中提到的每个步骤进行操作

But When i try to create a new project in Eclipse , I am not able to import it as a Makefile project . 但是,当我尝试在Eclipse中创建新项目时,无法将其作为Makefile项目导入。 I do not see any option in my Eclipse Indigo import wizard as ""C/C++" and then "Makefile Project with Existing Code" 我在Eclipse Indigo导入向导中看不到“ C / C ++”和“带有现有代码的Makefile项目”中的任何选项。

Any pointers on how to create a Eclipse project from ffmpeg source taken from git repository. 有关如何从git仓库获取的ffmpeg源创建Eclipse项目的任何指针。

Details- Linux Ubuntu 11.10 Eclipse Indigo version 3.7.0 ffmpeg 2.8 详细信息-Linux Ubuntu 11.10 Eclipse Indigo版本3.7.0 ffmpeg 2.8

With some more tinkering, Got the Eclipse to build ffmpeg source. 进行了一些修补,使Eclipse可以构建ffmpeg源代码。

1] While creating a project from Makefile, its important to point to the folder having the ffmpeg src, mak files cloned from repository, instead of the option of using default location. 1]从Makefile创建项目时,重要的是指向从存储库克隆了ffmpeg src,mak文件的文件夹,而不是使用默认位置的选项。

2] Selected GNU Autotools as the toolchain for this project while creating the project. 2]在创建项目时,选择了GNU Autotools作为该项目的工具链。

After this the fmmpeg was built correctly in eclipse and necessary ffmpeg executables generated. 之后,在Eclipse中正确构建了fmmpeg,并生成了必要的ffmpeg可执行文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM