How to run a program on Windows exported from Mac OS X?

edited August 2015 in How To...

Not sure if this is the right category to ask in, but I'll make a topic anyway.

I use a Mac OS X with Processing 3.0b5. My program uses the Sound library and has some .vlw fonts as well. Whenever I export it for Windows and send it to a Windows computer, upon opening, the program can't load, leaving just a gray screen. What is causing this, and how can I fix it?

Additionally, if this question should be in another category, I'd appreciate it if you point me towards the correct one.

Answers

  • Make sure you have a folder called data in your sketch. In this folder put everything your sketch needs e.g. sound files, vlw etc.

    When run from the Processing IDE it will look in the sketch folder as well as the data folder, but an exported app only includes those files in the data folder.

  • All the files are already in a folder called data. What you described is no different than what I have.

Sign In or Register to comment.