Matej Kormuth
10/14/2018, 4:04 PMLempere
10/14/2018, 6:14 PMnapperley
10/14/2018, 8:25 PMMatej Kormuth
10/14/2018, 8:26 PMnapperley
10/14/2018, 8:28 PMMatej Kormuth
10/14/2018, 9:36 PM.def
file:
headers = C:\\temp\\kotlin_tests\\interop\\lz4\\lib\\lz4.h
package = lz4
staticLibraries = liblz4.a
libraryPaths = C:\\temp\\kotlin_tests\\interop\\lz4\\contrib\\cmake_unofficial\\cmake-build-debug
but when I try to build application with call to library I get this strange linker? error:
> Task :compileDebugKotlinNative
C:\Users\Matej\AppData\Local\Temp\konan_temp5398659378648080731\combined.o:(.text+0x242f5): undefined reference to `LZ4_versionNumber'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
error: c:\Users\Matej\.konan\dependencies\msys2-mingw-w64-x86_64-gcc-7.3.0-clang-llvm-lld-6.0.1/bin/clang++ invocation reported errors
Any idea, how to configure it correctly?Matej Kormuth
10/14/2018, 11:38 PM