I’m trying to build KMP project on a windows machi...
# multiplatform
j
I’m trying to build KMP project on a windows machine and getting this error
Copy code
C:\Users\vtouch\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin/clang++ command returned non-zero exit code: 1.
output:
C:\Users\vtouch\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1\bin\ld: cannot find -lsqlite3
C:\Users\vtouch\.konan\dependencies\msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1\bin\ld: cannot find -lcurl
Can someone please help resolving this issue. I am nee to windows dev environment.
@aleksey.tomin I saw that you were working with KMP on windows os. Can you help me solve this issue ?
a
Can I look at the project or the gradle build file?
j
@aleksey.tomin sure. Here it is https://github.com/jolasjoe/newsy-core.
a
You should install
curl
and
sqlite
in msys something like
c:\msys64\usr\bin\pacman --noconfirm -S mingw-w64-x86_64-curl
I can’t try to do something on windows until January, 11 - only read the code.
j
Oh. Thanks @aleksey.tomin. I’ll try these out and get back.
pacman --noconfirm -S mingw-w64-x86_64-curl
and
pacman --noconfirm -S mingw-w64-x86_64-sqlite3
fixed the issue. I was trying
pacman --noconfirm -S curl
and
pacman --noconfirm -S sqlite3
previously which didn't solve the issue.
Thanks @aleksey.tomin
👍 1