Nikky
11/24/2021, 11:50 AM> Task :linkReleaseExecutableMingwX64 FAILED
e: /home/nikky/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang++ invocation reported errors
The /home/nikky/.konan/dependencies/llvm-11.1.0-linux-x64-essentials/bin/clang++ command returned non-zero exit code: 1.
output:
lld: error: unable to find library -lcurl
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
anyone got this to work yet ?mbonnin
11/24/2021, 1:12 PMmbonnin
11/24/2021, 1:12 PMmbonnin
11/24/2021, 1:14 PMhfhbd
11/24/2021, 2:53 PMmsink
11/24/2021, 4:22 PM-lcurl
to something like https://github.com/msink/hello-curl/blob/20a84a95d32d8fe2df2e5ccc998c83f64e868e28/build.gradle.kts#L35
And then - download bunch of .a files from https://github.com/msink/hello-curl/tree/main/bundle/2021-06-02/mingw64/lib and place them somewhere available in -L
path.
Didn't try it myself, but in theory should work.Nikky
11/26/2021, 7:44 AMmsink
11/26/2021, 10:14 AMmbonnin
11/26/2021, 10:17 AMhfhbd
11/26/2021, 11:08 AMmsink
11/26/2021, 11:20 AMHey, we're not going to link curl statically cause of the distribution size and compatibility issues.Really just opposite - there WILL BE compatibility issues until curl will be linked statically. In particular - application linking will be possible only on windows host.
mbonnin
11/26/2021, 11:30 AMmbonnin
11/26/2021, 11:31 AMNikky
11/28/2021, 7:16 PM