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

CMake error #237

Open
AparnaBalamurugan opened this issue Feb 2, 2024 · 0 comments
Open

CMake error #237

AparnaBalamurugan opened this issue Feb 2, 2024 · 0 comments

Comments

@AparnaBalamurugan
Copy link

AparnaBalamurugan commented Feb 2, 2024

Hello,
As you can see I'm trying to install ros driver for shift nav piksi multi. I face problem when I try running the following.

aparna@aparna-hp-zbook-firefly-14-g7:~/Documents/MSCE/research/catkin_ws$ catkin_make

Base path: /home/aparna/Documents/MSCE/research/catkin_ws
Source space: /home/aparna/Documents/MSCE/research/catkin_ws/src
Build space: /home/aparna/Documents/MSCE/research/catkin_ws/build
Devel space: /home/aparna/Documents/MSCE/research/catkin_ws/devel
Install space: /home/aparna/Documents/MSCE/research/catkin_ws/install

Running command: "cmake /home/aparna/Documents/MSCE/research/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/aparna/Documents/MSCE/research/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/aparna/Documents/MSCE/research/catkin_ws/install -G Unix Makefiles" in "/home/aparna/Documents/MSCE/research/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/aparna/Documents/MSCE/research/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/aparna/Documents/MSCE/research/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/aparna/Documents/MSCE/research/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/aparna/Documents/MSCE/research/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 14 packages in topological order:
-- ~~ - catkin_simple
-- ~~ - ethz_piksi_ros (metapackage)
-- ~~ - libsbp_catkin
-- ~~ - libserialport_catkin
-- ~~ - libsbp_ros_msgs
-- ~~ - piksi_pps_sync
-- ~~ - piksi_rtk_msgs
-- ~~ - piksi_multi_cpp
-- ~~ - piksi_multi_rtk_ros
-- ~~ - piksi_rtk_kml
-- ~~ - piksi_v2_rtk_ros
-- ~~ - rqt_gps_rtk_plugin
-- ~~ - piksi_multi_interface
-- ~~ - test
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'catkin_simple'
-- ==> add_subdirectory(catkin_simple)
-- +++ processing catkin metapackage: 'ethz_piksi_ros'
-- ==> add_subdirectory(ethz_piksi_ros/ethz_piksi_ros)
-- +++ processing catkin package: 'libsbp_catkin'
-- ==> add_subdirectory(libsbp_catkin)
-- +++ processing catkin package: 'libserialport_catkin'
-- ==> add_subdirectory(libserialport_catkin)
-- +++ processing catkin package: 'libsbp_ros_msgs'
-- ==> add_subdirectory(ethz_piksi_ros/libsbp_ros_msgs)
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.25.8) or chardet (5.2.0) doesn't match a supported version!
warnings.warn("urllib3 ({{}}) or chardet ({{}}) doesn't match a supported "
Traceback (most recent call last):
File "/home/aparna/Documents/MSCE/research/catkin_ws/src/ethz_piksi_ros/libsbp_ros_msgs/src/libsbp_ros_msgs/generator", line 7, in
import sbpg.specs.yaml2 as yaml
ModuleNotFoundError: No module named 'sbpg'
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Marking SHARED_LIBRARY "libsbp_ros_msgs" of package "libsbp_ros_msgs" for installation
-- Marking HEADER FILES in "include" folder of package "libsbp_ros_msgs" for installation
-- +++ processing catkin package: 'piksi_pps_sync'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_pps_sync)
-- Installing devel-space wrapper /home/aparna/Documents/MSCE/research/catkin_ws/src/ethz_piksi_ros/piksi_pps_sync/scripts/evaluate_pps to /home/aparna/Documents/MSCE/research/catkin_ws/devel/lib/piksi_pps_sync
-- +++ processing catkin package: 'piksi_rtk_msgs'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_rtk_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- piksi_rtk_msgs: 46 messages, 5 services
-- +++ processing catkin package: 'piksi_multi_cpp'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_multi_cpp)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Marking SHARED_LIBRARY "piksi_multi_cpp" of package "piksi_multi_cpp" for installation
-- Marking EXECUTABLE "piksi_multi" of package "piksi_multi_cpp" for installation
-- Marking EXECUTABLE "piksi_multi_config" of package "piksi_multi_cpp" for installation
-- Marking HEADER FILES in "include" folder of package "piksi_multi_cpp" for installation
-- Marking SHARED CONTENT FOLDER "launch" of package "piksi_multi_cpp" for installation
-- +++ processing catkin package: 'piksi_multi_rtk_ros'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_multi_rtk_ros)
-- Installing devel-space wrapper /home/aparna/Documents/MSCE/research/catkin_ws/src/ethz_piksi_ros/piksi_multi_rtk_ros/bin/piksi_multi to /home/aparna/Documents/MSCE/research/catkin_ws/devel/lib/piksi_multi_rtk_ros
-- Installing devel-space wrapper /home/aparna/Documents/MSCE/research/catkin_ws/src/ethz_piksi_ros/piksi_multi_rtk_ros/bin/geodetic_survey to /home/aparna/Documents/MSCE/research/catkin_ws/devel/lib/piksi_multi_rtk_ros
-- +++ processing catkin package: 'piksi_rtk_kml'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_rtk_kml)
-- Installing devel-space wrapper /home/aparna/Documents/MSCE/research/catkin_ws/src/ethz_piksi_ros/piksi_rtk_kml/bin/piksi_rtk_kml to /home/aparna/Documents/MSCE/research/catkin_ws/devel/lib/piksi_rtk_kml
-- +++ processing catkin package: 'piksi_v2_rtk_ros'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_v2_rtk_ros)
CMake Deprecation Warning at ethz_piksi_ros/piksi_v2_rtk_ros/CMakeLists.txt:15 (message):
piksi_v2_rtk_ros is deprecated: please switch to Piksi Multi.

-- +++ processing catkin package: 'rqt_gps_rtk_plugin'
-- ==> add_subdirectory(ethz_piksi_ros/rqt_gps_rtk_plugin)
-- +++ processing catkin package: 'piksi_multi_interface'
-- ==> add_subdirectory(ethz_piksi_ros/piksi_multi_interface)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Installing devel-space wrapper /home/aparna/Documents/MSCE/research/catkin_ws/src/ethz_piksi_ros/piksi_multi_interface/scripts/neopixel_node.py to /home/aparna/Documents/MSCE/research/catkin_ws/devel/lib/piksi_multi_interface
-- Marking EXECUTABLE "pushbutton" of package "piksi_multi_interface" for installation
-- Marking EXECUTABLE "survey_status" of package "piksi_multi_interface" for installation
-- Marking SHARED CONTENT FOLDER "launch" of package "piksi_multi_interface" for installation
-- +++ processing catkin package: 'test'
-- ==> add_subdirectory(test)
-- Configuring done
CMake Error at /home/aparna/Documents/MSCE/research/catkin_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:150 (add_library):
Cannot find source file:

src/conversion.cc

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
ethz_piksi_ros/libsbp_ros_msgs/CMakeLists.txt:35 (cs_add_library)

CMake Error at /home/aparna/Documents/MSCE/research/catkin_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:150 (add_library):
No SOURCES given to target: libsbp_ros_msgs
Call Stack (most recent call first):
ethz_piksi_ros/libsbp_ros_msgs/CMakeLists.txt:35 (cs_add_library)

CMake Generate step failed. Build files cannot be regenerated correctly.
Invoking "cmake" failed

  1. There doesn't seem to exist any module called sbpg.
  2. How to find the right version of urllib3 or chardet? what should I upgrade or downgrade to? How to go about this error?
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

1 participant