Cross compiling ROS and Driveworks for AGX

Please provide the following info:
Hardware Platform: DRIVE AGX Xavier™ Developer Kit,
Software Version: DRIVE Software 10
Host Machine Version: native Ubuntu 18.04
SDK Manager Version:


we are trying to cross compile a customized version of darknet_ros following this tutorial.

The (relevant) directory structure inside the catkin workspace looks like this:

└── src
    └── darknet_ros
        ├── 3rdparty
        ├── cmake
        │   ├── ...
        │   ├── Toolchain-V5L.cmake
        │   ├── ...
        ├── CMakeLists.txt
        ├── darknet
        │   └── src
        ├── darknet_ros
        │   ├── CMakeLists.txt
        │   ├── include
        │   ├── launch
        │   ├── package.xml
        │   ├── src
        │   └── ...
        ├── darknet_ros_msgs
        │   ├── CMakeLists.txt
        │   ├── msg
        │   └── package.xml

When invoking catkin_make_isolated -DCMAKE_BUILD=Release -DCMAKE_TOOLCHAIN_FILE=/home/thilo/ros_catkin_ws/src/darknet_ros/cmake/Toolchain-V5L.cmake -DVIBRANTE_PDK:STRING=/home/thilo/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux we get two errors:

CMake Error at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1947 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:59 (find_package)


CMake Error at /opt/ros/melodic/share/roscpp/cmake/roscppConfig.cmake:173 (message):
  Project 'darknet_ros' tried to find library 'pthread'.  The library is
  neither a target nor built/installed properly.  Did you compile project
  'roscpp'? Did you find_package() it before the subdirectory containing its
  code is included?
Call Stack (most recent call first):
  /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  CMakeLists.txt:62 (find_package)

Any help is much appreciated!

Hi @t.mueller,

Please follow below topic to install libboost-all-dev package for solving “Unable to find the requested Boost libraries” problem.