[fpc-devel] Unit libpcre2_16 not found
Michael Van Canneyt
michael at freepascal.org
Thu Jan 29 10:58:58 CET 2026
On Thu, 29 Jan 2026, Adriaan van Os via fpc-devel wrote:
> Michael Van Canneyt wrote:
>
>>> Any clues ?
>>
>> Yes, there is no libpcre2_16 on mac. On mac, libpcre2_8 must be used. I
>> never got around to correcting the sources for unicodertl.
>
> Can I help ? What needs to be done ? Undefine USEWIDESTRING if DARWIN is
> defined in packages/vcl-compat/src/system.regularexpressionscore.pp ? And
> possibly in other places in the code ?
That, plus you'll need to convert the UTF16 strings to UTF8 and vice versa when calling the libpcre functions.
Michael.
More information about the fpc-devel
mailing list