[En-Nut-Discussion] nutos conf stdint.h missing
Harald Kipp
harald.kipp at egnite.de
Fri Aug 2 10:58:40 CEST 2013
I'm really running out of ideas. GCC claims, that it is searching for
include files in
c:/winavr-20100110/lib/gcc/../../avr/include
Checking this directory with
dir c:\winavr-20100110\lib\gcc\..\..\avr\include
shows, that
10.01.2010 02:03 16.556 stdint.h
exists. But during compilation it reports
C:/ethernut-5.1/nut/include/sys/atom.h:106:20: stdint.h: No such file
How can this happen?
While trying to solve problems, it is always the best idea to go with
minimized demos. So let's try without Nut/OS. Create a temporary
directory, e.g. c:\tmp\gcctest.
Create a text file named main.c in this directory with the following
contents:
#include <stdint.h>
int main(void) {
return 0;
}
Open a command line window, set your path with
set PATH=winavr-20100110\bin;winavr-20100110\utils\bin;%PATH%
and run
avr-gcc main.c
Is the error still there? Or does it compile now, creating a.out?
Btw. is you PC special in any way? Exotic file system, OS-version etc.?
Regards,
Harald
More information about the En-Nut-Discussion
mailing list