question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I build gdx-gltf-demo.jar?

See original GitHub issue

The readme ( https://github.com/mgsx-dev/gdx-gltf/blob/master/demo/README.md ) says to run gdx-gltf-demo.jar. I tried gradlew assembleRelease and gradlew jar and couldn’t find gdx-gltf-demo.jar. I haven’t worked with multi-module gradle setups much, but I tried going to demo/desktop and running gradle tasks (yes, with gradle 2.14.1 🤦), and it failed with a nondescript NPE:

:demo:desktop:tasks FAILED

FAILURE: Build failed with an exception.

* What went wrong:
java.lang.NullPointerException (no error message)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
mgsx-devcommented, Aug 18, 2020

you need to run gradlew dist, you’ll find the jar file in demo/desktop/build/libs folder. due to old gradle version, i’m not sure you can use latest java versions, should be fine with java 8 though. Let me know if it works for you, i’ll add it to the readme. Thank you for your feedback.

1reaction
travisfwcommented, Aug 18, 2020

Thanks very much for your support. I’ve built the demo and downloaded the glTF samples, and can now easily run on desktop. 👌

Read more comments on GitHub >

github_iconTop Results From Across the Web

Community Showcase: GDX glTF - libGDX
gdx -gltf is a library that enables advanced 3D for your games. Detailed features are already listed in the repository. In this article,...
Read more >
mgsx-dev / gdx-gltf Download - JitPack
Desktop : Desktop demo allow you to open and inspect any GLTF file. See gdx-gltf-demo readme for futher information.
Read more >
3D Graphics - Importing Blender Models in libGDX - 书栈网
OBJ format is partially supported and not recommended for production. Alternatively, you can use glTF format via third party library gdx-gltf ...
Read more >
Java main desktop launcher - ProgramCreek.com
Project: gdx-gltf Author: mgsx-dev File: DesktopLauncher.java License: Apache License 2.0, 6 votes ... config.width = 1024; config.height = 768; GLTFDemo.
Read more >
LibGDX Java Fatal Error when destroying Fixture...anycodings
destroyFixture(Lcom/badlogic/gdx/physics/box2d/Fixture;)V+6 j blocks.Part.close()V+22 j ingens.Ingens.create()V+250 j com.badlogic.gdx.backends.lwjgl.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found