[lazarus] Newbie Q : Can't find classes.pas...
David Creelman
dave at geko.net.au
Fri Jun 28 11:26:25 EDT 2002
Hi Mattias,
Here it is.
The only change I made was in Makefile.fpc to try to get it to find gtk
unitdir=lcl/units /usr/lib/fpc/1.0.6/units/linux/gtk lcl/u....
This didn't work, copying the ppu did. I'm using the 1.0.6 fpc rpm and
downloaded and installed the source rpm as well.
Cheers
DC
On Sat, 2002-06-29 at 01:14, Mattias Gaertner wrote:
> On 29 Jun 2002 00:46:48 +1000
> David Creelman <dave at geko.net.au> wrote:
>
> > > Also you mentioned, that you just copied gtk.pp. I guess you ment gtk.ppu.
> > Yes.
> > > What about the other files in the /usr/lib/fpc/1.0.6/units/linux/gtk/ directory?
> > Yes I couldn't get it to compile until I copied over the .ppu to the
> > ./lcl/units/gtk/ directory. The Makefile didn't seem to find them. I
> > looked at the directions in the FAQ and everything was okay, so I
> > thought I'd try copying the .ppus and it worked.....
>
> Hmm. You are now the third person with the gtk.ppu problem. It seems, that the compiler sometimes don't like it's own units. It always disappears mysteriously. Can you add the -va option to your fpc.cfg and do a 'make clean all' and send me the log plz? Perhaps I find out what the problem is.
> This 'make clean all' should erase your .ppus in lcl/units/gtk.
>
>
> > > > I don't have too much spare time, but I'd like to tinker. What needs
> > > > doing ?
> > >
> > > A lot of things.
> > > Do you like to help with the IDE (form editing, codetools, source editor, debugger, documentation), the LCL (components, images, docs) or the interfaces (components, images, docs)?
> > Are events working ? I tried to setup a FormShow event and it didn't
> > seem to work....
> >
> > Form editing sounds interesting. There are lots of todos in
> > customformeditor.pas, the code looks pretty complicated. I'll give it a
> > go though.
>
> It would be nice, if you would send me comments/notes/annotations for the code. So that the next one will have it easier to participate.
>
>
> > Is this where I'd start looking ?
>
> Yes. Almost all form editing code can be found in the designer/ directory and in customformeditor.pp and main.pp. I'm currently busy with the gtk2 bindings, but I hope to return to the form editing next week.
>
>
> > ....Also is there a unit test suite set up ???
>
> No. But we definitely need one. Does anyone know a nice one?
>
>
> Mattias
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
/bin/rm -f lazarus lazarus.o libplazarus.a
/bin/rm -f
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
/bin/rm -f lazarus lazarus.o libplazarus.a
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
make -C lcl cleanall
make[1]: Entering directory `/home/davidc/develop/lazarus/lcl'
/bin/rm -f units/allunits.ppu units/arrow.ppu units/buttons.ppu units/calendar.ppu units/clipbrd.ppu units/clistbox.ppu units/comctrls.ppu units/commctrl.ppu units/controls.ppu units/dialogs.ppu units/dynhasharray.ppu units/extctrls.ppu units/filectrl.ppu units/forms.ppu units/graphics.ppu units/graphtype.ppu units/imglist.ppu units/interfacebase.ppu units/lazqueue.ppu units/lcllinux.ppu units/lcltype.ppu units/lmessages.ppu units/lresources.ppu units/menus.ppu units/messages.ppu units/registry.ppu units/spin.ppu units/stdctrls.ppu units/toolwin.ppu units/utrace.ppu units/vclglobals.ppu
/bin/rm -f units/arrow.o units/buttons.o units/calendar.o units/clipbrd.o units/clistbox.o units/comctrls.o units/controls.o units/dialogs.o units/dynhasharray.o units/extctrls.o units/filectrl.o units/forms.o units/graphics.o units/imglist.o units/interfacebase.o units/lazqueue.o units/lcllinux.o units/lcltype.o units/lmessages.o units/lresources.o units/menus.o units/registry.o units/spin.o units/stdctrls.o units/toolwin.o units/utrace.o units/vclglobals.o
/bin/rm -f units/dialogs.rst
/bin/rm -f units/arrow.o units/buttons.o units/calendar.o units/clipbrd.o units/clistbox.o units/comctrls.o units/controls.o units/dialogs.o units/dynhasharray.o units/extctrls.o units/filectrl.o units/forms.o units/graphics.o units/imglist.o units/interfacebase.o units/interfaces.o units/lazqueue.o units/lcllinux.o units/lcltype.o units/lmessages.o units/lresources.o units/menus.o units/registry.o units/spin.o units/stdctrls.o units/toolwin.o units/utrace.o units/vclglobals.o units/allunits.ppu units/arrow.ppu units/buttons.ppu units/calendar.ppu units/clipbrd.ppu units/clistbox.ppu units/comctrls.ppu units/commctrl.ppu units/controls.ppu units/dialogs.ppu units/dynhasharray.ppu units/extctrls.ppu units/filectrl.ppu units/forms.ppu units/graphics.ppu units/graphtype.ppu units/imglist.ppu units/interfacebase.ppu units/lazqueue.ppu units/lcllinux.ppu units/lcltype.ppu units/lmessages.ppu units/lresources.ppu units/menus.ppu units/messages.ppu units/registry.ppu units/spin.ppu units/stdctrls.ppu units/toolwin.ppu units/utrace.ppu units/vclglobals.ppu units/dialogs.rstarrow.o buttons.o calendar.o clipbrd.o clistbox.o comctrls.o controls.o dialogs.o dynhasharray.o extctrls.o filectrl.o forms.o graphics.o imglist.o interfacebase.o lazqueue.o lcllinux.o lcltype.o lmessages.o lresources.o menus.o spin.o stdctrls.o toolwin.o utrace.o vclglobals.o arrow.ppu buttons.ppu calendar.ppu clipbrd.ppu clistbox.ppu comctrls.ppu commctrl.ppu controls.ppu dialogs.ppu dynhasharray.ppu extctrls.ppu filectrl.ppu forms.ppu graphics.ppu graphtype.ppu imglist.ppu interfacebase.ppu lazqueue.ppu lcllinux.ppu lcltype.ppu lmessages.ppu lresources.ppu menus.ppu messages.ppu spin.ppu stdctrls.ppu toolwin.ppu utrace.ppu vclglobals.ppu dialogs.rst
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
make -C interfaces cleanall
make[2]: Entering directory `/home/davidc/develop/lazarus/lcl/interfaces'
make -C gtk cleanall
make[3]: Entering directory `/home/davidc/develop/lazarus/lcl/interfaces/gtk'
/bin/rm -f ../../units/gtk/interfaces.ppu ../../units/gtk/gtkdef.ppu ../../units/gtk/gtkint.ppu ../../units/gtk/gtkwinapiwindow.ppu
/bin/rm -f ../../units/gtk/interfaces.o ../../units/gtk/gtkdef.o ../../units/gtk/gtkint.o ../../units/gtk/gtkwinapiwindow.o
/bin/rm -f ../../units/gtk/gdk.o ../../units/gtk/glib.o ../../units/gtk/gtkdef.o ../../units/gtk/gtkglarea.o ../../units/gtk/gtkint.o ../../units/gtk/gtk.o ../../units/gtk/gtkwinapiwindow.o ../../units/gtk/interfaces.o ../../units/gtk/keymap.o ../../units/gtk/gdk.ppu ../../units/gtk/glib.ppu ../../units/gtk/gmodule.ppu ../../units/gtk/gtkdef.ppu ../../units/gtk/gtkglarea.ppu ../../units/gtk/gtkint.ppu ../../units/gtk/gtk.ppu ../../units/gtk/gtkwinapiwindow.ppu ../../units/gtk/interfaces.ppu ../../units/gtk/keymap.ppu
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
make[3]: Leaving directory `/home/davidc/develop/lazarus/lcl/interfaces/gtk'
make[2]: Leaving directory `/home/davidc/develop/lazarus/lcl/interfaces'
make[1]: Leaving directory `/home/davidc/develop/lazarus/lcl'
make -C components cleanall
make[1]: Entering directory `/home/davidc/develop/lazarus/components'
/bin/rm -f ./units/avl_tree.o ./units/basiccodetools.o ./units/codeatom.o ./units/codecache.o ./units/codecompletiontool.o ./units/codetoolmanager.o ./units/codetoolmemmanager.o ./units/codetoolsstrconsts.o ./units/codetree.o ./units/customcodetool.o ./units/definetemplates.o ./units/eventcodetool.o ./units/expreval.o ./units/fileprocs.o ./units/finddeclarationcache.o ./units/finddeclarationtool.o ./units/keywordfunclists.o ./units/linkscanner.o ./units/memcheck.o ./units/methodjumptool.o ./units/multikeywordlisttool.o ./units/pascalparsertool.o ./units/resourcecodetool.o ./units/sourcechanger.o ./units/sourcelog.o ./units/stdcodetools.o ./units/syncompletion.o ./units/syneditautocomplete.o ./units/synedithighlighter.o ./units/syneditkeycmds.o ./units/syneditmiscclasses.o ./units/syneditmiscprocs.o ./units/synedit.o ./units/syneditsearch.o ./units/synedittextbuffer.o ./units/synhighlightercpp.o ./units/synhighlighterhtml.o ./units/synhighlighterlfm.o ./units/synhighlighterpas.o ./units/synhighlighterperl.o ./units/synhighlighterxml.o ./units/syntextdrawer.o ./units/allcodetoolunits.ppu ./units/allunits.ppu ./units/avl_tree.ppu ./units/basiccodetools.ppu ./units/codeatom.ppu ./units/codecache.ppu ./units/codecompletiontool.ppu ./units/codetoolmanager.ppu ./units/codetoolmemmanager.ppu ./units/codetoolsstrconsts.ppu ./units/codetree.ppu ./units/customcodetool.ppu ./units/definetemplates.ppu ./units/eventcodetool.ppu ./units/expreval.ppu ./units/fileprocs.ppu ./units/finddeclarationcache.ppu ./units/finddeclarationtool.ppu ./units/keywordfunclists.ppu ./units/linkscanner.ppu ./units/memcheck.ppu ./units/methodjumptool.ppu ./units/multikeywordlisttool.ppu ./units/pascalparsertool.ppu ./units/resourcecodetool.ppu ./units/sourcechanger.ppu ./units/sourcelog.ppu ./units/stdcodetools.ppu ./units/syncompletion.ppu ./units/syneditautocomplete.ppu ./units/synedithighlighter.ppu ./units/syneditkeycmds.ppu ./units/syneditmiscclasses.ppu ./units/syneditmiscprocs.ppu ./units/synedit.ppu ./units/syneditsearch.ppu ./units/syneditstrconst.ppu ./units/synedittextbuffer.ppu ./units/synedittypes.ppu ./units/synhighlightercpp.ppu ./units/synhighlighterhtml.ppu ./units/synhighlighterlfm.ppu ./units/synhighlighterpas.ppu ./units/synhighlighterperl.ppu ./units/synhighlighterxml.ppu ./units/syntextdrawer.ppu ./units/codetoolsstrconsts.rst
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
make -C synedit clean
make[2]: Entering directory `/home/davidc/develop/lazarus/components/synedit'
/bin/rm -f ../units/allunits.ppu ../units/syntextdrawer.ppu ../units/syneditkeycmds.ppu ../units/synedittypes.ppu ../units/syneditstrconst.ppu ../units/syneditsearch.ppu ../units/syneditmiscprocs.ppu ../units/syneditmiscclasses.ppu ../units/synedittextbuffer.ppu ../units/synedit.ppu ../units/synedithighlighter.ppu
/bin/rm -f
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
make[2]: Leaving directory `/home/davidc/develop/lazarus/components/synedit'
make -C codetools clean
make[2]: Entering directory `/home/davidc/develop/lazarus/components/codetools'
/bin/rm -f ../units/allcodetoolunits.ppu ../units/codetoolsstrconsts.ppu ../units/avl_tree.ppu ../units/basiccodetools.ppu ../units/codecache.ppu ../units/sourcelog.ppu ../units/customcodetool.ppu ../units/multikeywordlisttool.ppu ../units/pascalparsertool.ppu ../units/finddeclarationtool.ppu ../units/stdcodetools.ppu ../units/resourcecodetool.ppu ../units/methodjumptool.ppu ../units/eventcodetool.ppu ../units/codecompletiontool.ppu ../units/codeatom.ppu ../units/codetree.ppu ../units/definetemplates.ppu ../units/expreval.ppu ../units/keywordfunclists.ppu ../units/linkscanner.ppu ../units/sourcechanger.ppu ../units/fileprocs.ppu
/bin/rm -f
/bin/rm -f fpcmade.lnx Package.fpc ppas.sh script.res link.res
make[2]: Leaving directory `/home/davidc/develop/lazarus/components/codetools'
make[1]: Leaving directory `/home/davidc/develop/lazarus/components'
/bin/rm -f aboutfrm.o abstractformeditor.o aligncompsdlg.o basedebugmanager.o breakpointsdlg.o buildlazdialog.o callstackdlg.o cmdlinedebugger.o codetemplatedialog.o codetoolsdefines.o codetoolsdefpreview.o codetoolsoptions.o columndlg.o compiler.o compileroptions.o compreg.o controlselection.o customformeditor.o dbgoutputform.o dbgutils.o debuggerdlg.o debugger.o debugmanager.o designer.o editdefinetree.o editoroptions.o environmentopts.o exttooldialog.o exttooleditdlg.o findinfilesdlg.o findreplacedialog.o formeditor.o gdbmidebugger.o idecomp.o ideoptiondefs.o ideprocs.o inputfiledialog.o inputhistory.o jitforms.o keymapping.o lazarusidestrconsts.o lazarus.o lazconf.o localsdlg.o macropromptdlg.o mainbar.o main.o miscoptions.o msgview.o newprojectdlg.o objectinspector.o outputfilter.o patheditordlg.o project1.o projectdefs.o project.o projectopts.o propedits.o runparamsopts.o scalecompsdlg.o sizecompsdlg.o splash.o sysvaruseroverridedlg.o transfermacros.o unit1.o uniteditor.o unitinfodlg.o viewunit_dlg.o watchesdlg.o watchpropertydlg.o wordcompletion.o
/bin/rm -f aboutfrm.ppu abstractformeditor.ppu aligncompsdlg.ppu basedebugmanager.ppu breakpointsdlg.ppu buildlazdialog.ppu callstackdlg.ppu cmdlinedebugger.ppu codetemplatedialog.ppu codetoolsdefines.ppu codetoolsdefpreview.ppu codetoolsoptions.ppu columndlg.ppu compileroptions.ppu compiler.ppu compreg.ppu controlselection.ppu customformeditor.ppu dbgoutputform.ppu dbgutils.ppu debuggerdlg.ppu debugger.ppu debugmanager.ppu designer.ppu editdefinetree.ppu editoroptions.ppu environmentopts.ppu exttooldialog.ppu exttooleditdlg.ppu findinfilesdlg.ppu findreplacedialog.ppu formeditor.ppu gdbmidebugger.ppu idecomp.ppu ideoptiondefs.ppu ideprocs.ppu inputfiledialog.ppu inputhistory.ppu jitforms.ppu keymapping.ppu lazarusidestrconsts.ppu lazconf.ppu localsdlg.ppu macropromptdlg.ppu mainbar.ppu main.ppu miscoptions.ppu msgview.ppu newprojectdlg.ppu objectinspector.ppu outputfilter.ppu patheditordlg.ppu projectdefs.ppu projectopts.ppu project.ppu propedits.ppu runparamsopts.ppu scalecompsdlg.ppu sizecompsdlg.ppu splash.ppu sysvaruseroverridedlg.ppu transfermacros.ppu unit1.ppu uniteditor.ppu unitinfodlg.ppu viewunit_dlg.ppu watchesdlg.ppu watchpropertydlg.ppu wordcompletion.ppu
/bin/rm -f
/bin/rm -f
/bin/rm -f
/bin/rm -f
make -C lcl all
make[1]: Entering directory `/home/davidc/develop/lazarus/lcl'
/bin/rm -f units/allunits.ppu
/usr/bin/ppc386 -gl -Fuinterfaces/abstract -Fu. -Fu/usr/lib/fpc/1.0.6/units/linux/rtl -Fu/usr/lib/fpc/1.0.6/units/linux/paszlib -Fu/usr/lib/fpc/1.0.6/units/linux/inet -Fu/usr/lib/fpc/1.0.6/units/linux/fcl -Fu/usr/lib/fpc/1.0.6/units/linux/mysql -Fu/usr/lib/fpc/1.0.6/units/linux/ibase -Fiinclude -FUunits -Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96 -Fl/usr/X11R6/lib -Fl/usr/lib/qt2/lib -Fl/usr/local/lib/wine -Fl/usr/local/lib -di386 allunits.pp
Free Pascal Compiler version 1.0.6 [2002/05/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling allunits.pp
Compiling interfacebase.pp
Compiling lcllinux.pp
Compiling lcltype.pp
Compiling vclglobals.pp
Assembling vclglobals
Assembling lcltype
Compiling graphtype.pp
Compiling ./interfaces/abstract/interfaces.pp
Compiling interfacebase.pp
Compiling controls.pp
Compiling graphics.pp
Compiling lmessages.pp
Assembling lmessages
Compiling lresources.pp
Assembling lresources
Compiling controls.pp
Compiling imglist.pp
Assembling imglist
Compiling utrace.pp
Assembling utrace
Compiling menus.pp
Compiling ./interfaces/abstract/interfaces.pp
Compiling interfacebase.pp
Compiling controls.pp
Compiling forms.pp
Compiling buttons.pp
Compiling stdctrls.pp
Assembling stdctrls
Compiling messages.pp
Assembling buttons
Compiling ./interfaces/abstract/interfaces.pp
Compiling interfacebase.pp
Assembling interfacebase
Assembling interfaces
Compiling dialogs.pp
Compiling filectrl.pp
Assembling filectrl
Writing Resource String Table file: units/dialogs.rst
Assembling dialogs
Compiling extctrls.pp
Assembling extctrls
Assembling forms
Assembling controls
Assembling menus
Compiling clipbrd.pp
Assembling clipbrd
Assembling graphics
Assembling lcllinux
Compiling registry.pp
Assembling registry
Compiling calendar.pp
Assembling calendar
Compiling spin.pp
Assembling spin
Compiling comctrls.pp
Compiling toolwin.pp
Assembling toolwin
Compiling commctrl.pp
Assembling comctrls
Compiling arrow.pp
Assembling arrow
Compiling dynhasharray.pp
Assembling dynhasharray
Compiling clistbox.pp
Assembling clistbox
Compiling lazqueue.pp
Assembling lazqueue
50519 Lines compiled, 4.6 sec
make -C interfaces all
make[2]: Entering directory `/home/davidc/develop/lazarus/lcl/interfaces'
make -C gtk all
make[3]: Entering directory `/home/davidc/develop/lazarus/lcl/interfaces/gtk'
/bin/rm -f ../../units/gtk/interfaces.ppu ../../units/interfaces.ppu
/usr/bin/ppc386 -gl -Fu../../units -Fu. -Fu/usr/lib/fpc/1.0.6/units/linux/rtl -Fu/usr/lib/fpc/1.0.6/units/linux/paszlib -Fu/usr/lib/fpc/1.0.6/units/linux/inet -Fu/usr/lib/fpc/1.0.6/units/linux/fcl -Fu/usr/lib/fpc/1.0.6/units/linux/gtk -Fu/usr/lib/fpc/1.0.6/units/linux/mysql -Fu/usr/lib/fpc/1.0.6/units/linux/ibase -Fu/usr/lib/fpc/1.0.6/units/linux/x11 -Fu/usr/lib/fpc/1.0.6/units/linux/opengl -FU../../units/gtk -Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96 -Fl/usr/X11R6/lib -Fl/usr/lib/qt2/lib -Fl/usr/local/lib/wine -Fl/usr/local/lib -di386 interfaces.pp
Free Pascal Compiler version 1.0.6 [2002/05/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling interfaces.pp
Compiling interfaces.pp
Compiling interfaces.pp
Compiling interfaces.pp
Compiling gtkint.pp
Compiling gtkdef.pp
Assembling gtkdef
Compiling gtkwinapiwindow.pp
Assembling gtkwinapiwindow
Compiling keymap.pp
Assembling keymap
Assembling gtkint
Assembling interfaces
19220 Lines compiled, 1.8 sec
make[3]: Leaving directory `/home/davidc/develop/lazarus/lcl/interfaces/gtk'
make[2]: Leaving directory `/home/davidc/develop/lazarus/lcl/interfaces'
make[1]: Leaving directory `/home/davidc/develop/lazarus/lcl'
make -C components all
make[1]: Entering directory `/home/davidc/develop/lazarus/components'
make -C synedit all
make[2]: Entering directory `/home/davidc/develop/lazarus/components/synedit'
/bin/rm -f ../units/allunits.ppu
/usr/bin/ppc386 -gl -Fu../../lcl/units/gtk -Fu../../lcl/units -Fu. -Fu/usr/lib/fpc/1.0.6/units/linux/rtl -Fu/usr/lib/fpc/1.0.6/units/linux/paszlib -Fu/usr/lib/fpc/1.0.6/units/linux/inet -Fu/usr/lib/fpc/1.0.6/units/linux/fcl -Fu/usr/lib/fpc/1.0.6/units/linux/regexpr -Fu/usr/lib/fpc/1.0.6/units/linux/mysql -Fu/usr/lib/fpc/1.0.6/units/linux/ibase -FU../units -Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96 -Fl/usr/X11R6/lib -Fl/usr/lib/qt2/lib -Fl/usr/local/lib/wine -Fl/usr/local/lib -di386 allunits.pp
Free Pascal Compiler version 1.0.6 [2002/05/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling allunits.pp
Compiling syntextdrawer.pp
gtkint.pp(74,11) Fatal: Can't find unit GTK
make[2]: Leaving directory `/home/davidc/develop/lazarus/components/synedit'
make[1]: Leaving directory `/home/davidc/develop/lazarus/components'
More information about the Lazarus
mailing list