Stay away from this tool set. I tried installing to a local directory, the poor design of the headers produced countless compile errors. I tried installing from my linux distro repo and the libraries were not included in the install. I tried doing a sudo make install and used pkg-config to supply the compile and link parameters, and got countless link errors. I am no newb, I have written and compiled so many programs under Linux and Unix, and googlemock\googletest have wasted my time more than any other library I have tried to use.
You basically have to be a CMake guru to use these tools. Stay away unless you have considerable devop experience.
Have you tried git clone-ing from this GitHub repo? The distro repo may have problems of its own.
I haven't had any problems building googletest (using the makefile in googletest/make/Makefile) with:
g++ inside macOS 10.2 and 10.3)I had slight problems building on the following platforms, but eventually overcame them. You can see how in the Wiki pages of my project:
Note to self: don't invite Mark to the next party.
There appears to be no actionable information.
Most helpful comment
Note to self: don't invite Mark to the next party.