We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi everyone! I hope someone can help me here. I'm trying to run my exported application. It runs but doesn't show anything. Why?
I'm using: Win7 Professional SP1 32 bits, Processing 2.2.1 and Java 8.
The link to the code is below! I'm sorry, I looked for code quote but I didn't find it so I prefered post the code through sourcepod site: http://www.sourcepod.com/icnhpk63-61863
Answers
Your program crashes if it can't find the com port so the draw method never gets called.
Change the setup method to this, then myPort will be null if it can't find the port and you can always test this later in your sketch to confirm whether the port is open or not.
BTW Just tried exporting it for OSX and my modified code worked in that it displayed the screen even though it couldn't find the com port
I still having the same problem...
But I've gotten the same errors (since before make this change), they are:
Framebuffer error (framebuffer unsupported), rendering will probably not work as expected Read http://wiki.processing.org/w/OpenGL_Issues for help. OpenGL error 1280 at bot beginDraw(): invalid enumerant OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation OpenGL error 1286 at top endDraw(): invalid framebuffer operation
I don't have a video board, I've a onboard Mobile Intel(R) 4 Series Express Chipset Family. But however, I guess it's not the way to fix the main problem...
I just upgrade to 3.0a5 version, now I got it! Now it works... Quark, thank you for the advice...
"I looked for code quote but I didn't find it"
Have you looked at the sticky on top of this forum? Processing forum rules and advices