Lazarus

Programming => Packages and Libraries => Topic started by: JanRoza on June 26, 2017, 01:16:07 pm

Title: gcp_results?
Post by: JanRoza on June 26, 2017, 01:16:07 pm
I'm trying to compile and install package HtmlViewer (11.7) but the compilation gives an error on htmlmisc.pas saying 'htmlmisc.pas(138,18) Error: Identifier not found "GCP_RESULTS"'.
I've searched the forum and the internet but cannot find what I should include to solve this.
If anyone got HtmlViewer installed then please tell me what I am missing?
I'm using Windows 10, Lazarus 1.8 RC2 and FPC 3.02.
Thanks!
Title: Re: gcp_results?
Post by: Thaddy on June 26, 2017, 03:00:47 pm
I can't even compile it with trunk....
htmlmisc.pas(1255,46) Error: Identifier not found "lpCarbon" etc... (All of 'm)

Anyway, can't you use IPro as alternative?
Title: Re: gcp_results?
Post by: Phil on June 26, 2017, 03:45:07 pm
I can't even compile it with trunk....
htmlmisc.pas(1255,46) Error: Identifier not found "lpCarbon" etc... (All of 'm)

Anyway, can't you use IPro as alternative?

Looks like somebody moved lpCarbon, etc. from InterfaceBase unit to LCLPlatformDef unit.

Not sure about GCP_RESULTS. That should be in Windows API somewhere.
Title: Re: gcp_results?
Post by: JanRoza on June 26, 2017, 05:40:43 pm
@Thaddy: I am using IPro now but wanted to try out and compare the two. One problem I have with IPro is that it tiles pictures whereas I want them shown as a single background picture and I cannot find any IPro setting to do this.
I wanted t see what htmlviewer had to offer to compare.
Title: Re: gcp_results?
Post by: Thaddy on June 26, 2017, 06:15:52 pm
I can't even compile it with trunk....
htmlmisc.pas(1255,46) Error: Identifier not found "lpCarbon" etc... (All of 'm)

Anyway, can't you use IPro as alternative?

Looks like somebody moved lpCarbon, etc. from InterfaceBase unit to LCLPlatformDef unit.

Not sure about GCP_RESULTS. That should be in Windows API somewhere.
No. I had Htmlviewer working under arm-linux at some point. (Not without struggle). I will try later.
Title: Re: gcp_results?
Post by: msch on June 28, 2017, 05:48:35 pm

On Windows you can comment the line simply out in unit HtmlMisc and it compiles afterwards.
Code: Pascal  [Select][+][-]
  1. //  TGCPResultsW = GCP_RESULTS;  
Title: Re: gcp_results?
Post by: bobix on December 27, 2017, 12:38:31 pm
Does anyone managed to compile latest HtmlViewer 11.8 with Lazarus 1.8?
Title: Re: gcp_results?
Post by: balazsszekely on December 27, 2017, 02:40:17 pm
Quote
bobix
Does anyone managed to compile latest HtmlViewer 11.8 with Lazarus 1.8?
Try the one from OPM, that should work fine.
Title: Re: gcp_results?
Post by: bobix on December 27, 2017, 03:11:29 pm
Sorry, what is "OPM"?
Title: Re: gcp_results?
Post by: balazsszekely on December 27, 2017, 03:12:47 pm
Quote
bobix
Sorry, what is "OPM"?
http://wiki.freepascal.org/Online_Package_Manager
Title: Re: gcp_results?
Post by: bobix on December 27, 2017, 03:45:11 pm
Yes it does! thank you :D
TinyPortal © 2005-2018