# Cross compile my ROS package for Nvidia jetson TX2

**URL:** https://forums.developer.nvidia.com/t/cross-compile-my-ros-package-for-nvidia-jetson-tx2/142926
**Category:** Jetson TX2
**Tags:** compile, ros
**Created:** [July 21, 2020, 11:08am UTC](https://forums.developer.nvidia.com/t/cross-compile-my-ros-package-for-nvidia-jetson-tx2/142926 "2020-07-21T11:08:50Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![teshansj](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/teshansj/32/25581_2.png) [@teshansj](https://forums.developer.nvidia.com/u/teshansj)
#### Post date: [July 29, 2020, 4:07pm UTC](https://forums.developer.nvidia.com/t/cross-compile-my-ros-package-for-nvidia-jetson-tx2/142926/12 "2020-07-29T16:07:04Z")

</div>

Thank you for the explanations as always. It’s a great help. I have the `crt*` files and `libpthread` files, the problem was compiler not finding them. I thing the error came at the linking stage.

However, I gave up on that and started **cross compiling ROS fully** and ended up creating [this fork](https://github.com/teshanshanuka/ROS_crosscompile) of an old repository which was for crosscompiling an older ROS version.

Later I found out that there already is a repo which does what I want (I don’t know how I missed that). It cross compiles your ROS packages with no hassle.

[https://github.com/ros-tooling/cross\_compile](https://github.com/ros-tooling/cross_compile)

If no other problems arise from my dependencies, I’ll be using this from here onward

---

_[View the full topic](https://forums.developer.nvidia.com/t/cross-compile-my-ros-package-for-nvidia-jetson-tx2/142926)._
