Friday, 14 March 2008

Solution \ CUDA Programming \ "nvcc: command not found"

Add the directory to your path and the compilation will be ok...

At the end of building process you should see... Finished building all...

Add this paths using command line

export PATH=$PATH:/usr/local/cuda/bin

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib

1 comment:

  1. you can put this in the .bashrc file in the home folder.

    by going to the home folder and saying gedit .bashrc

    now next time onwards just run the bash from command prompt and that will do the rest.

    - Mihir Patel