Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

PowerPDF Installation

17 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins

Hi all,

I noticed that JPegForLazarus has been replaced with ImagesForLazarus.

I'm trying to install powerpdf into my ide and I have:

1. Installed ImagesForLazarus.
2. Removed required of JpegForLazarus from the powerpdf package.
3. Added ImagesForLazarus as a requirement to powerpdf package.
4. Attempt to compile powerpdf package.

However, lazarus still complains that it cannot find LazJPEG which I can see is included in the ImageForLazarus package.

Any advice?

Thanks,

Warm Regards, Lee

Reply by email

Vincent Snijders
to Lee Jenkins
Lee Jenkins wrote
Hi all, I noticed that JPegForLazarus has been replaced with ImagesForLazarus.

No, JpegForLazarus has been merged into the LCL. So just can remove that requirement.

Vincent

Reply by email

CCC CCC
to Lee Jenkins: I noticed that JPegForLazarus has been replaced with ImagesForLazarus. I'm trying to…

Hi,

Replace "LazJPEG" with "FPReadJpeg, FPWriteJpeg" in the uses section.

Regards,
- Leslie -

Lee Jenkins ?rta:

Show quoted text 30 lines
Hi all, I noticed that JPegForLazarus has been replaced with ImagesForLazarus. I'm trying to install powerpdf into my ide and I have: 1. Installed ImagesForLazarus. 2. Removed required of JpegForLazarus from the powerpdf package. 3. Added ImagesForLazarus as a requirement to powerpdf package. 4. Attempt to compile powerpdf package. However, lazarus still complains that it cannot find LazJPEG which I can see is included in the ImageForLazarus package. Any advice? Thanks, -- Warm Regards, Lee _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

___________________________
Robin Cook Budapesten! Tal?lkozzon az orvoskrimik vil?gh?r? szerz?j?vel m?jus 13-?n, kedden, 17 ?rakor a Nyugati t?ri Alexandra K?nyvesh?zban! http://ad.adverticum.net/b/cl,1,6022,263358,316024/click.prm -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080509/6d89a73b/attachment.html

Reply by email

Lee Jenkins
to Vincent Snijders: No, JpegForLazarus has been merged into the LCL. So just can remove that requirement.…
Vincent Snijders wrote 10 lines
Lee Jenkins schreef: > Hi all, > > I noticed that JPegForLazarus has been replaced with ImagesForLazarus. No, JpegForLazarus has been merged into the LCL. So just can remove that requirement. Vincent

Thanks Vincent. I did remove the requirement and LCL was already a requirement, but still complains that LazJpeg cannot be found. Any idea what might cause that?

Below is the uses from power pdf PdfJpegImage.pas unit where the error surfaces.

uses
   SysUtils, Classes, Graphics, PdfTypes, PdfDoc, PdfImages,
   {$IFDEF LAZ_POWERPDF}
   LazJPEG // <== Here it says cannot find.
   {$ELSE}
   JPEG
   {$ENDIF}
   ;

Just for fun, I implicitly added the LazJpeg.pas file to the package and it still does not compile.

Odd.

Warm Regards, Lee "When my company started out, we were really, really, really, really small. Now...we're just really small."

Reply by email

Unknown author
to Lee Jenkins

When I installed PowerPDF it did not compile without these units (maybe FPReadJpeg would have been enough though). After reading Vincent's mail tried to compile without them and it was OK. I am using the latest SVN revision now, maybe that is the the difference, but this is just a guess.

Regards,
- Leslie -

Earlier message 35 lines
----- Original Message ----- From: "Lee Jenkins" To: "General mailing list" Sent: Friday, May 09, 2008 9:29 PM Subject: Re: [Lazarus] PowerPDF Installation > CCC CCC wrote: >> >> Hi, >> >> Replace "LazJPEG" with "FPReadJpeg, FPWriteJpeg" in the uses section. >> >> Regards, >> - Leslie - >> > > Worked like a champ. > > Thanks Leslie. > > -- > > Warm Regards, > > Lee > > "When my company started out, we were really, really, really, really > small. > Now...we're just really small." > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Lee Jenkins
to Unknown author
Show quoted text 5 lines
When I installed PowerPDF it did not compile without these units (maybe FPReadJpeg would have been enough though). After reading Vincent's mail tried to compile without them and it was OK. I am using the latest SVN revision now, maybe that is the the difference, but this is just a guess.

Weird. I just tried the same thing and it worked as well.

