[Lazarus] Codetools vs compiler

patspiper patspiper at gmail.com
Sat Sep 20 19:18:19 CEST 2014


On 20/09/14 20:01, Mattias Gaertner wrote:
> On Sat, 20 Sep 2014 19:14:31 +0300
> patspiper <patspiper at gmail.com> wrote:
>
>> [...]
>> I guess I found the cause. The problem is 2 fold:
>>
>> 1- The function GetProcessAffinityMask is not defined for WinCE, as it
>> is not defined in fpc/rtl/wince/wininc/redef.inc (as opposed to
>> fpc/rtl/win/wininc/redef.inc which includes GetProcessAffinityMask).
>> Hence this function should be eliminated from utf8process.pp for WinCE.
>>
>> 2- Codetools are still pointing to the win version of redef.inc
>> eventhough the project's LCLwidgetset is WinCE.
> LCL widget set <> OS.
> The LCL setting has nothing to do with the FPC sources.
>
> You must set Target OS to Wince. By default this will select LCL
> widgetset wince. Not the other way round.

I should have said both target OS and widgetset. They were both 
explicitly set to WinCE, and the target CPU to arm.

Stephano




More information about the Lazarus mailing list