IntelliJ & Open Kinect for Processing

Hi all,

I’m using Processing and IntelliJ due to the availability of Gradle (I’m not programming for Android, though) and because Processing’s IDE lacks some features that other development environments have.

I’ve imported Processing’s libraries using your official tutorial (works flawlessly), but I’m having issues with the openkinect_processing library.
I’ve added the following dependencies (Windows 10, x64):

  • Classes: openkinect_processing.jar
  • Native library locations: folders v1/msvc and v2/msvc

I must’ve missed something because I get the following error in IntelliJ:

java.lang.NoClassDefFoundError: com/jogamp/common/nio/Buffers
	at org.openkinect.processing.Kinect.<init>(Unknown Source)
	at MySketch.settings(
	at processing.core.PApplet.handleSettings(
	at processing.core.PApplet.runSketch(
	at MySketch.main(
Caused by: java.lang.ClassNotFoundException: com.jogamp.common.nio.Buffers
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
	at java.base/java.lang.ClassLoader.loadClass(
	... 5 more

47th line: kinect = new Kinect(this);

My code works in Processing’s IDE.
What am I missing?

Thanks in advance.