Problem using VideoExport in Eclipse


hello @hamoid! im trying to use your librarie in Eclipse… but the console show me this error:

java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Wincon

at processing.opengl.PSurfaceJOGL$


Caused by: java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Wincon

at Main.setup(

at processing.core.PApplet.handleDraw(

at processing.opengl.PSurfaceJOGL$DrawListener.display(

at jogamp.opengl.GLDrawableHelper.displayImpl(

at jogamp.opengl.GLDrawableHelper.display(

at jogamp.opengl.GLAutoDrawableBase$

at jogamp.opengl.GLDrawableHelper.invokeGLImpl(

at jogamp.opengl.GLDrawableHelper.invokeGL(

at com.jogamp.newt.opengl.GLWindow.display(

at com.jogamp.opengl.util.AWTAnimatorImpl.display(

at com.jogamp.opengl.util.AnimatorBase.display(

at com.jogamp.opengl.util.FPSAnimator$

at java.util.TimerThread.mainLoop(


i can import the librarie correctly, but the error is in the line that i create the videoExport obj:

videoExport = new VideoExport(this);

im doing something wrong? i put the ffmpeg file into the folder also. its the basic sketch example, but in eclipse


This should help:

I don’t think you need to add ffmpeg to eclipse. You just need to make sure it is in your PATH variable. If you open a command prompt and type echo %PATH%, the path of the ffmpeg executable should be there in that output.



Hi! Which OS, version, Processing version and Java version are you using?


Java 8, El capitan, processing 3


I’ll check out the code. Strange that it tries to access com/sun/jna/platform/win32/Wincon if you are on Mac.


Try, but still not working.