-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[bug] Compile on Linux (Debian). Target : Windows #10013
Comments
The error is happening after compilation when it tries to create the installer from your app binary. Can you share your tauri.conf.json file? Or at least your productName for now. |
I am also having this issue with my SvelteKit application, trying to build for windows on Ubuntu:
tauri.conf.json: {
"build": {
"beforeBuildCommand": "bun run build",
"beforeDevCommand": "bun run dev",
"frontendDist": "../build",
"devUrl": "http://localhost:5173"
},
"bundle": {
"active": true,
"category": "DeveloperTool",
"copyright": "",
"targets": "all",
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
},
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "",
"linux": {
"deb": {
"depends": []
}
}
},
"productName": "Game Chronicle",
"version": "0.8.0",
"identifier": "com.gamechronicle.www",
"plugins": {
"updater": {
"endpoints": ["https://github.com/ItsCentric/game-chronicle/releases"],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM3OTUyQjJEMjA5Q0VFMzAKUldRdzdwd2dMU3VWeCswV21RQ1Vkd256TzhCN0l4STJ1M0d3Y1YwYzVYYnR1NVFaekxmS1RocGsK"
}
},
"app": {
"windows": [
{
"height": 600,
"resizable": true,
"title": "Game Chronicle",
"width": 800,
"minHeight": 600,
"minWidth": 800,
"label": "main"
},
{
"title": "Game Chronicle Updater",
"label": "updater",
"url": "/updater",
"height": 400,
"width": 600,
"resizable": false,
"decorations": false,
"hiddenTitle": true,
"center": true,
"visible": false
}
],
"security": {
"csp": null
}
}
} |
Hmm, i downloaded your repo and can compile it fine 🤔 Can you rerun it with the |
Strange, shortly after running the |
Tnaks @FabianLars for your quick reply. Here is my
|
@FabianLars don't you think it is because of this warning ?
|
No, this warning comes from compiling the rust part but the error where it fails is from the nsis installer bundler which happens way after. Also, this warning is "normal" (as in everyone should start seeing it now). Can you remove the productName and test again? The productName caused issues in cross compiling before so maybe i missed something... |
@FabianLars I deleted the key |
Whow ! But I have an .exe ! I will test it. |
IT WORKS ! |
Well, the exe should have been there the whole time (if you mean the one in target/release/ not in bundle/nsis/). That's the rust app the cl warning came from. It can be enough for usecase but for many it isn't as it doesn't support all of Tauris features and won't make sure the webview is installed (not a problem on win11). |
I'll see if I can reproduce the error on my end today |
Ah, i see. The You can use it via |
Describe the bug
I am trying to build a Nuxt application, from Debian, and try to make an exe for Windows.
Reproduction
I am following this tutorial in official documentation :
https://tauri.app/v1/guides/building/cross-platform#experimental-build-windows-apps-on-linux-and-macos
Expected behavior
Make an executable for Windows.
Full
tauri info
outputStack trace
Additional context
I tried this command
clang -xc hello.c
on a hello world code :I got no error, no output.
I also could create a .deb file for the same project and it works.
The text was updated successfully, but these errors were encountered: