[vlc-devel] Which JNA to build JVLC?
Karl Ostendorf
karl at ostendorf.com
Thu Apr 16 19:46:45 CEST 2009
Hi Adrien,
Thanks, the patched jna-3.0.9.jar did the trick and JVLC now compiles.
I created my own ant build script to compile the sources including
jna and slf4j-api in the classpath. The maven install fails the tests
at the moment.
I would still be interested to know how the patched JNA was compiled.
To which JNA repository revision was the patch applied? Is there a
newer patch than the one from the mailing list?
Best Regards,
Karl
On Thu, Apr 16, 2009 at 19:07, Adrien Grand <jpountz at videolan.org> wrote:
> Hello Karl,
>
> Karl Ostendorf a écrit :
>> I am trying to build the java bindings but come across the following error:
>>
>> bindings\java\core\src\main\java\org\videolan\jvlc\internal\LibVlc.java:48:
>> cannot find symbol
>> symbol : variable OPTION_DLOPEN_GLOBAL
>> location: interface com.sun.jna.Library
>> put(Library.OPTION_DLOPEN_GLOBAL, Boolean.TRUE);
>> ^
>> 1 error
>
> Do you get this error while trying to build JVLC using Maven? Or do you
> run javac "manually"? I have no problem compiling JVLC using Maven here.
>
> The right JNA jar to use is this one:
> http://jvlc.ihack.it/maven2/net/java/dev/jna/jna/3.0.9/jna-3.0.9.jar
>
>
> Best regards,
>
> --
> Adrien Grand
>
--
Karl
More information about the vlc-devel
mailing list