mediar-ai / screenpipe

rewind.ai x cursor.com = your AI assistant that has all the context. 24/7 screen & voice recording for the age of super intelligence. get your data ready or be left behind
https://screenpi.pe
MIT License
9.53k stars 553 forks source link

[bug] Run cargo build --release on window have error #724

Closed RainSoloVN closed 6 hours ago

RainSoloVN commented 22 hours ago

describe the bug brief description of the bug.

to reproduce

  1. install all library
  2. to step, "cargo build --release"
  3. error occur

expected behavior what should happen? When I run command "cargo build --release" on Window 11, I receive the error: " mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in libknf_rs_sys-18676f0b7014dd73.rlib(knfc.obj)"

system info

additional context add any other context, screenshots, or error logs here. image "note: libesaxx_rs-1319760f5c75a303.rlib(2e40c9e35e9506f4-esaxx.o) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in libknf_rs_sys-18676f0b7014dd73.rlib(knfc.obj)␍ Creating library C\screenpipe_audio.lib and object \screenpipe_audio.exp␍ screenpipe_audio.exe : fatal error LNK1319: 1 mismatches detected␍"

linear[bot] commented 22 hours ago

MED-307 [bug] Run cargo build --release on window have error

tribhuwan-kumar commented 21 hours ago

@RainSoloVN this issue is causing since this commit https://github.com/mediar-ai/screenpipe/commit/478fb051e7aa1d36537a08afe5443407e8e54646, i'm fixing it, till now you can switch git node to https://github.com/mediar-ai/screenpipe/commit/d96d28d8, by this command

git reset --hard d96d28d8
RainSoloVN commented 15 hours ago

@tribhuwan-kumar Thank you for your answer. I built successfully. I hope you fix it soon.