modern-jogl-examples icon indicating copy to clipboard operation
modern-jogl-examples copied to clipboard

multiple compiler issues

Open tmgeorge2 opened this issue 7 years ago • 2 comments

Hi, I just try to get this running and found multiple issue. I hope I didn't screw up myself.

I have Netbeans 8.1 and downloaded modern-jogl-examples and jglm.

I am a little confused why you sometimes import glm...from the Jglm project and sometimes import framework.jglm.

File ObjectPole.java: Import is for glm.quat.Quat but the called method mult(Quat) is only defined in framework.jglm.Quat. There's also a call for Quat.cast_() which is not defined in in both …?

Some other issues I had:

  • Timer.Type.Loop -> LOOP should be all capitals
  • cannot convert frameworkjglm.Vec3 to glm.vec._3.Vec3
  • java.awt.event.MouseEvent cannot be converted to com.jogamp.newt.event.MouseEvent

As said I hope I didn’t missed anything big.

Anyway thx for the project I am really eager to try it out.

Rgds tmg

tmgeorge2 avatar Jul 28 '16 13:07 tmgeorge2

Hi,

I am updating the tutorials, the errors you see are temporary

I'll be back on Monday, however tutorial/jglm is a relict, needs to be removed

If you prefer loop capital, feel free to submit the changes :)

java.awt.event.MouseEvent is wrong, newt is the right one

Thanks

elect86 avatar Jul 29 '16 11:07 elect86

Hi! Could you provide instructions how to build and run each tutorial? Only Java, without Kotlin. And Gradle is new for me - is it necessary here? Intellij Idea can not build & run it by yourself? And this:

Error: Kotlin: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
Error: Kotlin: Class {class_name} is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler

I prefer to use Java 1.8 - does it problem?

MikePryadko avatar Feb 08 '20 09:02 MikePryadko