error during making GTest

后端 未结 5 2231
执笔经年
执笔经年 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:29

    Put "-L/usr/local/$(uname -m)-linux-gnu" in your LDFLAGS and "-pthread" in your linker (ld) command line. (Yes, that's -pthread, not -lpthread)

提交回复
热议问题