Mac OS X gtest link error when compiling indigo

asked 2014-06-13 07:19:39 -0500

CodePorter gravatar image

updated 2014-06-14 04:39:38 -0500

demmeln gravatar image

I'm trying to build indigo on a Mac OS X Maverick and I get the following error when compiling diagnostic_aggregator:

ld: library not found for -lgtest
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I removed gtest from brew and compiled it using something:

cmake -G"Unix Makefiles" ..
cp -r include/gtest /usr/local/include
cp lib*.a /usr/local/lib

Any help would be great.

edit retag flag offensive close merge delete


Why did you compile gtest yourself?

demmeln gravatar image demmeln  ( 2014-06-13 21:47:25 -0500 )edit