I tried one of the (ugly) workarounds from the comments above:
Linking CXX executable ../bin/test_unique_id /usr/bin/ld: cannot find -l/usr/lib/libgtest.a
Please have a look at :(especially the change for 1.6.0-1ubuntu2)This is a known issue on Ubuntu:Catkin solves this problem as follows:https://github.com/ros/catkin/blob/master/cmake/test/gtest.cmakeOn Fri, Nov 23, 2012 at 5:22 PM, Wim Meeussen <wim@hidof.com> wrote:
The libgtest-dev package did get installed. Here is the full console output:There's more going on. I added the libgtest-dev package, but the library is still not found. Looking at the Ubuntu package, the library is not part of libgtest-dev <http://packages.ubuntu.com/precise/amd64/libgtest-dev/filelist>. The only Ubuntu package containing the libgtest.so is ugene <http://packages.ubuntu.com/search?searchon=contents&keywords=libgtest.so&mode=exactfilename&suite=precise&arch=any>, which is not really what we're looking for. So that leaves the question, where did we get install libgtest.so from in the past?Wim_______________________________________________
Ros-release mailing list
Ros-release@code.ros.org
https://code.ros.org/mailman/listinfo/ros-release