Sign in Join

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

Mailing lists / lazarus / 2008-04

windows snapshot, "Can't find unit InterfaceBase used by Interfaces"

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Luca Olivetti

With today windows snapshot
(Lazarus-0.9.25-fpc-2.2.1-20080423-win32.exe) freshly installed (after uninstalling the previous one and renaming the remaining directory), trying to add a package (lazdaemon, but I suppose it doesn't matter), I have this problem rebuilding the ide. The usual causes (using a different fpc or a different/global fpc.cfg) don't seem to apply here.

C:\lazarus\components\daemon\reglazdaemon.pp(55,31) Hint: Parameter "AProject" not used
"Compiling package lazdaemon 0.9.9" completed
Recompiling InterfaceBase, checksum changed for Classes c:\lazarus\ide\lazarus.pp(1,1) Fatal: Can't find unit InterfaceBase used by Interfaces

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti

En/na Luca Olivetti ha escrit:

Show quoted text 13 lines
With today windows snapshot (Lazarus-0.9.25-fpc-2.2.1-20080423-win32.exe) freshly installed (after uninstalling the previous one and renaming the remaining directory), trying to add a package (lazdaemon, but I suppose it doesn't matter), I have this problem rebuilding the ide. The usual causes (using a different fpc or a different/global fpc.cfg) don't seem to apply here. C:\lazarus\components\daemon\reglazdaemon.pp(55,31) Hint: Parameter "AProject" not used "Compiling package lazdaemon 0.9.9" completed Recompiling InterfaceBase, checksum changed for Classes c:\lazarus\ide\lazarus.pp(1,1) Fatal: Can't find unit InterfaceBase used by Interfaces

FWIW, a "make fpc_baseinfo" in any directory under lcl\interfaces thinks that the FPCDIR is c:/pp
Manually setting the environment variable FPCDIR to c:\lazarus\fpc\2.2.1 I can compile the ide on the commandline (though a "make idepkg" won't rename lazarus.new.exe to lazarus.exe).
If I compile the ide inside lazarus, I get an empty error (I suppose) dialog from startlazarus instead of restarting the ide (I think because it couldn't rename lazarus.new.exe, in fact when restarting it manually I have the old ide, without the newly installed packages).

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Felipe Monteiro de Carvalho
to Luca Olivetti: En/na Luca Olivetti ha escrit: FWIW, a "make fpc_baseinfo" in any directory under…

If you update frequently, it may be more convenient to use subversion.

Just install 1 snapshot as usual, just so that you have the adequate FPC, and then use tortoisesvn to get the latest Lazarus. You can even remove everything except the mingw and the fpc dirs inside the snapshot.

Then you can put a batch script in your lazarus this, like this one, to build your Lazarus:

PATH=C:\Programas\lazarus22\fpc\2.2.1\bin\i386-win32 make OPT="-dWindowsUnicodeSupport"
pause

To update you just do svn update in tortoisesvn and then run the batch again.

Felipe Monteiro de Carvalho

Reply by email

Luca Olivetti
to Felipe Monteiro de Carvalho: Check your environemental options to see which fpc you use. Also try to rebuild LCL.…

En/na Felipe Monteiro de Carvalho ha escrit:

Check your environemental options to see which fpc you use.

That's the first thing I did, fpc is the one that came with the snapshot (c:\lazarus\fpc\2.2.1\bin\i386-win32\fpc.exe)

Also try to rebuild LCL.

Did that too. I think the problem is in the makefiles

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti: With today windows snapshot (Lazarus-0.9.25-fpc-2.2.1-20080423-win32.exe) freshly…

En/na Luca Olivetti ha escrit:

Show quoted text 13 lines
With today windows snapshot (Lazarus-0.9.25-fpc-2.2.1-20080423-win32.exe) freshly installed (after uninstalling the previous one and renaming the remaining directory), trying to add a package (lazdaemon, but I suppose it doesn't matter), I have this problem rebuilding the ide. The usual causes (using a different fpc or a different/global fpc.cfg) don't seem to apply here. C:\lazarus\components\daemon\reglazdaemon.pp(55,31) Hint: Parameter "AProject" not used "Compiling package lazdaemon 0.9.9" completed Recompiling InterfaceBase, checksum changed for Classes c:\lazarus\ide\lazarus.pp(1,1) Fatal: Can't find unit InterfaceBase used by Interfaces

With today (20080424) snapshot everything seems ok.

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email

Luca Olivetti
to Felipe Monteiro de Carvalho: If you update frequently, it may be more convenient to use subversion. Just install 1…

En/na Felipe Monteiro de Carvalho ha escrit:

If you update frequently, it may be more convenient to use subversion.

That's what I do under linux, under windows I don't update that frequently, I just wanted to see if a recent snapshot, with a couple of fixes in fpc I need, was working ok, so I can give it to my customer along with the sources of my project.

Bye

Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007

Reply by email