hi, i am trying to use sqliter with a mingwX64 tar...
# touchlab-tools
n
hi, i am trying to use sqliter with a mingwX64 target
Copy code
> Task :linkDebugExecutableMingwX64 FAILED
e: C:\Users\nikky\.konan\dependencies\llvm-16.0.0-x86_64-windows-essentials-56/bin/clang++ invocation reported errors

The C:\Users\nikky\.konan\dependencies\llvm-16.0.0-x86_64-windows-essentials-56/bin/clang++ command returned non-zero exit code: 1.
output:
lld: error: unable to find library -lsqlite3
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
i saw that the github CI for this project sets up msys2 with a few packages.. and adds msys2 to the path so i installed that also tried running it from within mysys2 is there any sample project that uses ideally sqldelight and sqliter on a windows target ? tried adding the same linkeropts like so
Copy code
compilations.forEach { kotlinNativeCompilation -> kotlinNativeCompilation.kotlinOptions.freeCompilerArgs += listOf("-linker-options", "-lsqlite3 -Lc:\\msys64\\mingw64\\lib") }
this produces a different set of errors.. mainly a bunch of undefined symbol stuff
k
We don't really do anything with Windows directly. Much of the support and maintenance for Windows (and Linux) for sqliter has been community-submitted. Our internal work is almost entirely mobile, so we're pretty much stuck on mac for dev machines because iOS needs mac.