Comments (6)
@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.
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.
Closing due to suggested workaround likely being effective.
from catkin_virtualenv.
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.
hi @paulbovbel i have met the same question with [DerNeuburger] . Can you describe more clearly about creating a new macro ?
from catkin_virtualenv.
This is pretty annoying, would be nice if the macro is not overwritten.
from catkin_virtualenv.
Related Issues (20)
- Install space script shouldn't be reliant on the current system's absolute path
- Why does it install `pip` into the generated virtualenv? HOT 2
- Using generated virtualenv in dynamic_reconfigure
- Request to update ros-noetic-catkin-virtualenv to 0.10.0 HOT 6
- Override bloom `dh_shlibdeps` behavior? Issues pip dependencies that bundle shared libraries
- Release request of 0.5.2 on Kinetic HOT 2
- Release catkin_virtualenv into ROS Noetic? HOT 5
- Usage with overlay workspaces HOT 1
- 0.6 in Kinetic and Melodic? HOT 8
- Build failures on O(S)R(F) buildfarm: "no attribute '__legacy__'" HOT 9
- ros-noetic-catkin-virtualenv dependency issue HOT 1
- ros-kinetic-catkin-virtualenv dependency issue HOT 3
- Does catkin_virtualenv have to be "installed" and if so, how? HOT 3
- Problems building a catkin package with catkin_virtualenv due to `requirements.in` HOT 1
- How do you run this? HOT 1
- Failure with Python 3.10
- GPL copyleft with regards to this library HOT 4
- catkin_make fails on `venv_lock` HOT 1
- catkin_virtualenv is resolvable by rosdep but not installable HOT 1
- ModuleNotFoundError: No module named 'catkin_pkg' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catkin_virtualenv.