News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxWidgets project doesn't compile: cannot open include file 'windows.h'

Started by testalucida, April 05, 2008, 01:53:09 PM

Previous topic - Next topic

testalucida

Hi all,

I can't compile my wxWidgets project (VC8):
I've entered the right path (C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\Include) into the compiler search directory but always get this error message. What could be wrong?
I'm using C::B 8.02.

Thanks for any help

Greetings
testalucida

Alexis

You're using the Express Edition, right ? Make sure you've also installed the Windows SDK. You can't compile any program based on Windows API if you haven't done it.

Refer to Microsoft' site for more details.

Alexis

Hum, sorry, the path you showed should imply that you installed a SDK. MAke sure the SDK is correct, then...

testalucida


Alexis

Please, make sure you have a windows.h in this path.

And show us the file that doesn't compile (at least the headers).

testalucida

ok, it's done.
The include path was missing for the resource compiler - so you have to enter this path twice: for the compiler and for the resource compiler.
thanks to Alexis & bye
testalucida

Alexis