Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use Rosbuild project with Cuda in Nsight

I use Ubuntu 14, and install ros and cuda.
I look IDE of ros, and build a project of eclipse.
And now, I add a .cu file to the rosbuild project.
But I don't know how to change the CmakeList.
I try to this, but can't build in Nsight.
Then I try INCLUDE_DIRECTORIES(/usr/local/cuda/include)
But have error 'Unresolved inclusion: <cuda.h>' at "#include <cuda.h>", and can't use never function of cuda, like'cudaMalloc'