Page 1 of 1

errors when trying to save as standalone

Posted: Thu May 17, 2018 7:54 pm
by markhinnebusch
I am trying to save my livecode project as standalone and I am getting errors. I have done this with some smaller projects without any problem. I have tried building on both Mac and Windows and get errors on both. I have tried limiting the build to just the platform that I am building on and that has not helped.

The app is fairly large. it has one main stack and six substacks, one of which holds a fair number of audio clips and images. The total size of the project on Mac is 448.6Mb. On Windows, it is 438Mb. It seems to work just fine on both platforms but I cannot distribute it without making it a standalone.

The errors I get are attached. Is there some way to decode the error trace to get some idea of what my problem is?

thanks,
Mark

Mac:
mac.png
Windows:
windows.png
windows.png (41.27 KiB) Viewed 4768 times

Re: errors when trying to save as standalone

Posted: Thu May 17, 2018 9:06 pm
by dunbarx
Hi.

Are you using the "Splash Stack" method?

Craig

Re: errors when trying to save as standalone

Posted: Thu May 17, 2018 9:09 pm
by markhinnebusch
I went in and deleted all of the audio clips from a copy of my project and it built so it appears to be a size issue. Does anyone know if there is a setting somewhere that I can tweak? I really would prefer to not have to redesign my app

Re: errors when trying to save as standalone

Posted: Thu May 17, 2018 9:26 pm
by markhinnebusch
Craig,

I am not. One of the design goals was to allow disconnected use, so I need to keep everything in the original download.

However, I did find a workaround. If I save stacks in their own files, then the project builds. I have not yet verified that everything functions corectly, but I appear to be over the build problem.

thanks,
Mark

Re: errors when trying to save as standalone

Posted: Thu May 17, 2018 9:48 pm
by jmburnod
Hi mark,
it appears to be a size issue.
You may using external files instead of audio clip. I think you can do this easy.
Does anyone know if there is a setting somewhere that I can tweak?
Sorry I don't know
Best regards
Jean-Marc

Re: errors when trying to save as standalone

Posted: Thu May 17, 2018 10:19 pm
by dunbarx
Hi.
so I need to keep everything in the original download.
The splash stack method will build into a single executable, regardless of how many stacks/substacks and their stack files are attached to the splash stack file.

Just so you know that.

Craig

Re: errors when trying to save as standalone

Posted: Fri May 18, 2018 4:12 pm
by markhinnebusch
Thanks Craig. I did figure that out last night after I built on the Mac for Windows and then looked at what gets put in the windows folder.