Trying to get started with the demos...

I’m trying to get started with the demos (https://jogl-demos.dev.java.net/) and I’m running into some problems. First, when I run the demos using javaws.exe from the demos page, they work correctly and can be used, but when I close the applicated, 100% of the time, it reboots my computer (Win XP Pro sp 2). I then tried to compile and run the demos from inside of eclipse so I could try to catch what was going wrong, and I can get it to compile, but when I start it, it tells me that I don’t have gl.dll (not jogl.dll, that is installed and is found). I searched my drive for this file, and found a copy in my FarCry directory, so I put that and cg.dll in the path and then I would get:
“The procedure entry point cgGLUnbindProgram could not be located in the dynamic link library cgGL.dll.”

Where do I get updated copies of these DLLs to use with JOGL? I have googled it and very little is mentioned about these DLLs. I have the feeling they should be installed with my video card drivers, but I have the most recent NVidia drivers available.

Java 1.5.0, NVidia driver 66.93 on a 6800GT.

Thanks!
Jason

The fact that your computer is rebooting clearly indicates some sort of driver bug. There is no way an application should be able to cause that kind of crash. Have you tried an older driver version? (Is there one that supports the 6800?)

You need opengl32.dll and cgGL.dll in order to use JOGL with the Cg bindings. opengl32.dll is in your Windows\System32 directory. You can download the Cg SDK from NVidia’s web site. JOGL’s Cg binding requires version 1.3 beta 2 of the Cg SDK.

Thanks - installing the SDK from NVidia solved my dll issues - now I’m back to having the computer reboot when I close it :wink:

I agree its probably the drivers. These demos are the only thing that I can trigger the problem with, but it sure doesn’t sound like this is a common problem - so it must just be me. I can probably figure it out from here…

Thanks for the help!

; :smiley: