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

class-loader: cmake error if gtest is not found #86

Closed
bulwahn opened this issue Jun 1, 2013 · 0 comments
Closed

class-loader: cmake error if gtest is not found #86

bulwahn opened this issue Jun 1, 2013 · 0 comments

Comments

@bulwahn
Copy link
Contributor

bulwahn commented Jun 1, 2013

During configure of class-loader, it first warns:

| CMake Warning at /home/bulwahn/openembedded-core/build/tmp-eglibc/sysroots/i686-linux/usr/share/catkin/cmake/test/gtest.cmake:99 (message):
| gtest not found, C++ tests can not be built. You can run 'svn checkout
| http://googletest.googlecode.com/svn/tags/release-1.6.0 gtest' in the root
| of your workspace
| Call Stack (most recent call first):
| /home/bulwahn/openembedded-core/build/tmp-eglibc/sysroots/i686-linux/usr/share/catkin/cmake/all.cmake:131 (include)
| /home/bulwahn/openembedded-core/build/tmp-eglibc/sysroots/i686-linux/usr/share/catkin/cmake/catkinConfig.cmake:20 (include)
| CMakeLists.txt:8 (find_package)

and then fails with:

| -- skipping gtest 'class_loader_utest' in project 'class_loader'
| CMake Error at test/CMakeLists.txt:16 (target_link_libraries):
| Cannot specify link libraries for target "class_loader_utest" which is not
| built by this project.
|

bulwahn added a commit to bulwahn/meta-ros that referenced this issue Jun 14, 2013
The class-loader requires the gtest sources. This commit resolves
this issue using the gtest class.
bulwahn added a commit to bulwahn/meta-ros that referenced this issue Jun 14, 2013
The class-loader requires the gtest sources. This commit resolves
this issue using the gtest class.
@bulwahn bulwahn closed this as completed in b49e5bd Jul 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant