Nikky
07/20/2025, 6:26 PM> 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
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 stuffkpgalligan
07/24/2025, 6:22 PM