Hey guys. I’ve made `app.kexe` for macos. And I tr...
# kotlin-native
a
Hey guys. I’ve made
app.kexe
for macos. And I try to run it on another computer. Result -
dyld: Library not loaded: /usr/local/opt/libmicrohttpd/lib/libmicrohttpd.12.dylib
1. May be put library into kexe? How I can do it? 2. May be create macos installer? How I can do it?
a
Hello, @aleksey.tomin! I suppose you can use static library for your compilation instead of the shared one.
a
Yes, thank You! But how I can choose it? I have
libmicrohttpd.a
and
libmicrohttpd.dylib
but I can’t select on. I just write
Copy code
compilerOpts.osx = -I /opt/local/include -I/usr/local/include
compilerOpts.linux = -I /usr/include
in the .def file
a
Try specifying a
staticLibraries
as it’s done here.
a
Thanks But we have no static library
gnutls
😞 It needs for
microhttdpd