Login  Register

Re: UnsatisfiedLinkError

Posted by Sven Gothel on Jul 14, 2014; 8:35pm
URL: https://forum.jogamp.org/UnsatisfiedLinkError-tp4032563p4032569.html

On 07/14/2014 09:57 PM, jf2qm [via jogamp] wrote:

> UPDATE/EDIT
>
> I previously was able to run the program via command line on my windows
> machine, but ran into trouble after testing on the linux server.    I think
> there may have been some issues with paths or something after I downloaded the
> linux versions of the same jars.  after consolidating some of the files i have
> a new error:
>
> java.lang.NoSuchMethodError: com.jogamp.common.nio.Buffers.slice2Float(Ljava/nio
> /Buffer;[FII)Ljava/nio/FloatBuffer;
>         at jogamp.opengl.ProjectFloat.<init>(ProjectFloat.java:181)
>         at jogamp.opengl.ProjectFloat.<init>(ProjectFloat.java:167)
Looks like GlueGen has been updated, but not JOGL ?

currently in Buffers:

  public static final FloatBuffer slice2Float(final Buffer buf, final int
floatStartPos, final int floatSize)

  public static final FloatBuffer slice2Float(final float[] backing, final int
floatStartPos, final int floatSize)

Note: This change happened in commits

GlueGen 3bfc1e484ae247214d47f25fcc9b9da223f51fe1
Date:   Fri Jun 27 10:26:25 2014 +0200

JOGL 0bded476868c5fdfe44502bfd55957469d0d72bb
Date:   Fri Jun 27 18:16:43 2014 +0200

~Sven


signature.asc (894 bytes) Download Attachment