libsql icon indicating copy to clipboard operation
libsql copied to clipboard

Errror building cargo on sqld for Windows

Open fire opened this issue 2 years ago • 2 comments

rustup update stable-gnu
rustup set default-host x86_64-pc-windows-gnu
scoop install mingw
scoop install llvm
scoop install protobuf
cargo build  2> error.log

error.log

fire avatar Jan 30 '23 17:01 fire

@psarna Looks like wasmtime related build issue:

undefined reference to `__intrinsic_setjmpex'
          collect2.exe: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path
specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see
https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `libsql-wasmtime-bindings` due to previous error

penberg avatar Jan 30 '23 17:01 penberg

+1

ibilux avatar Jul 15 '24 17:07 ibilux

Closing due to lack of attention to windows platform.

fire avatar Nov 09 '24 00:11 fire