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

Could not find a package configuration file provided by "oaisys_client_ros" #8

Closed
MeanZhang opened this issue Feb 27, 2023 · 5 comments

Comments

@MeanZhang
Copy link

When I execute catkin build oaisys_client, the following error occurred:

CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "oaisys_client_ros"
  with any of the following names:

    oaisys_client_rosConfig.cmake
    oaisys_client_ros-config.cmake

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

The complete output is as follows:

$ catkin build oaisys_client
-----------------------------------------------------------------------
Profile:                     default
Extending:          [cached] /home/mean/catkin_ws/devel:/opt/ros/noetic
Workspace:                   /home/mean/oaisys_ws
-----------------------------------------------------------------------
Build Space:        [exists] /home/mean/oaisys_ws/build
Devel Space:        [exists] /home/mean/oaisys_ws/devel
Install Space:      [unused] /home/mean/oaisys_ws/install
Log Space:          [exists] /home/mean/oaisys_ws/logs
Source Space:       [exists] /home/mean/oaisys_ws/src
DESTDIR:            [unused] None
-----------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
-----------------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
-----------------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
-----------------------------------------------------------------------
Workspace configuration appears valid.
-----------------------------------------------------------------------
[build] Found 3 packages in 0.0 seconds.                                       
[build] Package table is up to date.                                           
Starting  >>> catkin_simple                                                    
Finished  <<< catkin_simple                [ 0.2 seconds ]                     
Starting  >>> eigen_catkin                                                     
Finished  <<< eigen_catkin                 [ 0.5 seconds ]                     
Starting  >>> oaisys_client                                                    
_______________________________________________________________________________
Errors     << oaisys_client:check /home/mean/oaisys_ws/logs/oaisys_client/build.check.003.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "oaisys_client_ros"
  with any of the following names:

    oaisys_client_rosConfig.cmake
    oaisys_client_ros-config.cmake

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


make: *** [Makefile:1152:cmake_check_build_system] 错误 1
cd /home/mean/oaisys_ws/build/oaisys_client; catkin build --get-env oaisys_client | catkin env -si  /usr/bin/make cmake_check_build_system; cd -

...............................................................................
Failed     << oaisys_client:check          [ Exited with code 2 ]              
Failed    <<< oaisys_client                [ 1.4 seconds ]                     
[build] Summary: 2 of 3 packages succeeded.                                    
[build]   Ignored:   None.                                                     
[build]   Warnings:  None.                                                     
[build]   Abandoned: None.                                                     
[build]   Failed:    1 packages failed.                                        
[build] Runtime: 2.2 seconds total. 
@Jaeyoung-Lim
Copy link
Owner

Jaeyoung-Lim commented Feb 27, 2023

@MeanZhang As written in the readme, you need DLR-RM/oaisys#11

@MeanZhang
Copy link
Author

@MeanZhang As written in the readme, you need DLR-RM/oaisys#11

Should I put DLR-RM/oaisys under src? It still doesn't work.

@Jaeyoung-Lim
Copy link
Owner

@MeanZhang You need to use the branch that I pointed you to

@Jaeyoung-Lim
Copy link
Owner

@MeanZhang Any chance you manage to get it to work?

@Jaeyoung-Lim
Copy link
Owner

Closing as stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants