[Lazarus] Thread support in package in MacOS 10.5

Vincent Snijders vsnijders at quicknet.nl
Fri Sep 5 09:18:05 CEST 2008


Roland Turcan schreef:
> Hello lazarus project!
> 
> I added some components into package which have some threads inside,
> but after building lazarus, lazarus shows the message:
> 
>> This binary has no thread support compiled in.
>> Recompile the application with a thread-driver in the program uses
>> clause before other units using thread.
> 
> But where to put into package thread support?

Add -dUseCThreads to the usage options of your package.

Lazarus and LCL applications using the default template will pick it up.

Vincent



More information about the Lazarus mailing list