Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect GTEST_INCLUDE_DIRS #585

Closed
muratsevim opened this issue Feb 2, 2014 · 3 comments
Closed

Incorrect GTEST_INCLUDE_DIRS #585

muratsevim opened this issue Feb 2, 2014 · 3 comments
Assignees
Labels

Comments

@muratsevim
Copy link

I usually checkout gtest into the workspace as suggested by catkin to compile the tests.
Catkin can find gtest:

Found gtest sources under '/Users/murat/catkin_ws/src/gtest': gtests will be built

The GTEST_INCLUDE_DIRS variable is set to /Users/murat/catkin_ws/src/gtest/include/gtest. However, it should be /Users/murat/catkin_ws/src/gtest/include or both. Otherwise #include <gtest/gtest.h> does not work which is how most ros libraries include gtest.

I am using Hydro on OSX 10.9 and gtest 1.7.0.

@dirk-thomas dirk-thomas self-assigned this Feb 3, 2014
@dirk-thomas
Copy link
Member

Thanks for reporting the problem. The issue has been fixed on the indigo-devel branch for now. Since we just released catkin the next release might take a while but then it will be backported for hydro.

@muratsevim
Copy link
Author

Thanks. Manually applying the fix worked for me.

@dirk-thomas
Copy link
Member

Thank you for confirming - that is always good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants