-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Trying to build in Windows 11 Pro...
The build is failing because of an issue with your icon file. The error message indicates:
error RC2175 : resource file \?\V:\DEV PROJECTS WIP\claudia\src-tauri\icons\icon.ico is not in 3.00 format
This means your icon.ico file is not in the correct ICO format that Windows Resource Compiler expects.
Compiling async-trait v0.1.88
error: failed to run custom build command for `claudia v0.1.0 (V:\DEV PROJECTS WIP\claudia\src-tauri)`
Caused by:
process didn't exit successfully: `V:\DEV PROJECTS WIP\claudia\src-tauri\target\release\build\claudia-1044a434cbc5185d\build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=TAURI_CONFIG
cargo:rustc-check-cfg=cfg(desktop)
cargo:rustc-cfg=desktop
cargo:rustc-check-cfg=cfg(mobile)
cargo:rerun-if-changed=V:\DEV PROJECTS WIP\claudia\src-tauri\tauri.conf.json
cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=so
cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=claudia_asterisk
cargo:rustc-check-cfg=cfg(dev)
cargo:PERMISSION_FILES_PATH=V:\DEV PROJECTS WIP\claudia\src-tauri\target\release\build\claudia-018914faed00ae8d\out\app-manifest\__app__-permission-files
cargo:rerun-if-changed=capabilities
cargo:rerun-if-env-changed=REMOVE_UNUSED_COMMANDS
cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=x86_64-pc-windows-msvc
package.metadata does not exist
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
V:\DEV PROJECTS WIP\claudia\src-tauri\target\release\build\claudia-018914faed00ae8d\out\resource.rc(26) : error RC2175 : resource file \\?\V:\DEV PROJECTS WIP\claudia\src-tauri\icons\icon.ico is not in 3.00 format
--- stderr
thread 'main' panicked at C:\Users\itsio\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\tauri-winres-0.3.1\src\lib.rs:537:14:
called `Result::unwrap()` on an `Err` value: Failed("RC.EXE failed to compile specified resource file")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
failed to build app: failed to build app
Error failed to build app: failed to build app
error: script "tauri" exited with code 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels