Recent

Author Topic: Empty project is not compiled. Why?  (Read 581 times)

dolgopa

  • Newbie
  • Posts: 4
Empty project is not compiled. Why?
« on: September 05, 2020, 05:06:55 pm »
Quote
Free Pascal Compiler version 3.2.0 [2020/06/04] for i386
(1002) Target OS: Win32 for i386
(3104) Compiling project1.lpr
(10001) PPU Loading C:\lazarus\components\lazutils\lib\i386-win32\fpcadds.ppu
(10011) PPU Source: fpcadds.pas not found
(10011) PPU Source: lazutils_defines.inc not available
(10028) Recompiling FPCAdds, checksum changed for C:\FPC\3.2.0\units\i386-win32\rtl\sysutils.ppu
C:\lazarus\components\lazutils\lib\i386-win32\fpcadds.ppu:fpcadds.pas(11,35) Fatal: (10022) Can't find unit FPCAdds used by LazUTF8
Fatal: (1018) Compilation aborted
Error: C:\FPC\3.2.0\bin\i386-Win32\ppc386.exe returned an error exitcode
Host OS is Windows Vista Business.

jamie

  • Hero Member
  • *****
  • Posts: 3797
Re: Empty project is not compiled. Why?
« Reply #1 on: September 05, 2020, 07:05:06 pm »
I think you better re-install laz again but this time tell it to fully uninstall what is there and clean it out.

Also, install Lazarus at the root somewhere , do not put it in the programs folder.
The only true wisdom is knowing you know nothing

dolgopa

  • Newbie
  • Posts: 4
Re: Empty project is not compiled. Why?
« Reply #2 on: September 06, 2020, 08:29:26 pm »
I think you better re-install laz again but this time tell it to fully uninstall what is there and clean it out.

Also, install Lazarus at the root somewhere , do not put it in the programs folder.
May be reason is a "Free Pascal" compiler stand alone installed at "C:\FPC"

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6721
  • Debugger - SynEdit - and more
    • wiki
Re: Empty project is not compiled. Why?
« Reply #3 on: September 06, 2020, 09:24:05 pm »
Did you recently update? Or is this a new install?

In any case, try menu: Tools > Configure build lazaurs
In the dialog make sure to check the item "clean all" and then build.

After the IDE was rebuild it should work.

dolgopa

  • Newbie
  • Posts: 4
Re: Empty project is not compiled. Why?
« Reply #4 on: September 07, 2020, 08:56:34 am »
Did you recently update? Or is this a new install?
New install. At first, "Free Pascal" compiler was installed in "C:\FPC" folder, then a Lazarus in "C:\lazarus" folder.

PascalDragon

  • Hero Member
  • *****
  • Posts: 2435
  • Compiler Developer
Re: Empty project is not compiled. Why?
« Reply #5 on: September 07, 2020, 09:05:01 am »
Why did you install a separate FPC when Lazarus provides one with its installer on Windows?

dolgopa

  • Newbie
  • Posts: 4
Re: Empty project is not compiled. Why?
« Reply #6 on: September 07, 2020, 09:59:56 am »
Why did you install a separate FPC when Lazarus provides one with its installer on Windows?
When I have separate FPC installed, i did not know about Lazarus.

 

TinyPortal © 2005-2018