Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (808)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (872)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2019-01-14 13:32:38
Technically it was yesterday, but I got a mini2dx project to run on my raspberry pi 3b. It uses libgdx for the backend and thus lwjgl so it was interesting getting the natives all compiled and injected into the correct jars.
2  Game Development / Newbie & Debugging Questions / Re: lwjgl 2.9.3, mini2dx on raspberry pi unsatisfied link error on: 2019-01-13 16:32:05
The `file` returned the expected 32bit info. So it is the 'right' type.
I ran the `nm -D | grep getJNIVersion` and I didn't get anything back. So I removed the pipe to grep and there is no getJNIVersion in there at all... Which is a problem.

That also explains why it is borking on calling that from my project. This means I pretty much have to compile it manually then, right?

I found this while trying to compile manually. Trying to grab the 8 jdk now to see if it can get me further.
I'm still wondering if the source in the repo is broken.

Just successfully compiled lwjgl 2.9.3 on the pi (using JDK 1.8 instead of 9, I'm dumb). And the nm -D does show the getJNIVersion is there! Now to adjust my jars and see what happens.

Well dang it. That's all it took! Got the thing actually running now. Thanks for the help!! The that comes in the repo is in fact broken!! 
This helped especially:
What does `file` say? Is it something like ` ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5dbb547852e87aba1b74ac4c654c701bbfef1fed, stripped`?
And what does `nm -D | grep getJNIVersion` say?
Should be `... T Java_org_lwjgl_DefaultSysImplementation_getJNIVersion`.
Otherwise, try downloading the .deb package directly from:
3  Game Development / Newbie & Debugging Questions / Re: lwjgl 2.9.3, mini2dx on raspberry pi unsatisfied link error on: 2019-01-12 21:48:57
I know it isn't officially supported. I dont want to use jogl and a lot of those posts don't work and are too outdated for what I'm trying.
I was just curious if this was even close to working. I'm starting to think the lwjgl that is in the raspbian repo is just messed up and not actually an arm version. In which case I need to go back to the start and try compiling it myself again.
4  Game Development / Newbie & Debugging Questions / lwjgl 2.9.3, mini2dx on raspberry pi unsatisfied link error on: 2019-01-12 17:00:20
I am attempting to get a mini2dx project which uses libgdx backend to run on my pi 3b.

I replaced the .so files for lwjgl and and got through a bunch of errors. I also replaced the native jar files with ones from the raspbian repo that came with liblwjgl-java, But now I am stuck with the following and am unsure how to proceed.
LwjglApplication: Couldn't initialize audio, disabling audio
java.lang.UnsatisfiedLinkError: org.lwjgl.DefaultSysImplementation.getJNIVersion()I
   at org.lwjgl.DefaultSysImplementation.getJNIVersion(Native Method)
   at org.lwjgl.Sys.<clinit>(
   at org.lwjgl.openal.AL.<clinit>(
   at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame.initialiseLibGDX(
   at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame.<init>(
   at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame.<init>(
   at leikr.desktop.DesktopLauncher.main(
Exception in thread "LWJGL Application" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.Sys
   at org.lwjgl.opengl.Display.<clinit>(
   at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(
   at com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame$

it makes me think that either the that I compiled is not working, or the lwjgl files that come with the raspbian repo are wrong. I'd appreciate any advice possible, as I am out of ideas to try.

My project I am trying this with is here:
Pages: [1]
Riven (847 views)
2019-09-04 15:33:17

hadezbladez (5795 views)
2018-11-16 13:46:03

hadezbladez (2603 views)
2018-11-16 13:41:33

hadezbladez (6211 views)
2018-11-16 13:35:35

hadezbladez (1499 views)
2018-11-16 13:32:03

EgonOlsen (4734 views)
2018-06-10 19:43:48

EgonOlsen (5793 views)
2018-06-10 19:43:44

EgonOlsen (3276 views)
2018-06-10 19:43:20

DesertCoockie (4175 views)
2018-05-13 18:23:11

nelsongames (5501 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!