Hi,
Just trying to get started with JOCL... I'm using jocl-b188-2010-09-21_04-00-52 build Running CLInfo, I get the following runtime error: Exception in thread "main" java.lang.NoSuchMethodError: com.jogamp.opencl.impl.CLProcAddressTable.initEntry(Ljava/lang/String;Lcom/jogamp/common/os/DynamicLookupHelper;)V at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:101) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:92) at com.jogamp.opencl.demos.info.CLInfo.main(CLInfo.java:37) In fact, all the demos throw the same NoSuchMethodError exception... Any idea about what could be wrong with my setup? cheers, Vincent |
how are you starting the demo? Via NetBeans? Is GlueGen in the classpath? the same demo is also available via webstart: http://jogamp.org/jocl-demos/www/ We only tested the webstart demo rudimentary on ubuntu 64, windows 64 and gentoo linux. (OpenJDK 6 and Oracle/SUN JDK 6u21) I will upload mac builds today, they are currently missing, best regards, and thanks for testing, michael On 09/22/2010 05:25 PM, vince [via jogamp] wrote: Hi, -- http://michael-bien.com/ |
Michael,
It is working now! I'm using eclipse 3.5 on windows. The problem is that I mixed an old version of jogl (june 2010) with the latest available jocl. Thanks for helping. Your question about GlueGen put me on the right track! cheers, Vincent |
perfect...
-michael On 09/23/2010 10:51 AM, vince [via jogamp] wrote: Michael, -- - - - - http://michael-bien.com |
Hi,
i've nearly the same Problem. I'm using: - jogl.all.jar 28-Apr-2010 05:06 - jogl-natives-windows-i586.jar 28-Apr-2010 05:06 (dlls unpacked to run dir) - jocl.jar 10-Sep-2010 13:22 - jocl-natives-windows-i586.jar 09-Sep-2010 14:29 (dll unpacked to run dir) - gluegen-rt.jar 28-Apr-2010 05:06 - gluegen-rt-natives-windows-i586.jar 28-Apr-2010 05:06 (dll unpacked to run dir) - windows 7 as OS - eclipse as IDE and i get the following error: Exception in thread "main" java.lang.NoSuchMethodError: com.jogamp.opencl.impl.CLProcAddressTable.initEntry(Ljava/lang/String;Lcom/jogamp/common/os/DynamicLookupHelper;)V at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:101) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:92) at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:136) on this line: CLPlatform platform[] = CLPlatform.listCLPlatforms(); respectively this line: context = CLContext.create(); here you can see my elipse projectview: http://www.abload.de/img/eclipsevysb.png I have no idea whats wrong :( rgds |
PS: The webstarted CLInfo works fine.
|
In reply to this post by sv
we did today a build so you could give those libs a try: http://jogamp.org/deployment/autobuilds/gluegen-b208-2010-11-18_09-20-14/ http://jogamp.org/deployment/autobuilds/jocl-b202-2010-11-18_09-38-04/ http://jogamp.org/deployment/autobuilds/jogl-b222-2010-11-18_09-22-04/ we will soon begin to provide (signed) release candidates which should simply it to grab the right binaries. But if you would like to check for yourself if two libraries match you can always take a look at the build numbers in the artifact.properties of each build and compare them. hope that helps, michael On 11/19/2010 12:22 AM, sv [via jogamp] wrote: Hi, -- http://michael-bien.com/ |
Free forum by Nabble | Edit this page |