Tuesday, October 27, 2009

cl : Command line error D8003 : missing source filename

This error was coming because i misplaced a quote around library inclusion in the properties window of the project.
Wasted my 35 precious mins...

SJ

4 comments:

  1. thank you very much!! I had a character "\" that was not in the include path. thank to your 35 mins, i took me only 5 mins.
    Greetings from Buenos Aires!!

    ReplyDelete
  2. It also happens when moving source files around. The environment sometimes does not realize that and, even if you delete and "Add Existing..." them, the local compile complain with that error (the "Build solution" did work). The solution I found was to manually edit and fix the .vcxproj file of the project. The fix is only on the path of the cpp files declared there to compile.

    ReplyDelete
  3. Tht happens on Visual Studio 2010

    ReplyDelete
  4. Had this problem for some time while working with QMake. Found in the end out that I had a '\' in the end of a path - which isn't the best idea combined with a quote. I removed the last '\' from the path and it worked!

    ReplyDelete