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

fyne-cross-1.3-linux-arm64 and fyne-cross-1.3-linux-arm images #209

Open
0x414a opened this issue Oct 2, 2023 · 2 comments
Open

fyne-cross-1.3-linux-arm64 and fyne-cross-1.3-linux-arm images #209

0x414a opened this issue Oct 2, 2023 · 2 comments
Labels
question Further information is requested

Comments

@0x414a
Copy link

0x414a commented Oct 2, 2023

The issue I encountered was that it requires apt-get install libpcap-dev and fyneio/fyne-cross/1.3-linux-arm64. After installing libpcap-dev in the container initiated by fyneio/fyne-cross/1.3-linux-arm64 and compiling the program with go build, the program could not run on arm64 Linux, which is why I submitted this issue.

@0x414a
Copy link
Author

0x414a commented Oct 2, 2023

The issue is that fyne-cross-1.3-linux-arm64 and fyne-cross-1.3-linux-arm are AMD images and require libpcap-dev. However, cross-compiling ARM with AMD images will cause errors. So, is it possible to create images for fyne-cross-1.3-linux-arm64 and fyne-cross-1.3-linux-arm using ARM Linux? I have tried compiling with ARM images without any problems, but even if I package my images as fyne-cross-1.3-linux-arm64 and fyne-cross-1.3-linux-arm, when I try to compile using 'fyne-cross linux -arch arm64 test2.go' on the host machine, it tells me that environment variables are not set or similar issues.
image

@Bluebugs
Copy link
Contributor

Bluebugs commented Oct 4, 2023

fyne shouldn't have a dependency on libpcap. What application are you trying to compile?

As a test, would you mind compiling fyne calculator with fyne-cross and report how it goes.

@andydotxyz andydotxyz added the question Further information is requested label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants