muduo icon indicating copy to clipboard operation
muduo copied to clipboard

compile failed because cannot find -lpthreads

Open wpp2014 opened this issue 8 years ago • 3 comments

My system is Ubuntu 18.04 x64, the version of gcc is 7.3.0, the version of cmake is 3.10.2, the branch is cpp11. CMakeError.log CMakeOutput.log

wpp2014 avatar Jul 08 '18 14:07 wpp2014

sudo apt install libboost-dev libprotobuf-dev

feihongmeilian avatar Aug 09 '18 07:08 feihongmeilian

Use -lpthread not -lpthreads

baixiangcpp avatar Sep 17 '18 03:09 baixiangcpp

Thanks,this problem is solved.

wpp2014 avatar Sep 19 '18 13:09 wpp2014