Environment
- LWJGL version:
3.3.0
- LWJGL build #:
7
- Java version:
15
- Platform:
Windows
- Module:
core
Description
I'm playing with the snapshot version but I'm getting the following error while creating a GLF Window:
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'short org.lwjgl.system.libffi.LibFFI.FFI_TYPE_DOUBLE()'
at org.lwjgl.system.libffi.LibFFI.FFI_TYPE_DOUBLE(Native Method)
at org.lwjgl.system.libffi.LibFFI.<clinit>(LibFFI.java:40)
at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.<clinit>(GLFWFramebufferSizeCallbackI.java:33)
The code below is the simples one that triggers the error:
package org.test;
import org.lwjgl.glfw.GLFWFramebufferSizeCallbackI;
public class Main implements GLFWFramebufferSizeCallbackI {
public static void main(String[] args) {
}
@Override
public void invoke(long l, int i, int i1) {
}
}
The poml.xml file that I'm using is:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.test</groupId>
<artifactId>test</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<properties>
<lwjgl.version>3.3.0-SNAPSHOT</lwjgl.version>
<lwjgl.natives>natives-windows</lwjgl.natives>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl-bom</artifactId>
<version>${lwjgl.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl</artifactId>
</dependency>
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl-glfw</artifactId>
</dependency>
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl</artifactId>
<classifier>${lwjgl.natives}</classifier>
</dependency>
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl-glfw</artifactId>
<classifier>${lwjgl.natives}</classifier>
</dependency>
</dependencies>
</project>
The same sample works ok with 3.2.3. Any ideas on what I'm missing?
Environment
3.3.0715WindowscoreDescription
I'm playing with the snapshot version but I'm getting the following error while creating a GLF Window:
The code below is the simples one that triggers the error:
The
poml.xmlfile that I'm using is:The same sample works ok with 3.2.3. Any ideas on what I'm missing?