Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Buffers have not been created" error for sketches w/o draw() #2469
On Windows: Sketches w/o draw() that call exit() in setup() gives a "Buffers have not been created" error (full stack trace below.) This is a trivial issue for the most part, but can be confusing for sketches that process data in setup() and then exit. Confirmed for 2.1.2 on Windows.
Possible workaround: Creating a draw() w/ a call to exit(), preferably w/ "if(frameCount>5) exit()").
produces the below:
Apologies, as always.