errors when trying to save as standalone

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
markhinnebusch
Posts: 40
Joined: Thu May 17, 2018 7:32 pm
Location: Florida, USA

errors when trying to save as standalone

Post by markhinnebusch » Thu May 17, 2018 7:54 pm

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 3849 times

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9579
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: errors when trying to save as standalone

Post by dunbarx » Thu May 17, 2018 9:06 pm

Hi.

Are you using the "Splash Stack" method?

Craig

markhinnebusch
Posts: 40
Joined: Thu May 17, 2018 7:32 pm
Location: Florida, USA

Re: errors when trying to save as standalone

Post by markhinnebusch » Thu May 17, 2018 9:09 pm

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

markhinnebusch
Posts: 40
Joined: Thu May 17, 2018 7:32 pm
Location: Florida, USA

Re: errors when trying to save as standalone

Post by markhinnebusch » Thu May 17, 2018 9:26 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: errors when trying to save as standalone

Post by jmburnod » Thu May 17, 2018 9:48 pm

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
https://alternatic.ch

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9579
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: errors when trying to save as standalone

Post by dunbarx » Thu May 17, 2018 10:19 pm

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

markhinnebusch
Posts: 40
Joined: Thu May 17, 2018 7:32 pm
Location: Florida, USA

Re: errors when trying to save as standalone

Post by markhinnebusch » Fri May 18, 2018 4:12 pm

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.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”