Errors while running programs in Nsight eclipse edition with remote machine jetson tx2

I was able to run Hello world program in the host machine using Nsight Eclipse edition. But i am getting this error while running in target machine

/bin/sh -c “cd "/tmp/nsight-debug";export LD_LIBRARY_PATH="/usr/local/cuda-9.0/bin":"/usr/local/lib":"/usr/lib":${LD_LIBRARY_PATH};export NVPROF_TMPDIR="/tmp";"/tmp/nsight-debug/mm"”;exit
nvidia@tegra-ubuntu:~$ echo $PWD’>’
/home/nvidia>
nvidia@tegra-ubuntu:~$ /bin/sh -c “cd "/tmp/nsight-debug";export LD_LIBRARY_PATH="/usr/local/cuda-9.0/bin":"/usr/local/lib":"/usr/lib":${LD_LIBRARY_PATH};export NVPROF_TMPDIR="/tmp";"/tmp/nsight-debug/mm"”;exit
/tmp/nsight-debug/mm: 1: /tmp/nsight-debug/mm: Syntax error: word unexpected (expecting “)”)
logout

Can you please provide me solution to overcome this error.

Were you able to cross compile the project for aarch64 bit architecture?

You program has some kind of syntax error. You can search for "word unexpected (expecting “)”) text to find the possible root cause.