Bookstore

Recent

Author Topic: rte 216 with fpc 1.9.5  (Read 30148 times)

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
rte 216 with fpc 1.9.5
« Reply #15 on: August 26, 2004, 01:35:34 pm »
I am not sure about this one, but you could try this:
run in the lazarus directory:
windres -i lazarus.rc -o lazarus.res
then:
make

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #16 on: August 26, 2004, 04:01:33 pm »
Vincent, thanks a lot.

Now I get:

C:/PP/BIN/WIN32/ppc386.exe -gl -Fulcl/units/i386/win32 -Fulcl/units/i386/win32/w
in32 -Fucomponents/units/i386/win32 -Fucomponents/custom -Fucomponents/mpaslex -
Fuideintf/units/i386/win32 -Fudesigner -Fudesigner/units -Fudebugger -Fupackager
 -Fupackager/units/i386/win32 -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32
/paszlib -Fuc:/pp/units/win32/netdb -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win3
2/regexpr -Fuc:/pp/units/win32/pasjpeg -Fuc:/pp/units/win32/mysql -Fuc:/pp/units
/win32/ibase -Fidebugger -Fidesigner -Fipackager -Fiinclude -Fiinclude/win32 -FE
. -di386 lazarus.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.9.4 [2004/05/30] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Compiling main.pp
Fatal: Can't find unit ALLIDEINTF
MAKE.EXE[1]: *** [lazarus.exe] Error 1
MAKE.EXE[1]: Leaving directory `C:/lazarus'
C:\PP\BIN\WIN32\MAKE.EXE: *** [ide] Error 2

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
rte 216 with fpc 1.9.5
« Reply #17 on: August 26, 2004, 04:26:08 pm »
It seems you hae some old units left from the previous compilation.

Try now the following steps in the lazarus directory:
make clean
find all remain .ppu and .o files and remove them.
do the windres thing.
make

HTH, (no guarantees).
Vincent

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #18 on: August 27, 2004, 09:52:45 am »
Thanks a lot. I did so (After "make clean" somw 600 *.ppu and  *.o files weredeleted. )

Now running "make" still stops with the error  Fatal: Can't find unit ALLIDEINTF

Thanks agaiin, Michael

pepecito

  • Full Member
  • ***
  • Posts: 130
    • http://pepecito.zapto.org
rte 216 with fpc 1.9.5
« Reply #19 on: August 27, 2004, 10:01:51 am »
Quote from: "mschnell"
Now running "make" still stops with the error  Fatal: Can't find unit ALLIDEINTF


It happened to me too with the latest release. I solved it downloading a newer snapshot.  :wink:
:: Home Page ::

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
rte 216 with fpc 1.9.5
« Reply #20 on: August 27, 2004, 10:06:37 am »
Just checking: you do have a lazarus\ideintf directory, don't you?

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #21 on: August 27, 2004, 10:19:57 am »
For a test I copied ALLIDEINTF.PAS  to the main LAZARUS directory.

Now I get:

Compiling .\packager\registerideintf.pas
packagesystem.pas(112,44) Hint: Parameter "Dependency" not used
packagesystem.pas(195,37) Hint: Parameter "Prefix" not used
packagesystem.pas(1875,25) Error: identifier idents no member "REGISTERCUSTOMIDE
COMPONENTS"
packagesystem.pas(1875,52) Error: Illegal expression
packagesystem.pas(1875,52) Fatal: Syntax error, ";" expected but "(" found
MAKE.EXE[1]: *** [lazarus.exe] Error 1
MAKE.EXE[1]: Leaving directory `C:/lazarus'
C:\PP\BIN\WIN32\MAKE.EXE: *** [ide] Error 2

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #22 on: August 27, 2004, 10:21:41 am »
> Just checking: you do have a lazarus\ideintf directory, don't you?

Yes.

-Michael

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #23 on: August 27, 2004, 10:23:07 am »
> It happened to me too with the latest release. I solved it downloading a newer snapshot

