[SOLVED] Can't compile THtmlViewer lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- Sniper · 2018-04-19 07:28 Lazarus 1.8.2 i386-win32 FPC 3.0.4 i386-win32 THtmlViewer 11.8 Windows 8.1 64 bit Error messages: htmlmisc.pas(313,36) Warning: Symbol "CM_WININICHANGE" is not implemented htmlmisc.pas(735,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" htmlmisc.pas(1259,46) Error: Identifier not found "lpCarbon" htmlmisc.pas(1259,56) Error: Identifier not found "lpQt" htmlmisc.pas(1259,62) Error: Identifier not found "lpGTK2" htmlmisc.pas(1259,70) Error: Identifier not found "lpWin32" error line 1259 htExpectsUTF8 := WidgetSet.LCLPlatform in [lpCarbon, lpQt, lpGTK2, lpWin32]; in HtmlMisc.pas file What is wrong? ---------------------------------------------------------------------- balazsszekely · 2018-04-19 10:49 Try the one from OPM, the issue is fixed there AFAIK. ---------------------------------------------------------------------- Sniper · 2018-04-19 11:23 Ok. I have tried master: HTMLSubs.pas(758,5) Warning: Constructor should be public HTMLSubs.pas(1830,25) Hint: Variable "CountsPerType" does not seem to be initialized HTMLSubs.pas(1949,53) Hint: Local variable "MargArray" does not seem to be initialized HTMLSubs.pas(3971,23) Warning: Implicit string type conversion from "AnsiString" to "WideString" HTMLSubs.pas(3974,23) Warning: Implicit string type conversion from "AnsiString" to "WideString" HTMLSubs.pas(4031,41) Warning: Implicit string type conversion from "AnsiString" to "WideString" HTMLSubs.pas(4333,46) Error: Illegal qualifier HTMLSubs.pas(4357,46) Error: Illegal qualifier HTMLSubs.pas(7669,18) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(7865,33) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(7865,15) Warning: Implicit string type conversion from "AnsiString" to "WideString" HTMLSubs.pas(7866,63) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(7892,40) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(8262,49) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(8266,49) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(8284,30) Hint: Local variable "Algn" does not seem to be initialized HTMLSubs.pas(8601,44) Hint: Local variable "Point" does not seem to be initialized HTMLSubs.pas(8609,48) Hint: Local variable "SizeV" does not seem to be initialized HTMLSubs.pas(8610,46) Hint: Local variable "SizeW" does not seem to be initialized HTMLSubs.pas(8717,71) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(11493,29) Hint: Local variable "Align" does not seem to be initialized HTMLSubs.pas(11534,29) Hint: Local variable "Align" does not seem to be initialized HTMLSubs.pas(13688,46) Warning: Implicit string type conversion from "AnsiString" to "WideString" HTMLSubs.pas(13688,67) Warning: Implicit string type conversion from "AnsiString" to "WideString" HTMLSubs.pas(14087,33) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString" HTMLSubs.pas(15510,29) Hint: Local variable "Align" does not seem to be initialized HTMLSubs.pas(15817,38) Hint: Variable "IY" does not seem to be initialized HTMLSubs.pas(15817,34) Hint: Variable "IX" does not seem to be initialized HTMLSubs.pas(15952,40) Hint: Local variable "Y" does not seem to be initialized HTMLSubs.pas(15952,37) Hint: Local variable "X" does not seem to be initialized HTMLSubs.pas(16368,42) Hint: Variable "IY" does not seem to be initialized HTMLSubs.pas(16368,38) Hint: Variable "IX" does not seem to be initialized HTMLSubs.pas(16392,38) Hint: Variable "IY" does not seem to be initialized HTMLSubs.pas(16392,34) Hint: Variable "IX" does not seem to be initialized 11.7: htmlmisc.pas(164,18) Error: Identifier not found "GCP_RESULTS" htmlmisc.pas(164,29) Error: Error in type definition htmlmisc.pas(309,36) Warning: Symbol "CM_WININICHANGE" is not implemented 11.6 htmlmisc.pas(163,18) Error: Identifier not found "GCP_RESULTS" htmlmisc.pas(163,29) Error: Error in type definition htmlmisc.pas(308,36) Warning: Symbol "CM_WININICHANGE" is not implemented 11.5 htmlmisc.pas(163,18) Error: Identifier not found "GCP_RESULTS" htmlmisc.pas(163,29) Error: Error in type definition htmlmisc.pas(308,36) Warning: Symbol "CM_WININICHANGE" is not implemented 11.4 htmlmisc.pas(141,18) Error: Identifier not found "GCP_RESULTS" htmlmisc.pas(141,29) Error: Error in type definition htmlmisc.pas(286,36) Warning: Symbol "CM_WININICHANGE" is not implemented ---------------------------------------------------------------------- Sniper · 2018-04-19 11:28 Quote from: GetMem on April 19, 2018, 12:49:51 pmTry the one from OPM, the issue is fixed there AFAIK. What OPM is? ---------------------------------------------------------------------- balazsszekely · 2018-04-19 11:46 @Sniper QuoteWhat OPM is?http://wiki.freepascal.org/Online_Package_Manager ---------------------------------------------------------------------- Thaddy · 2018-04-19 12:02 I tested for arm (Raspberry Pi)  and win64: both work with OPM. But I use trunk. ---------------------------------------------------------------------- Sniper · 2018-04-19 12:03 Quote from: GetMem on April 19, 2018, 01:46:19 pm@Sniper QuoteWhat OPM is?http://wiki.freepascal.org/Online_Package_Manager Thank you. Works fine.