At my home, I have cobra installed. I can compile and run my program without issue. But at work I don't have cobra installed. I get an error that Cobra.Lang is missing when I'm running the exe that was compiled from home.
So, if I include Cobra.lang.dll in the program directory, the program runs. Is this abnormal? When distrubting a cobra application, do you need to include this file Cobra.lang.dll?
Alternatively, is there a way to compile multiple files into one exe. Say I had program.cobra & library.dll -> program.exe? Or would I do this with separate packager after the compilation?
Forums
Compiling and Distribution
3 posts
• Page 1 of 1
Re: Compiling and Distribution
I believe you want to compile your app w/ the -ert switch (Embed run-time). It will put same logic in your app as the Cobra.Lang.dll.
http://cobra-language.com/trac/cobra/wiki/CommandLine
http://cobra-language.com/trac/cobra/wiki/CommandLine
- torial
- Posts: 229
- Location: IA
Re: Compiling and Distribution
That's exactly what I needed.
It looks like that documentation is still "todo" on the wiki. Maybe I can contribute.
It is in the help on the command line though. I missed it there too.
Thanks much!
It looks like that documentation is still "todo" on the wiki. Maybe I can contribute.
It is in the help on the command line though. I missed it there too.
Thanks much!
- taylorzr
- Posts: 6
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 45 guests