Nsight Eclipse gives linking error in Ubuntu

Hello –

We are doing a project using CUDA, very new to CUDA. Using Ubuntu we have been compiling nvcc on command line. It works fine.

We now are looking to debug the warps, so decided to use Nsight Eclipse edition.

While we created a simple cuda program and tried to build, it throws following error

/tmp/tmpxft_000015ca_00000000-1_SimpleCuda.cudafe1.stub.c:1:207: error: macro "__cudaRegisterEntry" requires 4 arguments, but only 3 given

We guess it is the problem while linking the file.

Please check your $PATH and $LD_LIBRARY_PATH to ensure your compiler and libraries come from the same toolkit version.