Recent

Author Topic: How do i get bgrabitmappack to compile ?  (Read 1735 times)

Joanna

  • Jr. Member
  • **
  • Posts: 67
How do i get bgrabitmappack to compile ?
« on: September 10, 2021, 04:51:01 am »
The bgrabitmap package works fine in windows  lazarus ide but when I try to compile it in linux I get the following error messages

Code: Pascal  [Select][+][-]
  1. Compile package BGRABitmapPack 9.5: Exit code 1, Errors: 7, Warnings: 5
  2. bgragtkbitmap.pas(68,26) Error: Identifier not found "TGtk2DeviceContext"
  3. bgragtkbitmap.pas(68,44) Error: Error in type definition
  4. bgragtkbitmap.pas(118,36) Warning: unreachable code
  5. bgragtkbitmap.pas(123,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"
  6. bgragtkbitmap.pas(124,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"
  7. bgragtkbitmap.pas(129,36) Warning: unreachable code
  8. bgragtkbitmap.pas(229,36) Warning: unreachable code
  9. bgragtkbitmap.pas(230,25) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"
  10. bgragtkbitmap.pas(231,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"
  11. bgragtkbitmap.pas(234,36) Warning: unreachable code
  12. bgragtkbitmap.pas(272,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"
  13. bgragtkbitmap.pas(274,36) Warning: unreachable code
  14.  

im using Lazarus 2.0.10 rUnknown FPC 3.2.0 x86_64-linux-gtk2 with fedora linux.
Come chat on IRC .. IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [SASL 6697] channels  #fpc #lazarus #pascal

sstvmaster

  • Sr. Member
  • ****
  • Posts: 266
Re: How do i get bgrabitmappack to compile ?
« Reply #1 on: September 10, 2021, 10:31:45 am »
BGRABitmapPack 9.5 is very old, 11.3.1.0 is in the OPM.

So please install it from OPM.

- To install OPM goto "Package -> Install/Uninstall Packages..."
- On the top right field "Available for installation" type in  online
- Click on OnlinePackageManager and press "Install selection" button

When lazarus is recompiled goto "Package -> Online Package Manager" and search for BGRABitmapPack and install it.
Windows 10
Lazarus: 2.0.12 and trunk (main)

Joanna

  • Jr. Member
  • **
  • Posts: 67
Re: How do i get bgrabitmappack to compile ?
« Reply #2 on: September 10, 2021, 12:17:41 pm »
Thanks I’m new to Linux and not sure what I’m doing . I’ll give it a try.
Come chat on IRC .. IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [SASL 6697] channels  #fpc #lazarus #pascal

winni

  • Hero Member
  • *****
  • Posts: 2806
Re: How do i get bgrabitmappack to compile ?
« Reply #3 on: September 10, 2021, 12:18:53 pm »

 

TinyPortal © 2005-2018