We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am trying to export an application from processing. I have exported the application and given it to several people, but it starts up and then is a completely blank screen. This screen has the same dimensions that I specified in size(), but nothing is being drawn on it. I have exported a previous version of the same thing, and others could run it fine. The main thing that I have changed is adding sound using processing.sound. I think the problem may be that the the application is failing to load the sound files, but I don't know why it should. I cannot check a console for errors because the .exe file is blocking all error printouts, and we have not been able to successfully run from the .jar in the application.
Answers
I opened the .exe file with a text editor. Most of it is just weird symbols, but at the end is:
This appears to be command line text for running the code, I do not know why the error appears, but I think this is the reason the program is failing. It seems to be a problem with how the sound is being run, I am using processing.sound, which should work, but it doesn't. Everything above this text is symbols that the text editor turns the .exe code into, and nothing other than this is actual text.
Actually, there is another section that contains text:
I know it is long, but this seems to have some error messages. I don't know why there should be errors in the middle of an exe file that I have not run, but there are. The first line of the file is:
The problem with this is that processing.sound doesn't work on windows, it is completely broken. Now I am using minim, which is almost the same, but works on windows.
I think the text
This program cannot be run in DOS mode.
is perfectly normal (it's an error message for people with truly ancient computers), but the rest looks like a bug. Please could you report this at the processing-sound bug tracker?