Sign in Join

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

Mailing lists / lazarus / 2010-05

Lazarus r25225 fails to compile under Windows

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

My damn luck! r25225 compiles under Linux, but fails under Windows.

I get the error: Failed to find file "". If it's part of your project bla, bla, bla...

See attached screenshot. I looked at the full compiler output, and it failed when trying to compile the lazarus.pp unit. I'm using the latest FPC 2.4.1 (just compiled it before Lazarus) under Windows 2000.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-1.png Type: image/png Size: 12773 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100506/a40945d7/attachment.png>

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys

Here is the compiler output, if that might help. I removed ALL "installed/known packages", except the last 5 or so which are required for the IDE itself, and still I get this error.

Any thoughts?

---------------------------------------------
C:\FPC\binutils\make.exe: Entering directory `C:/lazarus/lcl' c:/fpc/binutils/rm.exe -f units/i386-win32/alllclunits.ppu C:/FPC/2.4.1/bin/ppc386.exe -gl -Fu. -Fuforms -Fuwidgetset -Fiinclude -FE. -FUunits/i386-win32 -di386 alllclunits.pp
Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
C:/FPC/binutils/make.exe -C interfaces all
make.exe[1]: Entering directory `C:/lazarus/lcl/interfaces' C:/FPC/binutils/make.exe -C win32 all
make.exe[2]: Entering directory `C:/lazarus/lcl/interfaces/win32' c:/fpc/binutils/rm.exe -f ../../units/i386-win32/win32/interfaces.ppu \ ../../units/i386-win32/win32/interfaces.o
C:/FPC/2.4.1/bin/ppc386.exe -gl -Fu../../units/i386-win32 -Fu. -FE. -FU../../units/i386-win32/win32 -di386 interfaces.pp Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
make.exe[2]: Leaving directory `C:/lazarus/lcl/interfaces/win32' make.exe[1]: Leaving directory `C:/lazarus/lcl/interfaces' C:\FPC\binutils\make.exe: Leaving directory `C:/lazarus/lcl' "LCL" completed
C:\FPC\binutils\make.exe: Entering directory `C:/lazarus/packager/registration' c:/fpc/binutils/rm.exe -f ../units/i386-win32/lazaruspackageintf.ppu C:/FPC/2.4.1/bin/ppc386.exe -gl -Fu. -FE. -FU../units/i386-win32 -di386 lazaruspackageintf.pas
Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
C:\FPC\binutils\make.exe: Leaving directory `C:/lazarus/packager/registration' "Package Registration" completed
C:\FPC\binutils\make.exe: Entering directory `C:/lazarus/ideintf' c:/fpc/binutils/rm.exe -f units/i386-win32/allideintf.ppu C:/FPC/2.4.1/bin/ppc386.exe -gl -dlclwin32 -Fu../lcl/units/i386-win32 -Fu../components/codetools/i386-win32 -Fu../packager/units/i386-win32 -Fu. -FE. -FUunits/i386-win32 -di386 allideintf.pas Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
C:\FPC\binutils\make.exe: Leaving directory `C:/lazarus/ideintf' "IDE Interface" completed
C:\FPC\binutils\make.exe: Entering directory `C:/lazarus/components/synedit' c:/fpc/binutils/rm.exe -f units/i386-win32/allsyneditunits.ppu C:/FPC/2.4.1/bin/ppc386.exe -gl -dlclwin32
-Fu../../lcl/units/i386-win32 -Fu../../ideintf/units/i386-win32 -Fu. -FE. -FUunits/i386-win32 -di386 allsyneditunits.pp Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
C:\FPC\binutils\make.exe: Leaving directory `C:/lazarus/components/synedit' "SynEdit" completed
Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling codetools.pas
31 lines compiled, 0.4 sec
"Compiling package CodeTools 1.0.1" completed
Hint: Start of reading config file C:\FPC\2.4.1\bin\fpc.cfg Hint: End of reading config file C:\FPC\2.4.1\bin\fpc.cfg Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling editortoolbar.pas
21 lines compiled, 0.8 sec
2 hint(s) issued
"Compiling package editortoolbar 0.4" completed
C:\FPC\binutils\make.exe: Entering directory `C:/lazarus' C:/FPC/binutils/make.exe -C ide ide
make.exe[1]: Entering directory `C:/lazarus/ide'
../tools/svn2revisioninc.exe .. revision.inc
C:/FPC/binutils/make.exe --assume-new=lazarus.pp lazarus.exe OPT=' -WG @C:\DOCUME~1\GRAEME~1\LOCALS~1\APPLIC~1\lazarus\idemake.cfg -FEC:\lazarus -olazarus.new.exe'
make.exe[2]: Entering directory `C:/lazarus/ide'
C:/FPC/2.4.1/bin/ppc386.exe -gl -dlclwin32 -Fu../lcl/units/i386-win32 -Fu../lcl/units/i386-win32/win32
-Fu../components/codetools/units/i386-win32
-Fu../components/synedit/units/i386-win32 -Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/i386-win32 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../packager/units/i386-win32 -Fu../units/i386-win32 -Fuframes -Fu. -Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../units/i386-win32 -WG
@C:\DOCUME~1\GRAEME~1\LOCALS~1\APPLIC~1\lazarus\idemake.cfg -FEC:\lazarus -olazarus.new.exe -di386 lazarus.pp
Free Pascal Compiler version 2.4.1 [2010/05/06] for i386 Copyright (c) 1993-2009 by Florian Klaempfl
Fatal: Compilation aborted

