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

usage on windows & linux? #1

Open
louis030195 opened this issue Sep 5, 2024 · 2 comments
Open

usage on windows & linux? #1

louis030195 opened this issue Sep 5, 2024 · 2 comments

Comments

@louis030195
Copy link

works on mac but compilation fails on linux/windows, any advice?

https://github.com/mediar-ai/screenpipe/actions/runs/10724672255/job/29740844267

@thewh1teagle
Copy link
Owner

The crate tested on Linux/Windows/macOS.

You have linking conflicts with other crates.

In WIndows https://github.com/mediar-ai/screenpipe/actions/runs/10724672255/job/29740844267#step:15:737

The library esaxx link msvc static. it should link it dynamic by default that's the Rust's standard.

You can check which crate uses esaxx in your project using cargo tree and patch it

In Linux there's two crates that linking https://github.com/abseil/abseil-cpp. You can try set RUSTFLAGS="-Clink-arg=-Wl,--allow-multiple-definition" environment variable

@altunenes
Copy link

I can confirm that this also works on my Windows machine. :-)

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

3 participants