I was working on my project and suddenly after editing the code and compiling gave this error:
ld: warning: directory not found for option \'- L/Use
I also got this error because I had accidentally included two versions of the same source file. Deleted the wrong one and the problem went away...