[Lazarus] can't compile GTK2 program with lazarus 0.9.26-2

YanChengyuan yanchengyuan at gmail.com
Sat Apr 4 10:47:40 CEST 2009


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写道:

> On 4/3/09, 闫程远 <yanchengyuan at gmail.com> 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
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090404/136ae806/attachment-0007.html>


More information about the Lazarus mailing list