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

mthreads cross compilation error for a fyne app that uses anacrolix/torrent #816

Open
Muller555541 opened this issue Feb 16, 2023 · 3 comments

Comments

@Muller555541
Copy link

As I try to compile a fyne app that uses anacrolix/torrent using fyne-cross "cross compilation tool" I get the error:
g++: error: unrecognized command-line option '-mthreads'; did you mean '-pthread'?

does this library use mthreads? and should it switch to pthread?

@anacrolix
Copy link
Owner

I think this is a Go core thing.

@Muller555541
Copy link
Author

how can it be corrected?

@anacrolix
Copy link
Owner

I'm not sure, but I would recommend asking on the fyne repo. I don't believe it's caused by bad behaviour in this repo. It could be caused by using cgo for some of the dependencies of this repo, the fixes for which will be specific to fyne.

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

No branches or pull requests

2 participants