FFS
I have a simple exe that I was compiling
gcc -o mylittleapp.exe main.c otherfile.c
Now one of the headers needs to use headers in the SDK
Fair enough
I get a compile error saying WTF is this header file
eg other.c has a header file called other.h
other.h has the line
#include "someSDKheader.h"
So I need to include the path to these headers in my search paths right?
Fraking how????
Lets say the headers live in C:\Windows SDK\include
I would need to adjust my compile command to
gcc -o -IC:/Windows SDK/include mylittleapp.exe main.c otherfile.c
right?
So WTF doesn't it work?
I still get
someSDKheader.h file not found
Why? I have included the search path?


I have a simple exe that I was compiling
gcc -o mylittleapp.exe main.c otherfile.c
Now one of the headers needs to use headers in the SDK
Fair enough
I get a compile error saying WTF is this header file
eg other.c has a header file called other.h
other.h has the line
#include "someSDKheader.h"
So I need to include the path to these headers in my search paths right?
Fraking how????
Lets say the headers live in C:\Windows SDK\include
I would need to adjust my compile command to
gcc -o -IC:/Windows SDK/include mylittleapp.exe main.c otherfile.c
right?
So WTF doesn't it work?
I still get
someSDKheader.h file not found
Why? I have included the search path?




Comment