[jitsi-dev] Libjitsi: java.lang.UnsatisfiedLinkError: jnawtrenderer.dll: Can't find dependent libraries


#1

Hi all,

I am trying to run the libjitsi AVReceive2 and AVTransmit2 examples
directly from eclipse. I have tried to replicate what is done in the
run-examples task in my run configuration, but I still get the following
error:

java.lang.UnsatisfiedLinkError:
D:\Development\...\native\windows-64\jnawtrenderer.dll: Can't find
dependent libraries

The I have added the following line to the native libraries in the VM args
section of the Run configuration
-Djava.library.path=D:\Development\...\lib\native\windows-64

So I cannot figure out what is wrong here. Could someone give me a hint?

Regards,
Alex


#2

Well, it says it cannot find dependent libraries… Does jnawtrenderer.dll load for Jitsi on the same machine/setup? (If it fails for Jitsi, there should be a message about the error in Jitsi's log.)

···

On 19.10.2012, at 14:57, Alexander Fedulov <ijustwanttoregister@googlemail.com> wrote:

java.lang.UnsatisfiedLinkError: D:\Development\...\native\windows-64\jnawtrenderer.dll: Can't find dependent libraries


#3

hi alex,

i suggest you:
firstly, build or copy the built jnawtrenderer.dll file into your own jre with path: /jre/bin ,then change your eclipse jre to this jre. or you need to make sure that file
exist in “D:\Development\...\lib\native\windows-64”.. hope this help you..

Regards,
Shawn.

···

From: Alexander Fedulov

Sent: Friday, October 19, 2012 7:57 PM
To: dev@jitsi.java.net
Subject: [jitsi-dev] Libjitsi: java.lang.UnsatisfiedLinkError: jnawtrenderer.dll: Can't find dependent libraries

Hi all,

I am trying to run the libjitsi AVReceive2 and AVTransmit2 examples directly from eclipse. I have tried to replicate what is done in the run-examples task in my run configuration, but I still get the following error:

java.lang.UnsatisfiedLinkError: D:\Development\...\native\windows-64\jnawtrenderer.dll: Can't find dependent libraries

The I have added the following line to the native libraries in the VM args section of the Run configuration
-Djava.library.path=D:\Development\...\lib\native\windows-64

So I cannot figure out what is wrong here. Could someone give me a hint?

Regards,
Alex


#4

Hi Lyubomir,

nope, I am in fact working a lot on customizing Jitsi for our purposes and
did not encounter any problems with that library upon Jitsi's start up. It
also works without errors if started using the run-examples ant task.

Regards,
Alex

···

2012/10/20 Lyubomir Marinov <lyubomir.marinov@jitsi.org>

On 19.10.2012, at 14:57, Alexander Fedulov < > ijustwanttoregister@googlemail.com> wrote:
> java.lang.UnsatisfiedLinkError:
D:\Development\...\native\windows-64\jnawtrenderer.dll: Can't find
dependent libraries

Well, it says it cannot find dependent libraries… Does jnawtrenderer.dll
load for Jitsi on the same machine/setup? (If it fails for Jitsi, there
should be a message about the error in Jitsi's log.)


#5

Hi Shawn,

thanks for the hint. Unfortunately after putting all dlls from the
windows-64 folder into the /jre/bin folder the problem is still there. The
dll from the /jre/bin is being automatically picked up now though:

FATAL: Failed to register custom Renderer
net.java.sip.communicator.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer
with JMF.
java.lang.UnsatisfiedLinkError: C:\Program
Files\Java\jdk1.6.0_27\jre\bin\jnawtrenderer.dll: Can't find dependent
libraries

Cheers,
Alex

···

2012/10/20 Shawn Luo <luoshuai@live.com>

  hi alex,

i suggest you:
firstly, build or copy the built jnawtrenderer.dll file into your own jre
with path: /jre/bin ,then change your eclipse jre to this jre. or you need
to make sure that file
exist in “D:\Development\...\lib\native\windows-64”.. hope this help you..

Regards,
Shawn.

*From:* Alexander Fedulov <ijustwanttoregister@googlemail.com>
*Sent:* Friday, October 19, 2012 7:57 PM
*To:* dev@jitsi.java.net
*Subject:* [jitsi-dev] Libjitsi: java.lang.UnsatisfiedLinkError:
jnawtrenderer.dll: Can't find dependent libraries

Hi all,

I am trying to run the libjitsi AVReceive2 and AVTransmit2 examples
directly from eclipse. I have tried to replicate what is done in the
run-examples task in my run configuration, but I still get the following
error:

java.lang.UnsatisfiedLinkError:
D:\Development\...\native\windows-64\jnawtrenderer.dll: Can't find
dependent libraries

The I have added the following line to the native libraries in the VM args
section of the Run configuration
-Djava.library.path=D:\Development\...\lib\native\windows-64

So I cannot figure out what is wrong here. Could someone give me a hint?

Regards,
Alex