benchmark
benchmark copied to clipboard
Errors compiling Spring.Benchmark.pas on Ubuntu
I'm trying to compile Spring.Benchmark.pas using Lazarus 2.0.12 on Ubuntu 20.04.3, but I'm getting a couple of errors:
Compile Project, Target: QuickSortBenchmark: Exit code 1, Errors: 3
Spring.Benchmark.pas(88,27) Error: Identifier not found "pthread_cond_t"
Spring.Benchmark.pas(88,41) Error: Error in type definition
Spring.Benchmark.pas(92,25) Error: Illegal expression
Does it work for you? If so, any idea what I'm doing wrong?
Thank you.
I did not test on FPC with anything but Windows so some types might be incorrect. Please consult anyone with some more FPC experience.