We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi guys , i'm in trouble exporting a small script. This is my first program. i need help to understand. So i have write a small script who run fine . but the export don't start an linux and mac too. Should i write something ? i can show my code if necessary. can someone help me. thanks guys
Answers
Post the code and any errors you see.
Operating system? Which version of processing?
You can't export applications for Mac OS from a Windows PC.
When i run the programm no probleme with pde. Export report no probleme but when i launch the app i got a grey window without nothing else. of course i run a win app in a windows operating system and i compile a mac app in a mac operating system. here is the code :
Thanks guys
sorry processing 3,3 and i've update java too
That is not, in my book, "a small script".
The imports might cause you trouble. The fonts also. You need to include those in your export, I don't think that happens automatically. Examine the exported directory, see if the necessary jars are there.
Also, to format your code for the forum, edit your post, highlight the code and press ctrl-o
ok. Thanks to help me. this is my first app !! i'm a newbee :-) Can you explain me more in details. i use the interfacia library . yes it is not in the source file. should i copy it in or something like that ? i have copy the font too. but where exactly . thanks Koog.
(The imports won't cause trouble, no worries. That was with Processing 1, AFAIK even P2 didn't have the problem)
The fonts, on the other hand may. You must have put them in the data folder, right?
Perhaps, try using loadFont instead.
ok it's fix guys !! i have copy the fonts but one more problem was in the script to call java. So i have had import java.* and the export works now .
this is fix.thanks for your support and fast answer. see you soon
(Processing IDE should have taken care of that. Strange.)