Login  Register

Re: Where is the package com.jogamp.opengl.cg?

Posted by Marco on Oct 25, 2019; 9:02am
URL: https://forum.jogamp.org/Where-is-the-package-com-jogamp-opengl-cg-tp4040121p4040123.html

Thank you for answer.
I added these jar (with the windows 64 bit version) but when I call the method CgGL.cgGLIsProfileSupported I have some exceptions that depend on the error message:

Caused by: java.lang.RuntimeException: Couln't load native Cg or CgGL library
        at com.jogamp.opengl.cg.CgGL.<clinit>(CgGL.java:6582)

I tried to launch with the option -Djogamp.debug=1 and I have many messages I cannot understand. The first lines are:

NativeLibrary.findLibrary(<java>, sun.misc.Launcher$AppClassLoader@5b3d9c02) (CL): null
findSysLib #0: test java.dll
findSysLib #0: java.dll not readable
findSysLib #1: test C:\Program Files\Java\jdk1.7.0_79\jre\bin\java.dll
ELF-1: Using C:\Program Files\Java\jdk1.7.0_79\jre\bin\java.dll
Caught: Buffer is not an ELF Header
java.lang.IllegalArgumentException: Buffer is not an ELF Header

Do you have any ideas?