On 09/02/16 10:38, Bo Berglund wrote:
No I did not add the -d in front of the UseCThreads symbol, just the
symbol itself.

I used Menu: Project/Project_Options/Compiler_Options/Custom_Options
This was the only place I found the word Defines, which appears on a
button to the right. It is in subnode Compiler_Options, which did not
sound right to me anyway since I wanted the symbol to be global
including the Lazarus IDE code parser, but I did not find defines
anywhere else...
Manual way: Add -dUseCThreads in Project/Project_Options/Compiler_Options/Custom_Options

Then I clicked the button and an input dialog named Defines popped up.
It has a text input box named Define into which I typed UseCThreads
Then I clicked the Add button and this name appeared in the list
below, so I clicked OK and the input dialog disappeared and I was back
in the Custom_Options dialog with nothing showing in the list there.
If I cancel at this point everything works out except for the define
but on the second try I clicked OK and then Lazarus locked up.
If you use the defines button, make sure the checkbox next to UseCThreads is ticked. -dUseCThreads will show up automatically in Project/Project_Options/Compiler_Options/Custom_Options

Stephano

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to