Recent

Author Topic: How to install BGRABitmap with Lazarus IDE  (Read 3219 times)

DenPit5

  • New Member
  • *
  • Posts: 21
How to install BGRABitmap with Lazarus IDE
« on: February 23, 2019, 12:41:03 pm »
Can anyone tell me how to install/combine BRABitmap with the Lazarus IDE ?

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: How to install BGRABitmap with Lazarus IDE
« Reply #1 on: February 23, 2019, 02:20:32 pm »
Hi, bgrabitmap doesn't need the ide to be recompiled in order to work.

Just open bgrabitmap.lpk and press compile button.

Or install it with Online Package Manager that comes with Lazarus 2.0

ZenForAll

  • New member
  • *
  • Posts: 9
Re: How to install BGRABitmap with Lazarus IDE
« Reply #2 on: October 18, 2023, 11:54:33 am »
Hi lainz
I installed in 2023 the latest Version with the Online Manger but i don't see
is that in another package
I tried to Inastall

BGRABitmap
but Lazarus don't like the Assembler parts any clue.

  gif : TBGRAAnimatedGif;
  bmp: TBGRABitmap;   

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: How to install BGRABitmap with Lazarus IDE
« Reply #3 on: October 18, 2023, 12:27:19 pm »
Hi lainz
I installed in 2023 the latest Version with the Online Manger but i don't see
is that in another package
I tried to Inastall

BGRABitmap
but Lazarus don't like the Assembler parts any clue.

  gif : TBGRAAnimatedGif;
  bmp: TBGRABitmap;

Maybe you're using trunk / master?
Download from dev-bgrabitmap branch at github.

russellman

  • Newbie
  • Posts: 3
Re: How to install BGRABitmap with Lazarus IDE
« Reply #4 on: October 19, 2023, 08:48:27 pm »
              How to use BGRABitmap:
       
   
   At https://github.com/bgrabitmap/bgrabitmap/releases 
   download  Source code (zip).
        Extract it.  Bgrabitmap-11.5.6.
        In bgrabitmap-11.5.6 copy bgrabitmap-11.5.6 sub-directory
        to The directory where you installed Lazarus. (Where lazarus.exe is).
        Components sub-director.
        Copy the whole directory to the Components sub-director.

   Start Lazarus.
        Package > Open Package File (.lpk).
   Open Lazarus directory/components/bgrabitmap-11.5.6/
        bgrabitmap and chose bgrabitmappack.lpk.
        New the Package compiler will appear.
   In the  Package compiler:
   Press the compile button.
        In the IDE massage window. It will say “compile package
        BRGABitmapPack 11.5.6 Success” Disregard the Warnings.

   In each project that you use  BRGABitmapPack. You need to
        add  BRGABitmapPack.
   To do this:
        Add BGRABitmap, BGRABitmapTypes to the uses line of
        Your Unit1.pas file.
   Then:
   Package > Open Package File (.lpk).
   Open Lazarus directory/components/bgrabitmap-11.5.6/
        bgrabitmap and chose bgrabitmappack.lpk.
   New the Package compiler will appear.
   In the  Package compiler:
   Do not press the compile button.
   Press Use button > Add to Project.
   And close the  Package compiler.
         
   New compile your project. It shud compile without errors.
        If not:
   Add BGRABitmap, BGRABitmapTypes to the uses line.
   Recompile  BGRABitmap and
   Press Use button > Add to Project.
   And try agen.

 

TinyPortal © 2005-2018