LWJGL Forum

Programming => Bug Reports / RFE => Topic started by: orange451 on December 08, 2018, 20:42:30

Title: HelloTinyFD.java error
Post by: orange451 on December 08, 2018, 20:42:30
When I run HelloTinyFD.java from the github, I'm met with this error:

Code: [Select]
Exception in thread "main" java.lang.NoSuchMethodError: org.lwjgl.system.MemoryStack.nUTF8Safe(Ljava/lang/CharSequence;Z)I
at org.lwjgl.util.tinyfd.TinyFileDialogs.tinyfd_messageBox(TinyFileDialogs.java:237)
at test.HelloTinyFD.main(HelloTinyFD.java:112)

Points to this line:
Code: [Select]
tinyfd_messageBox("tinyfd_query", "", "ok", "info", true);
Tried it on a freshly downloaded version of LWJGL from the website (STABLE).
Am I missing a library?
Title: Re: HelloTinyFD.java error
Post by: spasi on December 08, 2018, 23:14:06
Sounds like you're on a 3.2.1 build of tinyfd and a 3.2.0 build of the LWJGL core.
Title: Re: HelloTinyFD.java error
Post by: orange451 on December 09, 2018, 00:46:15
You are correct. Not sure how I managed that one.

Thanks!