How to get same ? (due to the companies firewall I can't  use a VCS. )

-Michael

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
rte 216 with fpc 1.9.5
« Reply #24 on: August 27, 2004, 10:25:37 am »

pepecito

  • Full Member
  • ***
  • Posts: 130
    • http://pepecito.zapto.org
rte 216 with fpc 1.9.5
« Reply #25 on: August 27, 2004, 10:28:11 am »
Quote from: "mschnell"
How to get same ? (due to the companies firewall I can't  use a VCS. )


You don't need CVS. Just go to download page -> source
... there you will find the latest snapshot
... or use this link: http://www.lazarus.freepascal.org/modules.php?op=modload&name=Downloads&file=index&req=viewdownload&cid=4

If this snapshot gives you problem then try again after 1 day, since it is updated daily.

Hope this helps  :wink:
:: Home Page ::

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #26 on: August 30, 2004, 11:38:58 am »
I D/Led ftp://ftp.freepascal.org/pub/fpc/snapshot/lazarus/lazarus.zip

after creating 305 files, Make issues:

C:/PP/BIN/WIN32/ppc386.exe -gl -Fulcl/units/i386/win32 -Fulcl/units/i386/win32/w
in32 -Fucomponents/units/i386/win32 -Fucomponents/custom -Fucomponents/mpaslex -
Fuideintf/units/i386/win32 -Fudesigner -Fudesigner/units -Fudebugger -Fupackager
 -Fupackager/units/i386/win32 -Fu. -Fuc:/pp/units/win32/rtl -Fuc:/pp/units/win32
/paszlib -Fuc:/pp/units/win32/netdb -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win3
2/regexpr -Fuc:/pp/units/win32/pasjpeg -Fuc:/pp/units/win32/mysql -Fuc:/pp/units
/win32/ibase -Fidebugger -Fidesigner -Fipackager -Fiinclude -Fiinclude/win32 -FE
. -di386 lazarus.pp
Hint: End of reading config file c:\pp\bin\win32\fpc.cfg
Free Pascal Compiler version 1.9.4 [2004/05/30] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Win32 for i386
Compiling lazarus.pp
Compiling main.pp
Compiling projectinspector.pas
Compiling addtoprojectdlg.pas
Compiling .\packager\packagesystem.pas
packagesystem.pas(112,44) Hint: Parameter "Dependency" not used
packagesystem.pas(195,37) Hint: Parameter "Prefix" not used
packagesystem.pas(1875,25) Error: identifier idents no member "REGISTERCUSTOMIDE
COMPONENTS"
packagesystem.pas(1875,52) Error: Illegal expression
packagesystem.pas(1875,52) Fatal: Syntax error, ";" expected but "(" found
MAKE.EXE[1]: *** [lazarus.exe] Error 1
MAKE.EXE[1]: Leaving directory `C:/lazarus'
C:\PP\BIN\WIN32\MAKE.EXE: *** [ide] Error 2

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
rte 216 with fpc 1.9.5
« Reply #27 on: August 30, 2004, 12:12:34 pm »
It seems you didn't remove all the old source and are using an old ComponentReg.pas.

mschnell

  • Full Member
  • ***
  • Posts: 131
    • http://www.lumino.de
rte 216 with fpc 1.9.5
« Reply #28 on: August 30, 2004, 05:02:50 pm »
> It seems you didn't remove all the old source

I thought "make clean" would take care of deleting all old stuff.

> and are using an old ComponentReg.pas.

I thoght lararus.zip would overwrite all old stuff.

I now deleted the complete lazarus directory and reinstalled it from  lararus.zip


Now it did compile and start with a good looking IDE.

I was able to create a form with a button and compile and start that project.

Now I wanted to do an event for the button. So I switched to the form designer with F12. Doubleclicking the button creates an error message and no event source code.  Secound try: same result.

I was able to do this in an earlier version.

I think I give up for the moment :-(

-Michael

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
rte 216 with fpc 1.9.5
« Reply #29 on: August 30, 2004, 05:10:10 pm »
make clean deletes compiled units.

some unit source files changed directories, so old ones won't be overwritten.

Because I don't have an error message, I don't know what went wrong. I could be that the fpc source directory was not set correctly, (Environment Options, Files Tab).

Thanks for trying it, for so many times. It realy showed the need for a binary installer, which I hope wil be there within two weeks. (Maybe I should not say this, I have been wrong in the past with such guesses.)