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

cpp_common doesn't use REQUIRED on console_bridge #23

Closed
wjwwood opened this issue Jun 26, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@wjwwood
Copy link
Member

commented Jun 26, 2014

I get this when building from source:

-- The C compiler identification is Clang 5.1.0
-- The CXX compiler identification is Clang 5.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning at CMakeLists.txt:3 (find_package):
  By not providing "Findconsole_bridge.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "console_bridge", but CMake did not find one.

  Could not find a package configuration file provided by "console_bridge"
  with any of the following names:

    console_bridgeConfig.cmake
    console_bridge-config.cmake

  Add the installation prefix of "console_bridge" to CMAKE_PREFIX_PATH or set
  "console_bridge_DIR" to a directory containing one of the above files.  If
  "console_bridge" provides a separate development package or SDK, be sure it
  has been installed.

-- Using CATKIN_DEVEL_PREFIX: /tmp/rviz_urdfdom_ws/devel
-- Using CMAKE_PREFIX_PATH: /tmp/rviz_urdfdom_ws/devel
-- This workspace overlays: /tmp/rviz_urdfdom_ws/devel
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using default Python package layout
-- Found PY_em: /Library/Python/2.7/site-packages/em.pyc
-- Using empy: /Library/Python/2.7/site-packages/em.pyc
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /tmp/rviz_urdfdom_ws/build/cpp_common/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: /usr/local/bin/nosetests-2.7
-- catkin 0.6.7
CMake Error at /tmp/rviz_urdfdom_ws/src/catkin/cmake/catkin_package.cmake:159 (message):
  catkin_package() DEPENDS on 'console_bridge' which must be
  find_package()-ed before.  If it is a catkin package it can be declared as
  CATKIN_DEPENDS instead without find_package()-ing it.
Call Stack (most recent call first):
  /tmp/rviz_urdfdom_ws/src/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  CMakeLists.txt:5 (catkin_package)


-- Configuring incomplete, errors occurred!

Now I think this is because I don't have console_bridge installed from my package manager (not yet in Homebrew), but I think that there should be a REQUIRED for find_packageing console_bridge:

https://github.com/ros/roscpp_core/blob/indigo-devel/cpp_common/CMakeLists.txt#L3

@dirk-thomas dirk-thomas self-assigned this Jun 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.