Coder Social home page Coder Social logo

Comments (6)

paulbovbel avatar paulbovbel commented on August 27, 2024 1

@YXGuan, your problem is not related to this issue, please check ROS answers for basic support. You should be invoking find_package(... catkin_virtualenv) somewhere, and you're not.

from catkin_virtualenv.

paulbovbel avatar paulbovbel commented on August 27, 2024

Looks like your CMake is leaking between packages - are you using catkin_make?

This is certainly something that can be fixed by creating a new macro rather than overriding catkin_install_python, which may have been a poor decision in retrospect.

An easier approach may be just to suggest you use a build tool that isolates package builds, i.e. https://catkin-tools.readthedocs.io/en/latest/

from catkin_virtualenv.

paulbovbel avatar paulbovbel commented on August 27, 2024

Closing due to suggested workaround likely being effective.

from catkin_virtualenv.

YXGuan avatar YXGuan commented on August 27, 2024

Hi Paul @paulbovbel ,

I made the same mistake you mentioned above and it really backfires. Could you please elaborate on how to " create a new macro" please?

-- ==> add_subdirectory(nmea_navsat_driver)
-- Could NOT find catkin_virtualenv (missing: catkin_virtualenv_DIR)
-- Could not find the required component 'catkin_virtualenv'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "catkin_virtualenv"
  with any of the following names:

    catkin_virtualenvConfig.cmake
    catkin_virtualenv-config.cmake

  Add the installation prefix of "catkin_virtualenv" to CMAKE_PREFIX_PATH or
  set "catkin_virtualenv_DIR" to a directory containing one of the above
  files.  If "catkin_virtualenv" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  nmea_navsat_driver/CMakeLists.txt:9 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/yuxiang/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/yuxiang/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

FYI, catkin_virtualenv is already installed on my local machine

Thank you in advance.

from catkin_virtualenv.

roger85213 avatar roger85213 commented on August 27, 2024

hi @paulbovbel i have met the same question with [DerNeuburger] . Can you describe more clearly about creating a new macro ?

from catkin_virtualenv.

samuelba avatar samuelba commented on August 27, 2024

This is pretty annoying, would be nice if the macro is not overwritten.

from catkin_virtualenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.