I cope with many issues with nvidia nsight.
I am working from linux 18.04.4 LTS host. I’ve and install SDK on jetson TX2 from that host.
I’ve connected TX2 and host via SSH.
I tried to develop code from the host, using synchronisation, not cross compilation.
I build in debug/release mode, and run on the target.
It is impossible to use debugger, profiler and even add libraries. In fact, I can’t do anything.
Here information about my jetson TX2 2 :
NVIDIA Jetson TX2
L4T 32.3.1 [ JetPack 4.3 ]
Ubuntu 18.04.3 LTS
Kernel Version: 4.9.140-tegra
I run the example AddVector.
I’ve enable root access for ssh for profiler, and I have the following message :
Result windows :
Application timeline is required for the analysis
Console windows :
/bin/sh: 1: cd: can’t cd to /home/nl37/RemoteSystemsTempFiles/192.168.20.21/home/jetson/Desktop/Test_Remote/Debug
Moreother, for example, when I tried to include opencv, I do :
1 - libaries
jetson@jetson-desktop:~$ locate highgui.so
Libraries (-l) : add highgui
Library search path (-L) : /usr/lib/aarch64-linux-gnu
jetson@jetson-desktop:~$ locate highgui.hpp
properties->C/C++ General->Path and Symbol->Include
Then, I add /usr/include/opencv4, for all language.
I add the following header in the code :
When I build the sample, I obtain the following error :
/usr/local/cuda-10.0/bin/nvcc --cudart static -L/usr/lib/aarch64-linux-gnu --relocatable-device-code=false -gencode arch=compute_60,code=compute_60 -gencode arch=compute_60,code=sm_60 -m64 -ccbin aarch64-linux-gnu-g++ -link -o “Test” ./src/vectorAdd.o -lhighgui
/usr/bin/ld: cannot find -lhighgui
About the debugger, I heard that it is because of cuda version, I have to wait version 10.1. When will you release that version for TX2 ?