CMake error due to pthread_create


I have an
undefined reference to `pthread_create’
error when trying to compile with ATLAS CMake
Following the solution below, I have tried removing the testarea line in and check to make sure that I don’t have extra .asetup files, but the problem seems to persist.

I wonder if experts will have any other suggestions?

My code directory set up is as describe as the here, the is located within source/ but I have also tried moving it one level up. I tried removing testarea in both trials, the error persists.



This isn’t a wonderful answer, but have you tried fiddling with the compile / linking options around pthread?

There’s some suggesions in the answer here, for example:

sorry I forgot to specify that I am on the dev branch of the gitlab repository.