This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error message when trying to build hex file

I am writing some code for the nanomodul-164 based on the C164CI microcontroller. when I select 'Build Target' from the 'Project' menu I get the following error: C166 FATAL-ERROR - ACTION: PREPROCESSING INPUT FILE ERROR: INPUT FILE STACK OVERFLOWC166 TERMINATED.
Does anyone know why this error pops up? Is it not finding the registry header files?I tried using DAVE to see if i was making a mistake but I cannot find anything. Any help would be appreciated

Parents
  • First off, your summary is quite misleading. You've got nowhere near building a hex file yet. You ran into an error several stages earlier: the preprocessing phase of the compiler.

    The error message is actually quite clear. You overflowed the stack of input files in the preprocessor. Most likely you have an infinite recursion of files (indirectly) #including themselves.

Reply
  • First off, your summary is quite misleading. You've got nowhere near building a hex file yet. You ran into an error several stages earlier: the preprocessing phase of the compiler.

    The error message is actually quite clear. You overflowed the stack of input files in the preprocessor. Most likely you have an infinite recursion of files (indirectly) #including themselves.

Children