I wrote program "Crono", who can be found on Aminet and OS4 depot. It generates calendars in PDF format. I tested it under systems with and without Polybios installed. All worked fine for me, so I released program. But, I readen users comments (one on OS4 depot, another by email sent to me) who report problems. Error reported is "This program requires polybios.hwp!". Both users have Polybios installed. In my source code, Polybios is embedded, in order to have an independent executable. Line of code is:
@REQUIRE "polybios"
What went wrong? I mistaked in embedding Polybios, or there is something who I don't saw?
Polybios plugin embedded in executable but sometimes required
Re: Polybios plugin embedded in executable but sometimes required
Hollywood manual, 2.1 Overview, Plugins (PDF Page 10):
"When distributing a compiledHollywood program, plugins required
by your program must simply be put into the samedirectory as your
program."
Griessli
Tipsi
"When distributing a compiledHollywood program, plugins required
by your program must simply be put into the samedirectory as your
program."
Griessli
Tipsi
-
- Posts: 196
- Joined: Fri May 15, 2015 5:15 pm
- Location: Ft. Collins, Colorado USA
Re: Polybios plugin embedded in executable but sometimes required
Embedded plugins aren't supposed to need that file externally, however.
- airsoftsoftwair
- Posts: 2777
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Polybios plugin embedded in executable but sometimes required
Just doing a
won't embed the plugin in the executable. You need to do this instead:
Code: Select all
@REQUIRE "polybios"
Code: Select all
@REQUIRE "polybios", {Link = True}
Re: Polybios plugin embedded in executable but sometimes required
Now it works. Thank you very much!!!