Forum > Linux

How do i get bgrabitmappack to compile ?

(1/1)

Joanna:
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  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Compile package BGRABitmapPack 9.5: Exit code 1, Errors: 7, Warnings: 5bgragtkbitmap.pas(68,26) Error: Identifier not found "TGtk2DeviceContext"bgragtkbitmap.pas(68,44) Error: Error in type definitionbgragtkbitmap.pas(118,36) Warning: unreachable codebgragtkbitmap.pas(123,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"bgragtkbitmap.pas(124,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"bgragtkbitmap.pas(129,36) Warning: unreachable codebgragtkbitmap.pas(229,36) Warning: unreachable codebgragtkbitmap.pas(230,25) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"bgragtkbitmap.pas(231,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"bgragtkbitmap.pas(234,36) Warning: unreachable codebgragtkbitmap.pas(272,5) Error: Illegal type conversion: "HDC" to "TGtkDeviceContext"bgragtkbitmap.pas(274,36) Warning: unreachable code 
im using Lazarus 2.0.10 rUnknown FPC 3.2.0 x86_64-linux-gtk2 with fedora linux.

sstvmaster:
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.

Joanna:
Thanks I’m new to Linux and not sure what I’m doing . I’ll give it a try.

winni:
Hi!

Meanwhile version 11.4 is out:

https://forum.lazarus.freepascal.org/index.php/topic,24239.msg414525.html#msg414525

Winni

Navigation

[0] Message Index

Go to full version