Standalone - stack already in memory and revMacCursors

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Standalone - stack already in memory and revMacCursors

Post by jameshale » Wed Dec 01, 2021 3:08 am

Hi,

I am in the process of building an app (Mac, iOS and Android) and so have been building quite a few standalones.

Two things have kept coming up.
1. Alerts about mystack" is already in memory" and
2. Alert "stack "revMacCursors" is already in memory.

I have discovered that to get rid of 1 and 2 (after something else) I need to close ALL open windows within the IDE with the exception of the stack I am building of course before building. Once all are closed the build goes though without the alerts.

The something else I mentioned above was to check your stack AFTER getting (2), say in the project browser, and delete the "ravMacCursors" substack that will have been added. Why it gets added I don't know, but (2) will keep returning until it is deleted.

Note the above doesn't happen every time I build the standalones but enough to p**s me off.

So now I try to remember to close all open windows before building.

oh yes, I am using the lastest builds of LC and MacOS 11 (can't run Monterey :cry: )

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

Re: Standalone - stack already in memory and revMacCursors

Post by dunbarx » Wed Dec 01, 2021 3:26 pm

James.

I see the "Cursors" dialog every time I build a new version of my main project. I ignore it. There are threads about this, but it seems to do no harm. I also see the memory thing, even when I believe that I am working on a newly named variant of an older version. Sometimes I am asked to purge the old version. I always do, and never have had an issue.

So except for the slight annoyance, I just hit a few buttons and keep going...

Craig

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Standalone - stack already in memory and revMacCursors

Post by jacque » Wed Dec 01, 2021 5:15 pm

I've heard several complaints about both behaviors but I have never seen either of them. I wonder if it has to do with some settings.

In the message box, set the destroystack of the stack to true. I have my LC prefs set to create all new stacks with that setting. This way when you close the stack it's removed from memory. When LC builds a standalone it opens and closes the stack so this setting may be affecting it.

In standalone settings, make sure you have chosen to select inclusions manually. Then check the Inclusions pane to ensure that revMacCursors are not selected. If you have been allowing LC to scan for inclusions, it may be adding the cursors by default.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Standalone - stack already in memory and revMacCursors

Post by dunbarx » Wed Dec 01, 2021 5:57 pm

Jacque,

Hi.

I have those same settings (destroyStack and manual inclusions), and always see these things. The "stack already in memory" comes up, as I said, even when opening an older version that has a different name to check on what I did wrong between then and now. :wink:

Craig

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: Standalone - stack already in memory and revMacCursors

Post by jameshale » Thu Dec 02, 2021 3:35 pm

yes I also have the settings set as described.
I just click "Save" when the same stack dlog appears when it happens, but the revMacCursors substack is really bizarre.
I have no idea what is prompting LC to add it to my stack.
I wish I could point to a recipe but it just seems random as it does occasionally happen even if I remember to close all windows.
oh well.

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: Standalone - stack already in memory and revMacCursors

Post by jameshale » Fri Dec 03, 2021 1:15 am

Ah Apologies.
Just checked stand alone setting and find I do have the "cursors" included.
given I don't require any (apart from the normal OS pointer) I excluded and rebuilt.
All seems fine.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Standalone - stack already in memory and revMacCursors

Post by FourthWorld » Fri Dec 03, 2021 2:03 am

I'm curious: do you see "revMacCursors" among the output from running this in the Message Box:

Code: Select all

put the substacks of stack <mainstackname>
... where "<mainstackname>" is the short name of your mainstack.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: Standalone - stack already in memory and revMacCursors

Post by jameshale » Fri Dec 03, 2021 3:27 am

Only if the revMacCursors alert appears.
Than I need to de7 the substack from my project as it has been added.
If the alert does not appear the substack is not added.
So somewhere during the build process, LC adds it.

SteveFI
Posts: 30
Joined: Tue Mar 16, 2021 6:15 pm

Re: Standalone - stack already in memory and revMacCursors

Post by SteveFI » Fri Dec 03, 2021 2:19 pm

I was going to say "check your substacks" because I once suffered a crash during the build process (restrictions had been added to my computer, so it couldn't write something to where it needed to) and the cursors stack had been added to my mainStack and saved.

I just had to go and delete the substack and all was fine afterwards (and tell off IT for complicating my life).

Steve

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”