Recent

Author Topic: ERROR: The current FPC has no config file. It will probably miss some units ...  (Read 216 times)

BubikolRamios

  • Sr. Member
  • ****
  • Posts: 397
I guess fpc is instaled correctly as my current project works OK.

Opening some old project. It appears I installed ZEOS lib OK, as now I can open form at design time.

Error from thread subject, at opening project.

Then:
Quote
The project uses target OS=win64 and CPU=i386.
The system.ppu for this target was not found in the FPC binary directories.
Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories.

trying to run:

Quote
Compile package FCL 1.0.1: Exit code 1, Errors: 1
Error: Illegal parameter: -Twin64
lazarus 3.2-fpc-3.2.2-win32/win64

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Set the CPU to x86_64.

BubikolRamios

  • Sr. Member
  • ****
  • Posts: 397
Nope, does not help/work at all.
After this and that, undocumented, had to replace libmysql.dll with libmysql50.dll found at https://www.dll-files.com/. Former lib namely not compatible with target, does not say with what of target options.

Thanks.
lazarus 3.2-fpc-3.2.2-win32/win64

Thaddy

  • Hero Member
  • *****
  • Posts: 19273
  • Glad to be alive.
Versioning of the correct dll/shared library is YOUR responsibility. Not the tool you are using.
objects are fine constructs. You can even initialize them with constructors.

 

TinyPortal © 2005-2018