https://kotlinlang.org logo
Title
r

Radoslaw Juszczyk

12/05/2021, 5:02 PM
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

Nick

04/06/2022, 6:56 AM
Did you happen to have an M1 by any chance? Im trying to run the sample and am getting the following error:
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

Radoslaw Juszczyk

04/06/2022, 7:20 AM
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

Nick

08/29/2022, 4:52 PM
thanks!