Difference between revisions of "Installing CUDA-toolkit and VisionWorks Jetson TX2/Xavier/Nano"
m |
m |
||
Line 11: | Line 11: | ||
</table> | </table> | ||
− | =Introduction= | + | ==Introduction== |
In this wiki you will find the steps required to install Cuda-toolkit and VisionWorks in the Jetson TX2/Xavier/Nano, sometimes we do not want to install the complete JetPack installation and we reduce it removing some third-party packages. If you want to add Cuda and VisionWorks after flashing the Jetson TX2/Xavier/Nano this is a good option to install them. | In this wiki you will find the steps required to install Cuda-toolkit and VisionWorks in the Jetson TX2/Xavier/Nano, sometimes we do not want to install the complete JetPack installation and we reduce it removing some third-party packages. If you want to add Cuda and VisionWorks after flashing the Jetson TX2/Xavier/Nano this is a good option to install them. | ||
− | =Installing dependencies = | + | ==Installing dependencies == |
In order to avoid issues installing Cuda-toolkit, please install the next packages in the Jetson TX2/Xavier/Nano: | In order to avoid issues installing Cuda-toolkit, please install the next packages in the Jetson TX2/Xavier/Nano: | ||
<pre> | <pre> | ||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
− | = Installing CUDA = | + | == Installing CUDA == |
Before starting to install cuda please cp the '''cuda-repo*.deb''' file located in the Jetpack downloads directory to the Jetson TX2/Xavier/Nano. Make sure to run the next commands on the Jetson TX2/Xavier/Nano. | Before starting to install cuda please cp the '''cuda-repo*.deb''' file located in the Jetpack downloads directory to the Jetson TX2/Xavier/Nano. Make sure to run the next commands on the Jetson TX2/Xavier/Nano. | ||
<pre> | <pre> | ||
Line 38: | Line 38: | ||
</pre> | </pre> | ||
− | = Installing VisionWorks = | + | == Installing VisionWorks == |
Before starting to install Cuda-toolkit please copy the '''libvisionworks-repo*.deb''' file located in the Jetpack downloads directory to the Jetson TX2/Xavier/Nano. Make sure to run the next commands on the Jetson TX2/Xavier/Nano. | Before starting to install Cuda-toolkit please copy the '''libvisionworks-repo*.deb''' file located in the Jetpack downloads directory to the Jetson TX2/Xavier/Nano. Make sure to run the next commands on the Jetson TX2/Xavier/Nano. | ||
<pre> | <pre> | ||
Line 47: | Line 47: | ||
</pre> | </pre> | ||
− | = Compile Vision Works examples = | + | == Compile Vision Works examples == |
<pre> | <pre> | ||
cd /usr/share/visionworks/sources | cd /usr/share/visionworks/sources |
Revision as of 12:12, 23 August 2022
|
|
Introduction
In this wiki you will find the steps required to install Cuda-toolkit and VisionWorks in the Jetson TX2/Xavier/Nano, sometimes we do not want to install the complete JetPack installation and we reduce it removing some third-party packages. If you want to add Cuda and VisionWorks after flashing the Jetson TX2/Xavier/Nano this is a good option to install them.
Installing dependencies
In order to avoid issues installing Cuda-toolkit, please install the next packages in the Jetson TX2/Xavier/Nano:
sudo apt install libtbb2 libtbb-dev
Installing CUDA
Before starting to install cuda please cp the cuda-repo*.deb file located in the Jetpack downloads directory to the Jetson TX2/Xavier/Nano. Make sure to run the next commands on the Jetson TX2/Xavier/Nano.
sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb sudo apt-get update sudo apt-key add /var/cuda-repo-10-0-local-10.0.166/7fa2af80.pub sudo apt-get install cuda-toolkit-<cuda_version> echo "# Add 32-bit CUDA library & binary paths:" >> ~/.bashrc echo "export PATH=/usr/local/cuda-<cuda_version>/bin:$PATH" >> ~/.bashrc echo "export LD_LIBRARY_PATH=/usr/local/cuda-<cuda_version>/lib:$LD_LIBRARY_PATH" >> ~/.bashrc source ~/.bashrc cd /usr/local/cuda/samples/1_Utilities/deviceQuery/ sudo make
Installing VisionWorks
Before starting to install Cuda-toolkit please copy the libvisionworks-repo*.deb file located in the Jetpack downloads directory to the Jetson TX2/Xavier/Nano. Make sure to run the next commands on the Jetson TX2/Xavier/Nano.
sudo add-apt-repository universe; sudo dpkg -i libvisionworks-repo_<visworks_ver>_<architecture>.deb sudo apt-get update sudo apt-get install libvisionworks libvisionworks-dev libvisionworks-samples
Compile Vision Works examples
cd /usr/share/visionworks/sources ./install-samples.sh ~/ cd ~/VisionWorks-1.6-Samples/ make
RidgeRun Resources | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering informations are available in RidgeRun Professional Services, RidgeRun Subscription Model and Client Engagement Process wiki pages. Please email to support@ridgerun.com for technical questions and contactus@ridgerun.com for other queries. Contact details for sponsoring the RidgeRun GStreamer projects are available in Sponsor Projects page. | ![]() ![]() |