Recent

Author Topic: Cannot find gtk2 used by Gtk2CellRenderer of package LCL.  (Read 6005 times)

hosune7845

  • Full Member
  • ***
  • Posts: 159
Cannot find gtk2 used by Gtk2CellRenderer of package LCL.
« on: February 19, 2016, 08:06:38 am »
Hi.

I installed Lazarus for Android on Windows7.

After install, I set my project for Android target.

But, the error occurred while compilling

Error is :
Quote
gtk2cellrenderer.pas(30,3) Fatal: Cannot find gtk2 used by Gtk2CellRenderer of package LCL.

I don't know how to solve.

Any idea?

ashwiz

  • Newbie
  • Posts: 1
Re: Cannot find gtk2 used by Gtk2CellRenderer of package LCL.
« Reply #1 on: June 30, 2016, 03:19:41 pm »
I have same error.

Hosune, were you able to fix? 

commanderz

  • New Member
  • *
  • Posts: 11
Re: Cannot find gtk2 used by Gtk2CellRenderer of package LCL.
« Reply #2 on: October 24, 2018, 12:11:41 pm »
to solve this problem (Cannot find gtk2 used by Gtk2CellRenderer of package LCL.)
you need do next steps:
1) open your project In Lazarus IDE
2) In Lazarus IDE go to "Project Options (Shift+Ctrl+F11)"
3) In "Compiler Options" open tab "Additions and Overrides"
4) in right click on field "Set LCLWidgetType" and select Value "customdrawn", - this need for compile android application

thats all )

user2024

  • Newbie
  • Posts: 1
Re: Cannot find gtk2 used by Gtk2CellRenderer of package LCL.
« Reply #3 on: August 04, 2024, 12:38:58 pm »
Hello

I try use Lazarus 3.0 fpc 3.2.2 for built simple application.
And commanderz's advise party helped me:

customdrawnwinapi.inc -> error: lFont.ftFont.Size... string 531 after
"lFont.Size := Abs(LogFont.lfHeight);"

I tired solve this probem throught

  {$ifndef CD_UseNativeText}
          lFont.ftFont.Size...
  {$endif}

Is it good decision?
« Last Edit: August 04, 2024, 12:42:23 pm by user2024 »

 

TinyPortal © 2005-2018