Cap
Cap copied to clipboard
Title: pnpm tauri:build fails due to ffmpeg-next compilation errors
Description
When attempting to build the project using pnpm tauri:build
, the process fails due to compilation errors in the ffmpeg-next
dependency.
Reproduction
- Clone the Cap repository
- Run
pnpm install
to install dependencies - Execute
pnpm tauri:build
- Observe the build failure with compilation errors related to
ffmpeg-next
Additional Context
- Cap version: Latest commit
- Operating system, version: macOS 15.0
- Device (optional): M1 MacBook Air
Error logs:
error[E0004]: non-exhaustive patterns: sys::AVColorSpace::AVCOL_SPC_IPT_C2, sys::AVColorSpace::AVCOL_SPC_YCGCO_RE and sys::AVColorSpace::AVCOL_SPC_YCGCO_RO not covered
--> /Users/onyedikachi/.cargo/git/checkouts/rust-ffmpeg-bf2fff940543d618/11f8d26/src/util/color/space.rs:44:15
|
44 | match value {
| ^^^^^ patterns sys::AVColorSpace::AVCOL_SPC_IPT_C2, sys::AVColorSpace::AVCOL_SPC_YCGCO_RE and sys::AVColorSpace::AVCOL_SPC_YCGCO_RO not covered
// ... (include the full error message here, as in your original paste)
error: could not compile ffmpeg-next (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
failed to build app: failed to build app
Error [tauri_cli_node] failed to build app: failed to build app
ELIFECYCLE Command failed with exit code 1.
ELIFECYCLE Command failed with exit code 1.