I'm sure I did something wrong there, but for the life of me, I can't figure out what it was. Maybe after removing the reference to LazJPeg, I got an error because of comma before the IFDEF'd portion and mistook it for the same error...

Anyhow, I am happy again. It works.

Now to start figuring out how it to use it :)

Warm Regards, Lee "When my company started out, we were really, really, really, really small. Now...we're just really small."

Reply by email

Vincent Snijders
to Lee Jenkins: Thanks Vincent. I did remove the requirement and LCL was already a requirement, but…
Lee Jenkins wrote 27 lines
Vincent Snijders wrote: > Lee Jenkins schreef: >> Hi all, >> >> I noticed that JPegForLazarus has been replaced with ImagesForLazarus. > No, JpegForLazarus has been merged into the LCL. So just can remove that > requirement. > > Vincent > Thanks Vincent. I did remove the requirement and LCL was already a requirement, but still complains that LazJpeg cannot be found. Any idea what might cause that? Below is the uses from power pdf PdfJpegImage.pas unit where the error surfaces. uses SysUtils, Classes, Graphics, PdfTypes, PdfDoc, PdfImages, {$IFDEF LAZ_POWERPDF} LazJPEG // <== Here it says cannot find. {$ELSE} JPEG {$ENDIF} ; Just for fun, I implicitly added the LazJpeg.pas file to the package and it still does not compile.

Maybe just remove the LazJPEG from the uses clause, it is all in Graphics now.

BTW: if you have a package that compiles, can you create a new release for Lazarus-CCR?

Vincent

Reply by email

Unknown author
to Lee Jenkins: Weird. I just tried the same thing and it worked as well. I'm sure I did something wrong…

I think it was very likely the same story with me. :)

I have not played much with PowerPdf yet, but after a few tests it seems that it does the job well.
Though it must have some srange bugs yet. After placing ( ... or was it deleting ?) one of the Powerpdf components on the form Windows XP seemed to be frosen. In fact it was not, but it took minutes for the OS to react for a single mouseclick and never recovered without a reboot.

Anyhow, it is nice to have the Lazarus port of PowerPdf. :)

Reagards
- Leslie -

Earlier message 41 lines
----- Original Message ----- From: "Lee Jenkins" To: "General mailing list" Sent: Friday, May 09, 2008 10:11 PM Subject: Re: [Lazarus] PowerPDF Installation > wrote: >> When I installed PowerPDF it did not compile without these units (maybe >> FPReadJpeg would have been enough though). After reading Vincent's mail >> tried to compile without them and it was OK. I am using the latest SVN >> revision now, maybe that is the the difference, but this is just a guess. >> > > Weird. I just tried the same thing and it worked as well. > > I'm sure I did something wrong there, but for the life of me, I can't > figure out > what it was. Maybe after removing the reference to LazJPeg, I got an > error > because of comma before the IFDEF'd portion and mistook it for the same > error... > > Anyhow, I am happy again. It works. > > Now to start figuring out how it to use it :) > > -- > > Warm Regards, > > Lee > > "When my company started out, we were really, really, really, really > small. > Now...we're just really small." > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Lee Jenkins
to Vincent Snijders: Maybe just remove the LazJPEG from the uses clause, it is all in Graphics now. BTW: if…
Vincent Snijders wrote 34 lines
Lee Jenkins schreef: > Vincent Snijders wrote: >> Lee Jenkins schreef: >>> Hi all, >>> >>> I noticed that JPegForLazarus has been replaced with ImagesForLazarus. >> No, JpegForLazarus has been merged into the LCL. So just can remove that >> requirement. >> >> Vincent >> > Thanks Vincent. I did remove the requirement and LCL was already a requirement, > but still complains that LazJpeg cannot be found. Any idea what might cause that? > > Below is the uses from power pdf PdfJpegImage.pas unit where the error surfaces. > > uses > SysUtils, Classes, Graphics, PdfTypes, PdfDoc, PdfImages, > {$IFDEF LAZ_POWERPDF} > LazJPEG // <== Here it says cannot find. > {$ELSE} > JPEG > {$ENDIF} > ; > > Just for fun, I implicitly added the LazJpeg.pas file to the package and it > still does not compile. Maybe just remove the LazJPEG from the uses clause, it is all in Graphics now. BTW: if you have a package that compiles, can you create a new release for Lazarus-CCR?

Package for powerpdf? Sure, be glad to. Where should I send it?

