开发者

configure, make, git on windows = how to compile&install on windows

I want to make work ffmpeg-ruby on windows. If possible. Bu开发者_StackOverflow社区t I do not know how to do

  • configure
  • make

    ./configure --prefix=/opt/ffmpeg --enable-pthreads --enable-shared --enable-gpl

    make

    sudo make install

  • git on windows?

    git clone git://github.com/gwik/ffmpeg-ruby.git

    cd ffmpeg-ruby

    gem build ./ffmpeg-ruby.gemspec

    sudo gem install ./ffmpeg-ruby-0.1.0.gem -- --with-ffmpeg-dir=/opt/ffmpeg

-- sorry for the formatting, cannot make it look better


If you've never used git before, you can use TortoiseGit as a GUI interface. This requires you have msysgit installed as linked by Ignacio. Might be nicer to get the sources.

You then launch the msys command line from windows having installed both Msys and MinGW. Navigate to your folder (you may want to mount them - see the fstab file in the etc directory of msys). There you can run ./configure and make.

make install is pretty meaningless on windows and sudo doesn't exist in msys, so skip that step - your binaries will be build in the source code folder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