Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load model in WavefrontObjDemo #19

Closed
red-hara opened this issue Aug 6, 2018 · 2 comments
Closed

Unable to load model in WavefrontObjDemo #19

red-hara opened this issue Aug 6, 2018 · 2 comments
Labels

Comments

@red-hara
Copy link

red-hara commented Aug 6, 2018

Hello. WavefrontObjDemo fails to run due to file loading error. (/home/hara/java_dev/ is the directory containing clone of 7fc7dd4).

Move the mouse to look around
Zoom in/out with mouse wheel
java.lang.IllegalStateException: Unable to open file "/home/hara/java_dev/lwjgl3-demos/file:/home/hara/java_dev/lwjgl3-demos/target/lwjgl3-demos.jar!/org/lwjgl/demo/opengl/assimp/magnet.obj".
	at org.lwjgl.demo.opengl.assimp.WavefrontObjDemo.loadModel(WavefrontObjDemo.java:194)
	at org.lwjgl.demo.opengl.assimp.WavefrontObjDemo.init(WavefrontObjDemo.java:183)
	at org.lwjgl.demo.opengl.assimp.WavefrontObjDemo.run(WavefrontObjDemo.java:303)
	at org.lwjgl.demo.opengl.assimp.WavefrontObjDemo.main(WavefrontObjDemo.java:322)

Build and run steps:

$ mvn package -Dclass=opengl.assimp.WavefrontObjDemo
$ java -jar target/lwjgl3-demos.jar
$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
ID_LIKE=archlinux
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
$ java -version
openjdk version "1.8.0_172"
OpenJDK Runtime Environment (build 1.8.0_172-b11)
OpenJDK 64-Bit Server VM (build 25.172-b11, mixed mode)
@httpdigest
Copy link
Member

Thanks for the info! This is fixed now with the latest HEAD.

@red-hara
Copy link
Author

red-hara commented Aug 6, 2018

Thank you.
Now it works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants