Link executable with embeded plugin

Discuss PDF file handling with the Polybios plugin here
Post Reply
User avatar
Juan Carlos
Posts: 521
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Link executable with embeded plugin

Post by Juan Carlos » Tue Oct 30, 2018 1:02 pm

I tryed to make an executable for 68k with polybios plugin embeded, but when I open a PDF file with my program, it can't open because does't recognize the format, the same program without embeded the plugin and using the plugins from the libs directory, works fine.
To make an executable for Amiga I have embeded other plugin more, because in Windows it isn't necessary only with polybios.

User avatar
Juan Carlos
Posts: 521
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Re: Link executable with embeded plugin

Post by Juan Carlos » Tue Oct 30, 2018 9:29 pm

I saw that there is an additional complement polybios.ext neither I got run the program added it join the program, and embeded it is impossible.

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Link executable with embeded plugin

Post by airsoftsoftwair » Tue Oct 30, 2018 11:16 pm

Yes, that's currently not possible because of Polybios' specific design. Polybios.ext will never be linked.

User avatar
Juan Carlos
Posts: 521
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Re: Link executable with embeded plugin

Post by Juan Carlos » Wed Oct 31, 2018 1:13 am

airsoftsoftwair wrote:
Tue Oct 30, 2018 11:16 pm
Yes, that's currently not possible because of Polybios' specific design. Polybios.ext will never be linked.
Well to one program under 68k needs the polybios plugin and the ext file, it is impossible makes an executable with embeded plugin. The only option makes a program using the plugin and ext file installed in the Libs.

User avatar
jPV
Posts: 283
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Re: Link executable with embeded plugin

Post by jPV » Wed Oct 31, 2018 2:13 pm

Juan Carlos wrote:
Wed Oct 31, 2018 1:13 am
airsoftsoftwair wrote:
Tue Oct 30, 2018 11:16 pm
Yes, that's currently not possible because of Polybios' specific design. Polybios.ext will never be linked.
Well to one program under 68k needs the polybios plugin and the ext file, it is impossible makes an executable with embeded plugin. The only option makes a program using the plugin and ext file installed in the Libs.
They can be in the program directory too (put the program in its own directory).

User avatar
Juan Carlos
Posts: 521
Joined: Mon Sep 06, 2010 1:02 pm
Contact:

Re: Link executable with embeded plugin

Post by Juan Carlos » Wed Oct 31, 2018 9:07 pm

jPV wrote:
Wed Oct 31, 2018 2:13 pm
Juan Carlos wrote:
Wed Oct 31, 2018 1:13 am
airsoftsoftwair wrote:
Tue Oct 30, 2018 11:16 pm
Yes, that's currently not possible because of Polybios' specific design. Polybios.ext will never be linked.
Well to one program under 68k needs the polybios plugin and the ext file, it is impossible makes an executable with embeded plugin. The only option makes a program using the plugin and ext file installed in the Libs.
They can be in the program directory too (put the program in its own directory).
Yes, I did it, because I think that AmigaOS3.x needs a new PDF viewer.

amyren
Posts: 87
Joined: Thu May 02, 2019 11:53 am

Re: Link executable with embeded plugin

Post by amyren » Thu Nov 21, 2019 3:33 pm

I just found that linking polybios.hwp to Amiga 68k actually works in some cases.
The polybios plugin was used create a simple pdf file, not to read pdf's so this might have something to do with it.

Also when I compiled the same program without linking, it did work with the polybios.hwp alone, without the ext file.

User avatar
airsoftsoftwair
Posts: 3208
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Link executable with embeded plugin

Post by airsoftsoftwair » Sat Nov 23, 2019 12:59 pm

amyren wrote:
Thu Nov 21, 2019 3:33 pm
I just found that linking polybios.hwp to Amiga 68k actually works in some cases.
The polybios plugin was used create a simple pdf file, not to read pdf's so this might have something to do with it.

Also when I compiled the same program without linking, it did work with the polybios.hwp alone, without the ext file.
Yes, polybios.ext is only needed for rendering PDFs. You don't need it for creating PDFs.

Post Reply