Recent

Author Topic: [SOLVED]Installation Error with latest version of Lazarus and OPM  (Read 297 times)

BeanzMaster

  • Full Member
  • ***
  • Posts: 242
Hi, all is in the title, i attached screenshots

One error is in BGRADNetDeserial
Quote
bgradnetdeserial.pas(1349,10) Warning: Local variable "byteLength" does not seem to be initialized

and the other in BGRAFreetype
Quote
bgrafreetype.pas(900,18) Error: identifier idents no member "CharKerning"
But this error is silly because the {$IFDEF} is not defined, so normally it shouldn't be compiled.

So, i'll try to install manually, later

Cheers
« Last Edit: July 16, 2020, 12:44:41 pm by BeanzMaster »

BeanzMaster

  • Full Member
  • ***
  • Posts: 242
Re: Installation Error with latest version of Lazarus and OPM
« Reply #1 on: July 16, 2020, 11:43:03 am »
Those lines :

Code: Pascal  [Select][+][-]
  1. {$IF laz_fullversion >= 2000900}
  2.   {$DEFINE LAZFREETYPE_GLYPH_BOX_FIXED}
  3.   {$DEFINE LAZFREETYPE_PROVIDE_KERNING}
  4. {$ENDIF}

Are not activated

 :o %)

A bug from fpc 3.2 ????

with

Code: Pascal  [Select][+][-]
  1. {$IF laz_fullversion < 2000900}
  2.   {$DEFINE LAZFREETYPE_GLYPH_BOX_FIXED}
  3.   {$DEFINE LAZFREETYPE_PROVIDE_KERNING}
  4. {$ENDIF}

it work   :-X :o %)

Crazy, not ?

« Last Edit: July 16, 2020, 11:46:30 am by BeanzMaster »

PascalDragon

  • Hero Member
  • *****
  • Posts: 1950
  • Compiler Developer
Re: Installation Error with latest version of Lazarus and OPM
« Reply #2 on: July 16, 2020, 12:17:47 pm »
The version check was simply wrong. In the repository this is already fixed.

BeanzMaster

  • Full Member
  • ***
  • Posts: 242
Re: Installation Error with latest version of Lazarus and OPM
« Reply #3 on: July 16, 2020, 12:37:22 pm »
Thanks, so it's just OPM are not update for the moment  :)

BeanzMaster

  • Full Member
  • ***
  • Posts: 242
Re: [SOLVED]Installation Error with latest version of Lazarus and OPM
« Reply #4 on: July 16, 2020, 12:39:24 pm »
I've just checked

With
Code: Pascal  [Select][+][-]
  1. {$IF laz_fullversion >= 2010000}
  2.   {$DEFINE LAZFREETYPE_GLYPH_BOX_FIXED}
  3.   {$DEFINE LAZFREETYPE_PROVIDE_KERNING}
  4. {$ENDIF}    

It's always disabled  %)

BeanzMaster

  • Full Member
  • ***
  • Posts: 242
Re: Installation Error with latest version of Lazarus and OPM
« Reply #5 on: July 16, 2020, 12:44:27 pm »
The installation from repository is OK

Cheers

PascalDragon

  • Hero Member
  • *****
  • Posts: 1950
  • Compiler Developer
Re: [SOLVED]Installation Error with latest version of Lazarus and OPM
« Reply #6 on: July 16, 2020, 01:39:39 pm »
I've just checked

With
Code: Pascal  [Select][+][-]
  1. {$IF laz_fullversion >= 2010000}
  2.   {$DEFINE LAZFREETYPE_GLYPH_BOX_FIXED}
  3.   {$DEFINE LAZFREETYPE_PROVIDE_KERNING}
  4. {$ENDIF}    

It's always disabled  %)

That is the point: The fixes for LazFreeType are not in Lazarus 2.0.x, only in 2.1 and newer.

GetMem

  • Hero Member
  • *****
  • Posts: 3752
Re: [SOLVED]Installation Error with latest version of Lazarus and OPM
« Reply #7 on: July 16, 2020, 02:05:21 pm »
@BeanzMaster
Quote
Thanks, so it's just OPM are not update for the moment 
I updated the package in OPM.

 

TinyPortal © 2005-2018