This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compile errors using IAR kickstart



I'm trying to compile a project that was started with a full version of iar workbench.  (I'm not running into a code size limit.)  When I compile a file that includes stdint.h, I get a compiler error:

Error[Pe861]: invalid character in input line C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4\430\LIB\DLIB\dl430xlfn.h 1

It appears that the compiler is trying to compile the dl430xlfn.h file but since this is the limited version, it doesn't inlcude the source for that file, just the precompiled library.  I can't figure out why or what to do about it.

Any help would be appreciated.  Thanks.

  • I did a fresh install on another machine, and it's OK. 

  • Chuck Brodeur1 said:

    Error[Pe861]: invalid character in input line C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.4\430\LIB\DLIB\dl430xlfn.h 1

    It appears that the compiler is trying to compile the dl430xlfn.h file

    Why do you say that?

    The message says there's an invalid character - so have you looked to check?

  • Andy Neil said:
    Why do you say that?

    Well, there's nothing wrong with this part of the post. The compiler is indeed trying to compile the file. However, as you correctly stated, the error isn't that the file isn't found (a .h file is the source file itself, and not the output of a different source code), the error is that there is an invalid character in this file for some reason.

    Apparently the file was somehow altered after installation, as a fresh install solved the problem.

**Attention** This is a public forum