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

Errors in 4.73

starting out in uVision 4.73 and getting error :

compiling main.c...
main.c(3): error: #5: cannot open source input file "inc/hw_memmap.h": No such file or directory #include "inc/hw_memmap.h"
main.c: 0 warnings, 1 error
".\again.axf" - 1 Error(s), 0 Warning(s).
Target not created

I right clicked on the group...went into manage project items...clicked the group...clicked add files...found inc/hw_memmap.h and added it. It shows up in source group 1.

was that the wrong way or am I just missing something? This for a Launchpad Tiva TM4C123G

thanks, Chris

Parents Reply Children
  • DOT means this directory
    DOT DOT means the parent directory

    You need to add to the list where the INC directory is relative to the directory the project is in. The line has a browsing tool to allow additional directories to be added.

    So if you have \FOO\SRC and \FOO\INC you might want paths that visit \FOO, \FOO\SRC and \FOO\INC