Compiling and executibles
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 32
- Joined: Sun Jun 22, 2014 2:37 am
Compiling and executibles
Hi again folks. Another general question. When distributing stacks, is it a single .exe file (in Windows)? No library or anything? I assume this is a translated language and the exe would include all the runtime and code. I would also assume external files such as video and sound would not be included in the exe. Is my thinking correct? Thank you.
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Compiling and executibles
Depending on what your program does, there may be libraries that are included outside of the .exe. For example if your stack uses a MySQL database, there will be some external .DLL files. As far as including video files, you can include them as part of your stack by importing them, but they will be loaded into memory when the stack is opened. You can alternatively reference external sounds,images, etc by their filepath.
--Sefro
edit:
here's a relevant tutorial on importing/referencing image files:
http://lessons.runrev.com/m/4603/l/44144-using-images
--Sefro
edit:
here's a relevant tutorial on importing/referencing image files:
http://lessons.runrev.com/m/4603/l/44144-using-images
-
- Posts: 32
- Joined: Sun Jun 22, 2014 2:37 am
Re: Compiling and executibles
Thanks. Am I correct that LiveCode, when using the non-community version, is interpreted with a runtime built into the exe? Thanks.
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: Compiling and executibles
As far as I know this is the case with both the community and commercial editions. I think the main difference between commercial/community is the licensing (anything created in LC community must be released under a GPL v.3 license) and the ability to password protect stacks.
--Sefro
--Sefro