openpool / openpool-core

GNU General Public License v2.0
12 stars 7 forks source link

OpenPool is not working on my mac book pro #24

Open giwa opened 11 years ago

giwa commented 11 years ago

My environment is as follows;

I tried to run OpenPoolExampleImageOnBall and OpenPoolExample. However they were not running.

multiple Class-Path headers in manifest of jar file: /Users/giwa/Documents/Processing/libraries/OpenPoolCore/library/javacpp.jar multiple Class-Path headers in manifest of jar file: /Users/giwa/Documents/Processing/libraries/OpenPoolCore/library/javacv.jar multiple Class-Path headers in manifest of jar file: /Users/giwa/Documents/Processing/libraries/OpenPoolCore/library/javacpp.jar multiple Class-Path headers in manifest of jar file: /Users/giwa/Documents/Processing/libraries/OpenPoolCore/library/javacv.jar java.lang.NumberFormatException: For input string: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at processing.app.UpdateCheck.readInt(UpdateCheck.java:134) at processing.app.UpdateCheck.updateCheck(UpdateCheck.java:93) at processing.app.UpdateCheck$1.run(UpdateCheck.java:63) at java.lang.Thread.run(Thread.java:680)

giwa commented 11 years ago

Here is the update. I downloaded Processing 2.0.

I tried to run both of examples. However they are not running on my mac.

2013-06-30 14:33:21.224 java[62839:262f] Can't open input server /Library/InputManagers/MultiClutchInputManager.bundle The class openpool.DummyPool is incompatible with Processing 2.0. A library (or other code) is using registerMouseEvent() which is no longer available. A library (or other code) is using registerKeyEvent() which is no longer available. SimpleOpenNI Version 0.27 cam1_xoffset:0 cam1_yoffset:0

Cannot find anything named "ENABLE_OPENGL_4X_SMOOTH"

So, I comment out hint( ENABLE_OPENGL_4X_SMOOTH );

There is Error again Error 2013-06-30 14:40:23.613 java[62951:281f] Can't open input server /Library/InputManagers/MultiClutchInputManager.bundle The class openpool.OpenPool is incompatible with Processing 2.0. A library (or other code) is using registerMouseEvent() which is no longer available. Stopping the sketch because this code will not work correctly with OpenGL. java.lang.RuntimeException: java.lang.RuntimeException: This sketch uses a library that needs to be updated for Processing 2.0. at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58) at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100) at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205) at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172) at javax.media.opengl.Threading.invoke(Threading.java:191) at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483) at processing.opengl.PGL.requestDraw(PGL.java:1155) at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1602) at processing.core.PApplet.run(PApplet.java:2141) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.RuntimeException: This sketch uses a library that needs to be updated for Processing 2.0. at processing.core.PApplet.reportDeprecation(PApplet.java:1407) at processing.core.PApplet.registerMouseEvent(PApplet.java:1417) at openpool.OpenPool.(Unknown Source) at openpool.OpenPool.(Unknown Source) at OpenPoolExampleImageOnBall.setup(OpenPoolExampleImageOnBall.java:79) at processing.core.PApplet.handleDraw(PApplet.java:2245) at processing.opengl.PGL$PGLListener.display(PGL.java:2643) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:576) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:561) at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1024) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:899) at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:708) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:669) at java.awt.EventQueue$2.run(EventQueue.java:667) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:678) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)