Windows developer friends! I have a (probably) bas...
# kotlin-native
k
Windows developer friends! I have a (probably) basic question. If I wanted to link to sqlite3, and I were developing in a pretty fresh windows instance, and had msys2 installed, what would I do? We're adding -lsqlite3 as a linker arg and LD can find it, but I'm told that should work. Thoughts? Thanks in advance
m
Did you also add path to your MSYS2 libs, something like
-Lc:/msys64/mingw64/lib
?
k
Away from computer at the moment, but pr had that in there. I think I just didn't install the right lib package
I installed "libsqlite" and "sqlite3" with Pacman, but it's possible I configed something wrong. Just wondering if there's a different package I should install
m
It should be
mingw-w64-x86_64-sqlite3
k
Ah! Sounds promising!
Worked, thanks!
🎉 2