Skip to content

windows build error #318

Description

@longqishao

Compiling gooey v0.1.0 (E:\gooey\src-tauri)
error: failed to run custom build command for gooey v0.1.0 (E:\gooey\src-tauri)

Caused by:
process didn't exit successfully: E:\gooey\src-tauri\target\debug\build\gooey-47550ce23bf817f3\build-script-build (exit code: 1)
--- 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=E:\gooey\src-tauri\tauri.conf.json
cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=so
cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=gooey_asterisk
cargo:rustc-check-cfg=cfg(dev)
cargo:PERMISSION_FILES_PATH=E:\gooey\src-tauri\target\debug\build\gooey-213dcaf30dc3b26c\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
icons/icon.ico not found; required for generating a Windows Resource file during tauri-build
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

Activity

  1. desmonna commented on Aug 28, 2025

    @desmonna

    你需要把claudia\src-tauri\icons目录下的icon.png用图片转换器转换成多分辨率如32x32、128x128、256x256等(都勾选)ico图标,可以去这里https://www.aconvert.com/cn/icon/png-to-ico/#google_vignette

    ps:上传不了ico

  2. longqishao commented on Aug 28, 2025

    @longqishao
    Author

    thanks

  3. desmonna commented on Aug 28, 2025

    @desmonna

    thanks

    还有个事忘记说了,还需要在\src-tauri\tauri.conf.json里面添加你的ico路径

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions