hey guys, I am experimenting with VideoPlayer fro...
# compose-desktop
r
hey guys, I am experimenting with VideoPlayer from the compose-jb repo (https://github.com/JetBrains/compose-jb/tree/master/experimental/components/VideoPlayer) It is working just fine if I have VLC installed on my machine. But is there a way to add it to the output binary? I am using
nativeDistributions
to generate packages which can be installed. Is there a way to include required native libs in these packages ? So the end user doesnt need to instal VLC separately ?
👀 7
n
Did you happen to have an M1 by any chance? Im trying to run the sample and am getting the following error:
Copy code
UnsatisfiedLinkError dlopen ...Caches/JNA/temp/jna5074935829120365245.tmp tried ...../JNA/temp/jna5074935829120365245.tmp (fat file,  but missing compatible architecture (have 'i386,x86_64', need 'arm64e'))
r
Nah, I was on intel based cpu, I didn't have that error
👍 1
@Nick hey I upgraded my mac recently and the only way to not get the error you mentioned is to use intel version of VLC and intel version of Java.
n
thanks!