---------------------------------------------

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Graeme Geldenhuys
to Paul Ishenin
Paul Ishenin wrote
This happens sometime because of project path. Usually saving project to some easy directory solves the problem.

I'm rebuilding the IDE itself via "Tool > Configure Build Lazarus", so there is not Project Options to look at, like the message suggested? Also, Lazarus is located in 'C:\Lazarus' so there is not spaces etc in the path name.

I tried to the a 'make clean all', but bombed out with a "unknown runtime error"?!? I will rebuild the FPC compiler as well as Lazarus IDE - lets see if I got any better luck after that.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Graeme Geldenhuys
to Vladimir Zhirov: I've just checked out and compiled r25225 without any issues using FPC 2.4.0. Could it be…
Vladimir Zhirov wrote
I've just checked out and compiled r25225 without any issues using FPC 2.4.0. Could it be compiler setup problem?

Nope, this is my release build server that has been setup and working for months. Ever now and again, I simply pull in new updates from the FPC and Lazarus repositories and recompile everything. FPC compiled fine, but the Lazarus rebuild failed. :-/

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Graeme Geldenhuys

2010/5/6 Fl?vio Etrusco:

> FPC compiled fine, Doesn't mean it'll work fine ;-) The "internal error" kinds of prove it.

I obviously tested that by compiling fpGUI library, fpGUI UI Designer etc.. They compiled just fine and the apps worked. It's just Lazarus IDE that didn't want to compile.

Hope your action to rebuild fpc will fix it :-)

Rebuilding FPC made no difference. I then reverted Lazarus to a revision dated 1 May 2010, and that compiled correctly and runs. No idea what happened or changed in the last 6 days of commits. :-/

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Martin
to Graeme Geldenhuys: My damn luck! r25225 compiles under Linux, but fails under Windows. I get the error: …
Graeme Geldenhuys wrote 11 lines
My damn luck! r25225 compiles under Linux, but fails under Windows. I get the error: Failed to find file "". If it's part of your project bla, bla, bla... See attached screenshot. I looked at the full compiler output, and it failed when trying to compile the lazarus.pp unit. I'm using the latest FPC 2.4.1 (just compiled it before Lazarus) under Windows 2000.

Is it possible that some of your packages are used from different/older pathes?

The deprecated warning in sqldb (in your screen-shot) has been fixed long before rev 25225.
So I would conclude that your sqldb source is from an older version?

Also in your follow up mail, you seem to compile in "C:/lazarus/" But the image shows "C:/lazarus-0.9.28.2/"

Also 0.9.28.2 didn't have the symbol in question deprecated => that was only done this year.

Martin

Reply by email