error during making GTest

后端 未结 5 2259
执笔经年
执笔经年 2020-12-15 02:52

I was trying to set up GTest environment on my Ubuntu machine. but while making the GTest to get the library, i get the following error...

som@som-VPCEH25EN:         


        
5条回答
  •  悲哀的现实
    2020-12-15 03:50

    I had the same problem and I changed -lpthread in the Makefile to -pthread. (I dropped out the small 'L'.) After that a 'make' compiled without errors.

提交回复
热议问题