Processing3 on Windows10 on Parallels13

I have a sketch we're trying to run cross platform, developed on Mac where it works, testing on Windows10 (latest version 32 bit) installed as virtual machine via Parallels13 (latest version (had same issue when tried with Parallels12)). The program freezes when it can't find gio-2.0 - "java.lang.UnsatisfiedLinkError: can't load library gio-2.0......". Generally, Processing3 works on my Windows/Parallels instance, but not with this program. I'm wondering why I might be missing this library and how to correct the issue.

Or should I just give up, too many VM's within VM's, and find a proper machine to test on.

Error: java.lang.UnsatisfiedLinkError: can't load library gio-2.0 (gio-2.0|libgio-2.0|libgio-2.0-0) with -Djna.library.path=/Mac/Home/Documents/Processing/libraries/video/library/. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'gio-2.0': Native library (win32-x86/gio-2.0.dll) not found in resource path ([file:/C:/Users/Poltergeister/AppData/Local/Temp/URSart15497888058837730583temp/, file:/C:/Program%20Files/processing-3.3.6/core/library/core.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-linux-aarch64.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-linux-amd64.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-linux-armv6hf.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-linux-i586.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-macosx-universal.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-windows-amd64.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt-natives-windows-i586.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/gluegen-rt.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-linux-aarch64.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-linux-amd64.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-linux-armv6hf.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-linux-i586.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-macosx-universal.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-windows-amd64.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all-natives-windows-i586.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/jogl-all.jar, file://Mac/Home/Documents/Processing/libraries/video/library/gstreamer-java.jar, file://Mac/Home/Documents/Processing/libraries/video/library/video.jar, file://Mac/Home/Documents/Processing/libraries/video/library/jna.jar, file://Mac/Home/Documents/Processing/libraries/sound/library/sound.jar, file:/C:/Program%20Files/processing-3.3.6/lib/, file:/C:/Program%20Files/processing-3.3.6/lib/pde.jar, file:/C:/Program%20Files/processing-3.3.6/core/library/core.jar, file:/C:/Program%20Files/processing-3.3.6/lib/jna.jar, file:/C:/Program%20Files/processing-3.3.6/lib/jna-platform.jar, file:/C:/Program%20Files/processing-3.3.6/lib/antlr.jar, file:/C:/Program%20Files/processing-3.3.6/lib/ant.jar, file:/C:/Program%20Files/processing-3.3.6/lib/ant-launcher.jar]) at processing.opengl.PSurfaceJOGL$2.run(PSurfaceJOGL.java:408) at java.lang.Thread.run(Thread.java:748)

    A library relies on native code that's not available.
    Or only works properly when the sketch is run as a 64-bit application.
    Could not run the sketch (Target VM failed to initialize).
    For more information, read revisions.txt and Help ? Troubleshooting.

Code:

import processing.video.*;
import processing.sound.*;

Movie videoU;
Movie videoM;
SoundFile presser;

int value = 0; // the flag for which movie plays
float movieJump = 0;
float fps = 24;

//float myFramerate?


String path = sketchPath();

String line;
int count = 0;
int variation; // testing
String[] dataIn;

int counter; //testing for now

void setup() {
  //fullScreen();
  size(800, 480, P2D);
 // background(0);
  //frameRate(25);
  noCursor();
  imageMode(CORNER); //Use Corner mode to size the video
  stroke(204, 204, 204);   
  println("*** Endlicher Automat is running ***"); // is returned to termnial

  videoU = new Movie(this, "EAU-oct19_FINAL-2-u3.mov"); //EAU-oct19_FINAL-2-u.mov
  videoM = new Movie(this, "EAU-oct19_FINAL-2-m3.mov"); //EAU-oct19_FINAL-2-m.mov

  videoU.loop();
  videoM.loop();

  presser = new SoundFile(this, "samplePRESSER.mp3");

  value = floor(random(0,2));
}  

void draw() {
  background(0);



 if (value == 0) {
   videoU.read();
   image(videoU, 0, 0, width, height);
   videoM.volume(0);
   videoU.volume(99);
 } else {
   videoM.read();
   image(videoM, 0, 0, width, height);
   videoU.volume(0);
   videoM.volume(99);
 }


  //text(videoM.time(), width-50, height-100);
  //text(videoU.time(), width-50, height-120);
  //text(value, width-50, height-80);
  //text(counter, width-50, height-60);
  //fill(c1);// c1 no longer available - was already  commented out
  //rect(width-50, height-50, 40, 40);
  //fill(204, 204, 204);   

  counter++;
}
 //movieJump increment? movieJump + 1/framerate ??


void mousePressed() {
  presser.play();
  if (value == 0) {
    movieJump = videoU.time() + 1/fps;
    videoM.jump(movieJump);
    value = 1;
   } else {
    movieJump = videoM.time() + 1/fps;
    videoU.jump(movieJump);
    value = 0;
   }
}
Sign In or Register to comment.