Tuesday 20 December 2011

Command line error d8004 under Windows Embedded Compact

Hi folks,

Did you ever come across the following error:

cl command line error d8004 ' /I' requires an argument

this error point to the INCLUDES (‘/I’) macro in the SOURCES file.

Possible reasons are you passed an empty (undefined) variable or you specified a path which contains spaces. Please make sure that you only use Platform Builder environment variables such as _TARGETPLATROOT to specify paths in the INCLUDES macro, also never use a relative paths like ..\myDir\myInclude.h

Have fun!

No comments: