ros2-for-arm / ros2

Contains the manifest which inherits ros2/ros2 and arm specific for ros2
Apache License 2.0
44 stars 14 forks source link

NVIDIA Jetson Nano - Could not find a package configuration file provided by "test_msgs" #9

Closed jomoengineer closed 5 years ago

jomoengineer commented 5 years ago

I'm attempting to following this example with a NVIDIA Jetson Nano and have run into an error that I can not clear. It looks like it is looking for a .cmake file for test_msgs but it can not find one an I was not able to locate it either.

This is from running "colcon build --symlink-install"


Starting >>> rcl_interfaces
Finished <<< unique_identifier_msgs [13.4s]   
Starting >>> std_msgs
Finished <<< rcl_interfaces [17.6s]                                            
Starting >>> rcl                                           
--- stderr: rcl                                                              
CMake Error at test/CMakeLists.txt:4 (find_package):
  By not providing "Findtest_msgs.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "test_msgs", but CMake did not find one.

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

    test_msgsConfig.cmake
    test_msgs-config.cmake

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

---
Failed   <<< rcl    [ Exited with code 1 ]
Aborted  <<< std_msgs                                                    

Summary: 94 packages finished [4min 39s]
  1 package failed: rcl
  1 package aborted: std_msgs
  1 package had stderr output: rcl
  79 packages not processed

Also, the install of the g++ and gcc libraries fail when trying to install them

 sudo apt install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
[sudo] password for jetbot: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gcc-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package g++-aarch64-linux-gnu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'g++-aarch64-linux-gnu' has no installation candidate
E: Package 'gcc-aarch64-linux-gnu' has no installation candidate
jomoengineer commented 5 years ago

This might have been the wrong place for me to post this issue. It can be closed or deleted.