User forums > Help

Winxp/GCC: Include directories question

(1/3) > >>

laserbeak43:
Hi
i'm trying to use the GCC compiler on winxp and i'm having a bit of trouble. codeblocks isnt finding string.h but C:\MingW\include is set by default in my compiler settings.

do i need to use the microsoft platform sdk or something?

laserbeak43:
it is

laserbeak43:
yeah i think those are empty i'll work on that and let you know what happens
thanks.

laserbeak43:
ok i did it. minus the wx stuff cause i don't have wx iinstalled. and i'm still getting the same error.
one thing that i did notice was that the Environment Variables in Environment Settings is empty.
is that a problem?

laserbeak43:
maybe this will help?



--- Quote ----------------- Build: Release in Win32hello ---------------
Compiling: main.cpp
In file included from C:/MinGW/include/windef.h:246,
                 from C:/MinGW/include/windows.h:48,
                 from C:\Documents and Settings\esiadmin\My Documents\Programming\Win32hello\main.cpp:1:
C:/MinGW/include/winnt.h:37:20: string.h: No such file or directory
In file included from C:/MinGW/include/ole2.h:9,
                 from C:/MinGW/include/windows.h:111,
                 from C:\Documents and Settings\esiadmin\My Documents\Programming\Win32hello\main.cpp:1:
C:/MinGW/include/objbase.h:12:20: stdlib.h: No such file or directory
In file included from C:/MinGW/include/objbase.h:72,
                 from C:/MinGW/include/ole2.h:9,
                 from C:/MinGW/include/windows.h:111,
                 from C:\Documents and Settings\esiadmin\My Documents\Programming\Win32hello\main.cpp:1:
C:/MinGW/include/unknwn.h:17: error: `size_t' was not declared in this scope
In file included from C:/MinGW/include/ole2.h:9,
                 from C:/MinGW/include/windows.h:111,
                 from C:\Documents and Settings\esiadmin\My Documents\Programming\Win32hello\main.cpp:1:
C:/MinGW/include/objbase.h: In function `BOOL IsEqualGUID(const GUID&, const GUID&)':
C:/MinGW/include/objbase.h:77: error: `memcmp' was not declared in this scope
C:/MinGW/include/objbase.h: In function `BOOL operator==(const GUID&, const GUID&)':
C:/MinGW/include/objbase.h:79: error: `memcmp' was not declared in this scope
Process terminated with status 1 (0 minutes, 1 seconds)
5 errors, 0 warnings
 
--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version