mediar-ai/screenpipe

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

Closed this issue · 3 comments

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

  • os: windows 11
  • screenpipe version: 0.1.98

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␍"

@RainSoloVN
this issue is causing since this commit 478fb05,
i'm fixing it, till now you can switch git node to d96d28d8, by this command

git reset --hard d96d28d8

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