Compile the cuda6.0 routine of Jetson TK1 with OpenGL

Source: Internet
Author: User

First, prepare the file system downloaded from the NVIDIA website and decompress it. Copy the <decompress path>/usr/lib/ARM-Linux-gnueabihf folder in the file system to the root directory of the host and maintain the relative directory structure, copy the <decompressed path>/lib/ARM-Linux-gnueabihf folder in the file system to the root directory of the host and maintain the relative directory structure. Use nsight to open the routines that come with the cuda-toolkit-6-0, change the target platform to arm in the Project Settings, change the x86_64 words in the path to armv7l, add the/usr/lib/ARM-Linux-gnueabihf and/lib/ARM-Linux-gnueabihf paths to the path of the dynamic library to use the nsight compilation function. If the libglu. So file is missing during compilation, you can create a symbolic link with the same name in the above path to recompile the library file such as libglu. so.1.

In addition, you can add or modify the above path in makefile and compile it using the make armv7 = 1 command.

Zookeeper

Compile the cuda6.0 routine of Jetson TK1 with OpenGL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.