Hello,
I'm having some issues with a sketch that needs to exported as a windows application.
Everything works fine when I run the sketch within Processing, but when I export, the 32bit application
does not work at all (a process is launched, but that's about it, no window gets displayed) and the 64bit
application freezes.
I've isolated the code into the simplest sketch that fails:
- import codeanticode.gsvideo.*;
- import codeanticode.glgraphics.*;
- import processing.opengl.*;
- GSMovie movie;
- void setup(){
- size(screenWidth, screenHeight, GLConstants.GLGRAPHICS);
- String moviePath = dataPath("file.mp4");
- background(255);
- fill(0);
- text(moviePath,100,100);
- text("exists: " + (new File(moviePath).exists()),100,122);
- movie = new GSMovie(this, moviePath);
- }
- void draw(){
- frame.setTitle(int(frameRate) + " fps");
- }
If I comment out line 15 (
movie = new GSMovie(this, moviePath);) the exported application works, so there might be something not quite right there. The problem is I can't see any logs and hints to what might be wrong.
Any hints/tips ?
1