-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Hi,
When attempting to build a simple hello world example (with ffmpeg = "0.3.0"), I receive the error below when I execute "cargo run". Are there any other external depencies required such as ffmpeg c source code required to compile with rust?
Thanks.
fn main(){
println!("Hello World");
}Cargo.toml dependencies:
[dependencies]
ffmpeg = "0.3.0"
System: Windows 10
rustup: 1.23.1
rustc: 1.49.0
$ cargo run
Compiling winapi-x86_64-pc-windows-gnu v0.4.0
Compiling winapi v0.3.9
Compiling memchr v2.3.4
Compiling libc v0.2.84
Compiling glob v0.3.0
Compiling version_check v0.9.2
Compiling proc-macro2 v1.0.24
Compiling once_cell v1.5.2
Compiling bitflags v1.2.1
Compiling log v0.4.14
Compiling cfg-if v1.0.0
Compiling quick-error v1.2.3
Compiling unicode-width v0.1.8
Compiling regex-syntax v0.6.22
Compiling unicode-xid v0.2.1
Compiling bindgen v0.55.1
Compiling strsim v0.8.0
Compiling vec_map v0.8.2
Compiling cfg-if v0.1.10
Compiling lazy_static v1.4.0
Compiling peeking_take_while v0.1.2
Compiling lazycell v1.3.0
Compiling shlex v0.1.1
Compiling rustc-hash v1.1.0
Compiling pkg-config v0.3.19
Compiling cc v1.0.66
Compiling ffmpeg v0.3.0
Compiling thread_local v1.1.2
Compiling nom v5.1.2
Compiling clang-sys v1.0.3
Compiling humantime v1.3.0
Compiling textwrap v0.11.0
Compiling aho-corasick v0.7.15
Compiling which v3.1.1
Compiling num_cpus v1.13.0
Compiling quote v1.0.8
Compiling regex v1.4.3
Compiling cexpr v0.4.0
Compiling atty v0.2.14
Compiling winapi-util v0.1.5
Compiling libloading v0.6.7
Compiling clap v2.33.3
Compiling termcolor v1.1.2
Compiling env_logger v0.7.1
Compiling ffmpeg-sys v4.2.1
error: failed to run custom build command for ffmpeg-sys v4.2.1
Caused by:
process didn't exit successfully: C:\path\to\src\target\debug\build\ffmpeg-sys-2e8793ff53632eef\build-script-build (exit code: 0xc00000fd, STATUS_STACK_OVERFLOW)
--- stderr
thread 'main' has overflowed its stack