mediar-ai / screenpipe

rewind.ai x cursor.com = AI powered by your 24/7 screen & voice local recording.
https://screenpi.pe
MIT License
8.73k stars 495 forks source link

linux app build is broken #324

Closed louis030195 closed 1 month ago

louis030195 commented 1 month ago

https://github.com/mediar-ai/screenpipe/actions/runs/10856633033/job/30131659292

linear[bot] commented 1 month ago

MED-101 linux app build is broken

jandremarais commented 1 month ago

Hi I wanted to get over this issue too. It looks like some conflict between the v8 and ort bindings. I don't know what the best solution is but I found that adding this to .cargo/config.toml results in a successful build:

...
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-Wl,--allow-multiple-definition"]
louis030195 commented 1 month ago

@jandremarais oh cool, can you send a PR for this?

louis030195 commented 1 month ago

@jandremarais appreciate the contribution 🙏