Compiling and executibles

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
JackieBlue
Posts: 32
Joined: Sun Jun 22, 2014 2:37 am

Compiling and executibles

Post by JackieBlue » Tue Jun 24, 2014 6:50 pm

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.

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Compiling and executibles

Post by sefrojones » Tue Jun 24, 2014 6:56 pm

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

JackieBlue
Posts: 32
Joined: Sun Jun 22, 2014 2:37 am

Re: Compiling and executibles

Post by JackieBlue » Wed Jun 25, 2014 3:45 am

Thanks. Am I correct that LiveCode, when using the non-community version, is interpreted with a runtime built into the exe? Thanks.

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Compiling and executibles

Post by sefrojones » Wed Jun 25, 2014 6:34 am

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

Post Reply