Building standalone with external
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Building standalone with external
I asked this question here (viewtopic.php?f=7&t=5202) but I'm thinking it warrants it's own thread. How do you bundle an external when you build a standalone application. It runs well in the studio, but when I build the standalone the button that calls an external doesn't work.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: Building standalone with external
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Building standalone with external
Trevor.. Thanks. I've already seen that document and tried that, but my external (libkiosk) doesn't show up in the "Script Libraries" section of the "Standalone Application Settings". Not sure how to debug that.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: Building standalone with external
I just went through the instructions and libkiosk showed up under scripts. What did you enter in the Externals.txt file in the Runtime folder? I added:
libkiosk,libkiosk.bundle
libkiosk,libkiosk.bundle
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Building standalone with external
I added the same thing. What does the structure of your "My Revolution Enterprise" folder look like? It's strange because it works if I run it from the studio.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: Building standalone with external
The same as in the lesson example.
Code: Select all
My Revolution Enterprise
Externals
libkiosk.bundle
Externals.txt
Runtime
Mac OS X
Universal
Externals
libkiosk.bundle
Externals.txt
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Building standalone with external
Ah.. sheesh.. I had a typo in the Externals name. It shows up now so let me try to build it.
Re: Building standalone with external
Hm.. it includes it now if I explore the package contents but it still doesn't work. How do you typically debug this in the standalone environment?
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: Building standalone with external
In order to confirm that it should work I built a standalone using the stack that comes with the libkiosk download (after updating the standalone settings to include the external). Everything worked as expected.
The last step in the lesson providers the hint as to how to verify that the Rev engine loaded the external in a standalone. When Rev builds a standalone it creates a stack named "revExternalLibrary". Add a button to your program with the following code:
Does libkiosk appear among the lines?
The last step in the lesson providers the hint as to how to verify that the Rev engine loaded the external in a standalone. When Rev builds a standalone it creates a stack named "revExternalLibrary". Add a button to your program with the following code:
Code: Select all
answer the externalPackages of stack "revExternalLibrary"
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Re: Building standalone with external
I get nothing when I do that...empty dialog box. This may be a stupid question, but could this be related to the fact that I'm still using the trial? We're in the process of purchasing but hasn't gone through yet.
I'm also having an issue with a command getting called related to a URL:
put URL "http://blah" into theWebPageContent
The URL isn't actually getting called when build as a standalone but is getting called when I run it within Rev Studio.
I'm also having an issue with a command getting called related to a URL:
put URL "http://blah" into theWebPageContent
The URL isn't actually getting called when build as a standalone but is getting called when I run it within Rev Studio.
Re: Building standalone with external
We got our license and I still have the issue. So it's not related to the trial.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Contact:
Re: Building standalone with external
So no url commands work and no externals work when building a standalone? I haven't seen this before myself so I'm not sure what could be going on. Maybe try a fresh install?
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder