Kobi Abir
Kobi Abir

Reputation: 21

getting error messege: A single input file is required for a non-link phase when an outputfile is specified

also getting: make: * [main.o] Error 255

I am really new to this I am using nsight for linux with cuda toolkit 5

I added this two lines export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH in .bashrc becuase in .profile file it didnt seems to have an effect, and there was no .bash_profile file

Upvotes: 2

Views: 1469

Answers (1)

Eugene
Eugene

Reputation: 9474

Unfortunately, there was a number of issue in Nsight Eclipse Edition 5.0 preview release that would cause this error (we fixed all such bugs we found).

Please provide more information:

  1. Does your workspace path, project name and/or source file path have any spaces?
  2. Do you see the same issue with a simple bitreverse application (you can create a bitreverse project from New CUDA C/C++ Project wizard using "CUDA Runtime Project" template?
  3. Do you have source files with extensions other then cu?
  4. Can you paste your make output?

Feel free to contact CUDA tools team directly by posting to [email protected]

Upvotes: 1

Related Questions