GTest not found [closed]
Hi!
I am trying to get my project to work with GTest. It is with ROS fuerte. I added the following line to the CMakeLists:
rosbuild_add_gtest(test/model test/model.cpp)
While building the project i get the error:
[rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
CMake Warning at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:595 (message):
GTest not found; C++ tests will fail to build.
Call Stack (most recent call first):
/opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:124 (rosbuild_add_gtest_build_flags)
/opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:625 (_rosbuild_add_gtest)
CMakeLists.txt:34 (rosbuild_add_gtest)
This not only happens when i build my own package but also when i try to build a fuerte package.. I have Ubuntu Version 10.04 and libgtest is installed in /usr/lib and /usr/include.
Do you have any advice?
Thanks!
Jonas