Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
369 views
in Technique[技术] by (71.8m points)

gradle - GLCanvas doesn't show up

I am currently experiencing a very weird problem with Jogl. I will try my best to describe the problem. My IDE is: IntelliJ Ultimate. Graphics Card: Intel HD Graphics 520.

Currently I am working with WorldWind. I have one "normal" Project that uses no Gradle, Maven etc. In that Project everything works normal and i see a Window opening. Then i have another Project that uses Gradle which has Jogl and Gluegen as a dependency like this:

compile group: 'org.jogamp.gluegen', name: 'gluegen-rt-main', version: '2.3.2'

compile group: 'org.jogamp.jogl', name: 'jogl-all-main', version: '2.3.2'

And when i want to create a WorldWindGlCanvas like this: WorldWindowGLCanvas wwd = new WorldWindowGLCanvas();

nothing happens. I create the window using SwingUtilities.invokeLater() but the thread is just stuck at that point and i dont know why.

I dont really know if Gradle is the Problem but i also have received a project from a colleague that uses Gradle and it works on his computer but i have the same Problem as above. I also had a "normal" Jogl project where it just randomly stopped working from one day to another and now nothing shows up anymore so im quite certain that the problem has something to do with OpenGL.

I haven't found anything anywhere about this problem but maybe someone experienced something similar or has an idea what i can do.

Edit: I have the newest driver for my graphics card and it still doesn't work.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...