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

Stack Overflow Error During Basic Program Compilation #139

Open
d-mceneaney opened this issue Jan 30, 2021 · 0 comments
Open

Stack Overflow Error During Basic Program Compilation #139

d-mceneaney opened this issue Jan 30, 2021 · 0 comments

Comments

@d-mceneaney
Copy link

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

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

No branches or pull requests

1 participant