I tried to use `ktor-client-core` with `ktor-clien...
# kotlin-native
a
I tried to use
ktor-client-core
with
ktor-client-curl
(while
ktor-client-cio
isn’t redy). When I build the application I have the error
cannot find -lcurl
I’ve added
libcurl.a
and
libcurl.dll.a
into
%HOMEPATH%\.konan\dependencies\curl\lib\
but it isn’t helped. How can I fix it?
a
Hello, @aleksey.tomin! DLL should be added into either Windows PATH or near the executable file. Also, maybe this manual can help, it’s about libcurl installation. This ticket could be also interesting.
a
@Artyom Degtyarev [JB] After this I see errors “….\bin\ld DWARF error: mangled line number section (bad file number)” (about 100 lines)
a
Are you trying to link against the libcurl downloaded via
pacman
, or the one you got already?
a
I can’t use pacman - msysMinGW doesn’t work (new win10 instance in VirtualBox on linux) - I’ve tried to make something without it.
a
Okay, and what are those `libcurl`s you got?
a
I’ve fixed packman- just restart Windows (fogot about this main windows fix)…
😄 1
And finally- it works. Thanks!