Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Windows compilation instructions #28

Merged
merged 4 commits into from
May 20, 2020

Conversation

Bougakov
Copy link
Contributor

No description provided.

README.md Outdated

Download the `x86_64-pc-windows-msvc` version of Rust compiler from [rust-lang.org](https://forge.rust-lang.org/infra/other-installation-methods.html#standalone). Also download and perform the default installation of the [Build tools for Visual Studio](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16). You may ignore the request to reboot the system after the installation.

Download the latest "development" version of Windows 64-bit binaries of FFmpeg from [the official website](https://ffmpeg.zeranoe.com/builds/win64/dev/). Extract all `/lib/*.lib` files such as `avcodec.lib` from the archive to the `C:\Program Files\Rust stable MSVC 1.43\lib\rustlib\x86_64-pc-windows-msvc\lib` folder.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if all latest versions will work as binding is generated for ffmpeg 4.1 - so I'd rather recommend to use 4.1 - for more recent versions we might see problems like segfault.

Copy link
Contributor Author

@Bougakov Bougakov May 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed that in Bougakov@41722b4

@izderadicka izderadicka merged commit 945d8ac into izderadicka:master May 20, 2020
@izderadicka
Copy link
Owner

@Bougakov - thanks a log for trying on win - merged your instructions into README

@Bougakov Bougakov deleted the patch-1 branch May 20, 2020 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants