Skip to content
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

The Cross-compilation guide returns an OpenSSL error on WSL #1539

Closed
Benji377 opened this issue Sep 11, 2023 · 0 comments · Fixed by #1568
Closed

The Cross-compilation guide returns an OpenSSL error on WSL #1539

Benji377 opened this issue Sep 11, 2023 · 0 comments · Fixed by #1568

Comments

@Benji377
Copy link

📋 Page(s) affected (or suggested, for new content)

https://tauri.app/v1/guides/building/linux#cross-compiling-tauri-applications-for-arm-based-devices

📋 Description or bullet point outline (if proposing new content)

I followed the guide on Tauri using a Windows 11 laptop and Debian on WSL2. Everything worked fine, except for two things:

  1. On Step 4 I found that I had to execute that command even if using Debian
  2. After following all steps and executing the build command, it would fail with an error similar to:
    Failed to find OpenSSL development headers..

I was able to fix that issue by adding the following line to the /src-tauri/Cargo.toml file:
openssl-sys = {version = "0.9.66", features = ["vendored"]}

@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Sep 26, 2023
FabianLars added a commit that referenced this issue Sep 27, 2023
* update linux arm instructions, closes #1539

* add instructions to fix/prevent issues with main packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant