Re: [Gtk2forpascal-devel] Problem using gtk2forpascal under Fedora Core 2 linux
Brought to you by:
mgaertner
From: Mattias G. <nc-...@ne...> - 2004-05-31 18:03:41
|
On Mon, 31 May 2004 23:55:07 +0800 (CST) Zhong Wang <wan...@ya...> wrote: > Hello, everybody > > Today I get the latest source of FPC and the latest > source of gtk2forpascal. I compiled and installed the > 1.9.4 FPC, it worked well. > > Then I compiled gtk2forpascal, and make a dir as > /usr/lib/fpc/1.9.4/units/linux/gtk2/, and move all > *.o, *.ppu under gtk2/lib/i386/linux/ to > /usr/lib/fpc/1.9.4/units/linux/gtk2/. > > But when I tried to compile the demo of > helloworld.pas, it gave errors: > > #gtk2fpc helloworld.pas > > + mk_gtk2fpc_link_res.sh > + ppc386 -k-dynamic-linker=/lib/ld-linux.so.2 > -kgtk2.link.res helloworld.pas > Free Pascal Compiler version 1.9.4 [2004/05/31] for > i386 > Copyright (c) 1993-2004 by Florian Klaempfl > Target OS: Linux for i386 > Compiling helloworld.pas > Fatal: Can't find unit GLIB2 Fixed in cvs. It takes some hours before public cvs is updated. The linux scripts for fpc now automatically recognizes the installed gtk version. Mattias |