Cap icon indicating copy to clipboard operation
Cap copied to clipboard

Title: pnpm tauri:build fails due to ffmpeg-next compilation errors

Open onyedikachi-david opened this issue 4 months ago • 0 comments

Description

When attempting to build the project using pnpm tauri:build, the process fails due to compilation errors in the ffmpeg-next dependency.

Reproduction

  1. Clone the Cap repository
  2. Run pnpm install to install dependencies
  3. Execute pnpm tauri:build
  4. 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.

onyedikachi-david avatar Oct 04 '24 14:10 onyedikachi-david