BTW, I know this sound dumb, but what is Lazarus-CCR? I've seen it around have never connected the dots for what CCR stands for.

Warm Regards, Lee "When my company started out, we were really, really, really, really small. Now...we're just really small."

Reply by email

Lee Jenkins
to Funky Beast
Funky Beast wrote 11 lines
Lee Jenkins wrote: > BTW, I know this sound dumb, but what is Lazarus-CCR? I've seen it around have > never connected the dots for what CCR stands for. > Lazarus-Code and Component Repository: http://sourceforge.net/projects/lazarus-ccr HTH, Funky Beast

Oh, rock on. Do I need an account or should I just upload the package to my website and provide a link?

Warm Regards, Lee "When my company started out, we were really, really, really, really small. Now...we're just really small."

Reply by email

Funky Beast
to Lee Jenkins
Lee Jenkins wrote 15 lines
Funky Beast wrote: > Lee Jenkins wrote: >> BTW, I know this sound dumb, but what is Lazarus-CCR? I've seen it around have >> never connected the dots for what CCR stands for. >> > Lazarus-Code and Component Repository: > http://sourceforge.net/projects/lazarus-ccr > > HTH, > Funky Beast > Oh, rock on. Do I need an account or should I just upload the package to my website and provide a link?

http://lazarus-ccr.sourceforge.net/#Adding_to_the_Lazarus_Code_and_Component answers your query.

HTH,
Funky Beast

Reply by email

Lee Jenkins
to Funky Beast
Funky Beast wrote 18 lines
Lee Jenkins wrote: > Funky Beast wrote: >> Lee Jenkins wrote: >>> BTW, I know this sound dumb, but what is Lazarus-CCR? I've seen it around have >>> never connected the dots for what CCR stands for. >>> >> Lazarus-Code and Component Repository: >> http://sourceforge.net/projects/lazarus-ccr >> >> HTH, >> Funky Beast >> > Oh, rock on. Do I need an account or should I just upload the package to my > website and provide a link? > http://lazarus-ccr.sourceforge.net/#Adding_to_the_Lazarus_Code_and_Component answers your query.

It does. Thanks

Warm Regards, Lee

Reply by email

Vincent Snijders
to Lee Jenkins: Package for powerpdf? Sure, be glad to. Where should I send it? BTW, I know this sound…
Lee Jenkins wrote 9 lines
> > BTW: if you have a package that compiles, can you create a new release > for Lazarus-CCR? > Package for powerpdf? Sure, be glad to. Where should I send it? BTW, I know this sound dumb, but what is Lazarus-CCR? I've seen it around have never connected the dots for what CCR stands for.

I assumed you downloaded it from http://wiki.lazarus.freepascal.org/PowerPDF which links to the lazarus-ccr sourceforge site for the downloads.

I think http://wiki.lazarus.freepascal.org/PowerPDF needs updating and a new source zip for PowedPDF would be nice.

Vincent

Reply by email

Vincent Snijders
to Lee Jenkins: Oh, rock on. Do I need an account or should I just upload the package to my website and…
Lee Jenkins wrote
Oh, rock on. Do I need an account or should I just upload the package to my website and provide a link?

You can email the new source archive to me or provide a link and I will put them on the lazarus-ccr sourceforge site.

For new components, see
http://wiki.lazarus.freepascal.org/Code_Conversion_Guide#Packaging_and_Releasing_your_component

Vincent

Reply by email

Lee Jenkins
to Vincent Snijders: I assumed you downloaded it from http://wiki.lazarus.freepascal.org/PowerPDF which links…
Vincent Snijders wrote 15 lines
Lee Jenkins schreef: >> BTW: if you have a package that compiles, can you create a new release >> for Lazarus-CCR? >> > Package for powerpdf? Sure, be glad to. Where should I send it? > > BTW, I know this sound dumb, but what is Lazarus-CCR? I've seen it around have > never connected the dots for what CCR stands for. I assumed you downloaded it from http://wiki.lazarus.freepascal.org/PowerPDF which links to the lazarus-ccr sourceforge site for the downloads. I think http://wiki.lazarus.freepascal.org/PowerPDF needs updating and a new source zip for PowedPDF would be nice.

Just sent the zip file to you in a private email with the file as attachment.

I have also placed a copy at the site below which you can download.

http://www.datatrakpos.com/misc/PowerPDF.zip

Warm Regards, Lee "When my company started out, we were really, really, really, really small. Now...we're just really small."

Reply by email