Login  Register

Re: JOGL Application crashes on Windows 7 but runs fine in Eclipse

Posted by Sandhase on Dec 21, 2011; 9:38am
URL: https://forum.jogamp.org/JOGL-Application-crashes-on-Windows-7-but-runs-fine-in-Eclipse-tp3600585p3603561.html

Hi gouessej,

Hm, I excpected this answer.

I downloaded new RC5 (jogl2.0-b45-windows-amd64) but application stopped working.

I'm wondering about the missing of newt.all.jar and nativewindow.all.jar. They don't exist anymore in the download. Just in the "atomic" folder there are some newt and nativewindow jars but I don't need them anymore?

I use now jogl.all.jar and gluegen-rt.jar. These two jars added to the project and in java.library.path I added the folder containing the .dll's and the jogl.natives and gluegen-rt.natives jar's

Well, I changed Animator to AnimatorBase and FPSAnimator is still the same (Just another import). Afterwards i changed all BufferUtils to com.jogamp.common.nio.Buffers and the methods "newFloatBuffer" to "newDirectFloatBuffer".

All libraries are found starting it from eclipse and the window containig the opengl drawing appears but as soon as i drop data on the window that should be displayed nothing works. All i can do is moving the complete application window. All other UI elements do not react on any user inputs and i have to kill the application in the eclipse console.

Any idea what changes are als necessary? I have to say that i did not developed the jogl part of the application.


ANother additional information to the first post:
I need not run the application in eclipse, it is enough to have eclipse open to succed in loading the opengl window in the deployed application

br
sandhase