Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-04

can't compile GTK2 program with lazarus 0.9.26-2

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

闫程远

hi all!i've upgraded my lazarus to 0.9.26-2 from the official deb source.when i compile a program with GTK2,lazarus warns me that it cannot find "gtk2int.pas" used by interface.
my fpc version is 2.2.2-8,also installed from the official deb source.can any body help me?
regards,
Yan Chengyuan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090403/07abd755/attachment.html

Reply by email

Bart
to 闫程远
??? wrote 5 lines
hi all!i've upgraded my lazarus to 0.9.26-2 from the official deb source.when i compile a program with GTK2,lazarus warns me that it cannot find "gtk2int.pas" used by interface. my fpc version is 2.2.2-8,also installed from the official deb source.can any body help me?

First thoughts...

Did you compile Lazarus 0.9.26 from source?
If so, did you build the IDE for gtk1, if sou you need to also build the lcl for gtk2:
make lcl LCL_PLATFORM = gtk2
Also make sure the path to fpc (Environment options) is set to the correct fpc version.

Bart

Reply by email

YanChengyuan
to Bart

eh,since i am using ubuntu,i used apt-get to install lazarus 0.9.26-2 and fpc 2.2.2-8.LCL and IDE are both GTK1.i'm thinking if anyone else has problem with this?

? 2009-04-03?? 16:12 +0200?Bart???

Show quoted text 22 lines
On 4/3/09, ??? wrote: > hi all!i've upgraded my lazarus to 0.9.26-2 from the official deb > source.when i compile a program with GTK2,lazarus warns me that it cannot > find "gtk2int.pas" used by interface. > my fpc version is 2.2.2-8,also installed from the official deb source.can > any body help me? First thoughts... Did you compile Lazarus 0.9.26 from source? If so, did you build the IDE for gtk1, if sou you need to also build the lcl for gtk2: make lcl LCL_PLATFORM = gtk2 Also make sure the path to fpc (Environment options) is set to the correct fpc version. Bart _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090404/136ae806/attachment.html

Reply by email