Recent

Author Topic: suse 10.1 gtk2 problem  (Read 6554 times)

Anonymous

  • Guest
suse 10.1 gtk2 problem
« on: June 17, 2006, 01:07:47 am »
if i try to create a gtk2 application i ll get


/usr/lib/fpc/2.1.1/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_CHOOSER_DEFAULT$$LONGWORD':
gtk2.pas:(.text+0xb9b1): undefined reference to `_gtk_file_chooser_default_get_type'
/usr/lib/fpc/2.1.1/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_CHOOSER_EMBED$$LONGWORD':
gtk2.pas:(.text+0xba11): undefined reference to `_gtk_file_chooser_embed_get_type'
/usr/lib/fpc/2.1.1/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_CHOOSER_ENTRY$$LONGWORD':
gtk2.pas:(.text+0xba91): undefined reference to `_gtk_file_chooser_entry_get_type'
project1.lpr(17,1) Error: Error while linking

eric

  • Sr. Member
  • ****
  • Posts: 267
RE: suse 10.1 gtk2 problem
« Reply #1 on: June 17, 2006, 03:15:43 pm »
Have you got gtk2-devel installed?

Eric

Anonymous

  • Guest
RE: suse 10.1 gtk2 problem
« Reply #2 on: June 17, 2006, 11:52:08 pm »
yes the gtk gtk2 gdk pixbuf devel packages are installed

bokei

  • Newbie
  • Posts: 5
RE: suse 10.1 gtk2 problem
« Reply #3 on: June 18, 2006, 11:00:21 am »
Oh me too.
I'm using the gtk2-devel-2.8.15 and FPC 2.0.3.
Are you using FPC 2.0.3 too?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: suse 10.1 gtk2 problem
« Reply #4 on: June 18, 2006, 02:58:20 pm »
From that path, he is using FPC 2.1.1, that's the development branch

Can you try with FPC 2.0.2 (latest stable) ? It works great for me to build gtk2 software

Also, please submit a bug report about this on the compiler section.

bokei

  • Newbie
  • Posts: 5
RE: suse 10.1 gtk2 problem
« Reply #5 on: June 18, 2006, 04:06:41 pm »
I have tried with FPC 2.0.2.It's ok.But FPC 2.0.2 can't work with Indy 10 :(

Anonymous

  • Guest
RE: suse 10.1 gtk2 problem
« Reply #6 on: June 18, 2006, 10:05:30 pm »
Thanks
With 2.0.2 everthing is ok
Maybe someone with a Mantis account can create a bugreport?

lazybugger

  • New Member
  • *
  • Posts: 10
RE: suse 10.1 gtk2 problem
« Reply #7 on: June 19, 2006, 07:24:04 pm »
maybe someone who has the details of the bug can create a Mantis account?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2650
RE: suse 10.1 gtk2 problem
« Reply #8 on: June 20, 2006, 10:51:59 am »
I think nowadays you can submit as guest.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018