Robotics StackExchange | Archived questions

Mac OS X gtest link error when compiling indigo

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" ..
make
cp -r include/gtest /usr/local/include
cp lib*.a /usr/local/lib

Any help would be great.

Asked by CodePorter on 2014-06-13 07:19:39 UTC

Comments

Why did you compile gtest yourself?

Asked by demmeln on 2014-06-13 21:47:25 UTC

Answers