You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our case it wasn't and leads to all kinds of wonky linking error messages. We fixed it by remaking gtest as a shared library but it would be nice if it could support either.
The text was updated successfully, but these errors were encountered:
Can you please clarify on which platform you had that problem and how that system was being setup.
Upstream highly recommends not to use a pre-build library but to build gtest together with your code. Therefore I don't think the maintainers will spend time supporting a static library. If you could provide a pull request for supporting this use case I would be happy to review it.
This was on Ubuntu 14.04 running indigo. Since catkin currently supports some conditions for this as apposed to no support, I'll look into getting it to check more dynamically.
We had a developer computer that had a pre-built version of gtest installed which catkin correctly found. However, it looks like it's assuming the library is a shared library: https://github.com/ros/catkin/blob/kinetic-devel/cmake/test/gtest.cmake#L166-L168
In our case it wasn't and leads to all kinds of wonky linking error messages. We fixed it by remaking gtest as a shared library but it would be nice if it could support either.
The text was updated successfully, but these errors were encountered: