Problem in Creating Development Environment for Cuda

Hi

I am trying to compile 3_Imaging, the DecodeGL program on my Host Machine( 64 bit Ubuntu 14.04 Kernel 3.19.25 Generic), for TK1 and I am getting this error :

/usr/local/cuda-6.5/bin/nvcc --cudart static -L/usr/local/cuda-6.5/samples/common/lib/linux/armv7l -L/usr/arm-linux-gnueabihf/lib -L/usr/lib32/nvidia-352 -L/usr/lib/nvidia-352 -lGL -lGLU -lglut --relocatable-device-code=false -gencode arch=compute_30,code=compute_30 -gencode arch=compute_32,code=sm_32 -m32 -ccbin arm-linux-gnueabihf-g++ -link -o “sample_imaging_cuda” ./src/FrameQueue.o ./src/ImageGL.o ./src/NV12ToARGB_drvapi.o ./src/VideoDecoder.o ./src/VideoParser.o ./src/VideoSource.o ./src/cudaModuleMgr.o ./src/cudaProcessFrame.o ./src/videoDecodeGL.o /usr/local/cuda-6.5/samples/common/lib/linux/armv7l/libGLEW.a -lcuda -lnvcuvid -lcudart
/usr/bin/ld: cannot find -lnvcuvid
make: Leaving directory `/home/ubuntu/sample_imaging_cuda/Debug’
collect2: error: ld returned 1 exit status
make: *** [sample_imaging_cuda] Error 1

I have tried the hook mentioned in Release Notes but still the same issue is there.It happened once eventually the error was not there, but, after a reboot of TK1 the problem persists.

Kindly help.

Br,

Rajarshi Haldar

You are more likely to receive a useful response in the TK1 forum: https://devtalk.nvidia.com/default/board/162/jetson-tk1/

I know nothing about TK1. Is NVCUVID even supported on the TK1? If so, locate libnvcuvid on your system (e.g. with find) then add the relevant path to your build with a -L switch.

Hi,

I have posted the same on the forum referred by you.

But, the thing is related to cuda sample compilation so I choose this forum.

I am getting the error while compiling the cuda sample ( 3_Imaging ).

I have also given the relevant path with -L option to build it , still the results are same.

I hope you might have compiled the code using Nsight Eclipse, as the samples are being provided with CUDA TOOLKIT, so I can expect a help from you regarding this.

Br

Rajarshi Haldar

Since this is a host-side problem I don’t think the TK1 actually has much to do with it. I was about to say on the TK1 forum to go to the CUDA forum to ask but Rajarshi’s already done that. Hopefully someone here can figure this out.