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

Building fails on MSYS2 #66

Open
couleurm opened this issue Dec 11, 2023 · 0 comments
Open

Building fails on MSYS2 #66

couleurm opened this issue Dec 11, 2023 · 0 comments

Comments

@couleurm
Copy link

couleurm commented Dec 11, 2023

I've tried compiling this library on Windows, then WSL, then back to Windows with MSYS2,

  • I generated some .pc files with vcpkg and pointed them with $PKG_CONFIG_PATH

  • For good measure I also got a shared build of ffmpeg 4.4 and pointed with $FFMPEG_DIR

As I troubleshooted this error came around, it looks very odd for some clang library to not find that header, even after I added the directory where mm_malloc.h is to PATH

--- stderr
D:/Scoop/apps/msys2/2023-10-26/mingw64/include/malloc.h:84:10: fatal error: 'mm_malloc.h' file not found
D:/Scoop/apps/msys2/2023-10-26/mingw64/include/malloc.h:84:10: fatal error: 'mm_malloc.h' file not found, err: true
thread 'main' panicked at C:\Users\Dek\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ffmpeg-sys-next-4.4.0\build.rs:1265:10:
Unable to generate bindings: ()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I'd appreciate if you could suggest other installation steps I should take or if there are any libraries that could replace this library for this usecase, thank you

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