SFML community forums

Bindings - other languages => Java => Topic started by: ShadowGrimm on July 02, 2013, 02:38:11 am

Title: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: ShadowGrimm on July 02, 2013, 02:38:11 am
Hi there, I've compiled the source on Github for the AWT RenderCanvas and when I try to run my game I get this error:

Exception in thread "JSFML RenderCanvas Runner" java.lang.UnsatisfiedLinkError: org.jsfml.graphics.RenderCanvas.nativeCreateRenderWindow(Lorg/jsfml/window/ContextSettings;)J
        at org.jsfml.graphics.RenderCanvas.nativeCreateRenderWindow(Native Method)
        at org.jsfml.graphics.RenderCanvas.access$1(RenderCanvas.java:88)
        at org.jsfml.graphics.RenderCanvas$1.run(RenderCanvas.java:103)
        at java.lang.Thread.run(Unknown Source)
 

Perhaps something I'm missing? Thanks in advance for any help...
Title: Re: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: pdinklag on July 02, 2013, 07:01:14 am
Did you do any local merging? That branch is severely outdated and I have honestly no idea what the last state of it was, but I do believe it ran at least.

I won't be able to look into this for a week. :-\
Title: Re: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: ShadowGrimm on July 02, 2013, 07:07:10 am
Did you do any local merging? That branch is severely outdated and I have honestly no idea what the last state of it was, but I do believe it ran at least.

I won't be able to look into this for a week. :-\

Is there any other means of incorporating jSFML into an applet? There may also be something I'm simply overlooking...
Title: Re: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: pdinklag on July 02, 2013, 06:35:52 pm
Nope, that's exactly what the RenderCanvas is for.
Title: Re: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: noobcakes on July 03, 2013, 02:03:24 am
 :'( Well boo. Thank you very much for your time though mr. dpinklag. We do appreciate the response.

Edit: The only reason we're not using your newest library release is because of its lack of mac support. Is this a feature that is planned on being updated in the sooner rather than later future ? We do understand you're busy. :) We're just trying to make plans on what we're going to do and when :p
Title: Re: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: pdinklag on July 21, 2013, 08:25:30 pm
The problem is that I do not own a Mac, I depend on Hiura there and I must confess that I did not even contact him about this test release.  :-X

When I find some time, I will pack up a 4th test release that also contains the latest SFML bugfixes. Time is a resource very limited to me lately, and that does not seem to want to change. I'm sorry for this.
Title: Re: Trying to run jSFML in an applet (UnsatisfiedLink)
Post by: Hiura on July 23, 2013, 07:31:45 pm
Yeah, I would love to help more on JSFML but time is hard to find these days..  :-\