Recent

Author Topic: help: can't find StrUtils used by LazUTF8 of Package LazUtils  (Read 4562 times)

BrunoK

  • Hero Member
  • *****
  • Posts: 716
  • Retired programmer
Re: help: can't find StrUtils used by LazUTF8 of Package LazUtils
« Reply #15 on: April 07, 2025, 11:25:12 am »
Try :

Pick the fpc.cfg file you showed in your last message and copy it to the "C:\Lazarus\fpc\3.2.2\bin\x86_64-win64" folder. That should be enough.

In case it is not "enough", edit the  "C:\Lazarus\fpc\3.2.2\bin\x86_64-win64\fpc.cfg" you just copied and replace
Quote
# searchpath for units and other system dependent things
-FuC:\lazarus\fpc\$FPCVERSION/units/$fpctarget
-FuC:\lazarus\fpc\$FPCVERSION/units/$fpctarget/*
-FuC:\lazarus\fpc\$FPCVERSION/units/$fpctarget/rtl
with
Quote
# searchpath for units and other system dependent things
-FuC:\lazarus\fpc\3.2.2/units/$fpctarget
-FuC:\lazarus\fpc\3.2.2/units/$fpctarget/*
-FuC:\lazarus\fpc\3.2.2/units/$fpctarget/rtl
In windows, the fpc.cfg file must (?) be with the used compiler and is needed so the compiler knows where to find its source / compiled_units. (And various other things where appropriate).

OlFred

  • New member
  • *
  • Posts: 9
Re: help: can't find StrUtils used by LazUTF8 of Package LazUtils
« Reply #16 on: April 07, 2025, 12:36:37 pm »
Hi,

It solved the compiling functionality, but the fpcmkcfg problem is not solved.

Thank you very much for te trick.

the fpcmkcfg problem is for the lazarus team to do something about I guess, as the problem was present in every version containing fpc version 3.2.2
It is probably an installation script Issue. That would be my guess. the parameters sent to the fpcmkcfg program...

 

TinyPortal © 2005-2018