Author Topic: wxWidgets project doesn't compile: cannot open include file 'windows.h'  (Read 6015 times)

Offline testalucida

  • Multiple posting newcomer
  • *
  • Posts: 14
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
« Last Edit: April 05, 2008, 02:13:59 pm by testalucida »

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
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.

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
Hum, sorry, the path you showed should imply that you installed a SDK. MAke sure the SDK is correct, then...

Offline testalucida

  • Multiple posting newcomer
  • *
  • Posts: 14
the path is definitely right  :(

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
Please, make sure you have a windows.h in this path.

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

Offline testalucida

  • Multiple posting newcomer
  • *
  • Posts: 14
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

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
Nice you coped with the compilation !

Enjoy C::B !