Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
wxWidgets project doesn't compile: cannot open include file 'windows.h'
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: wxWidgets project doesn't compile: cannot open include file 'windows.h' (Read 6015 times)
testalucida
Multiple posting newcomer
Posts: 14
wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
on:
April 05, 2008, 01:53:09 pm »
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
»
Logged
Alexis
Multiple posting newcomer
Posts: 62
Re: wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
Reply #1 on:
April 05, 2008, 05:55:42 pm »
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.
Logged
Alexis
Multiple posting newcomer
Posts: 62
Re: wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
Reply #2 on:
April 05, 2008, 05:57:20 pm »
Hum, sorry, the path you showed should imply that you installed a SDK. MAke sure the SDK is correct, then...
Logged
testalucida
Multiple posting newcomer
Posts: 14
Re: wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
Reply #3 on:
April 05, 2008, 07:37:29 pm »
the path is definitely right
Logged
Alexis
Multiple posting newcomer
Posts: 62
Re: wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
Reply #4 on:
April 05, 2008, 07:53:53 pm »
Please, make sure you have a windows.h in this path.
And show us the file that doesn't compile (at least the headers).
Logged
testalucida
Multiple posting newcomer
Posts: 14
Re: wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
Reply #5 on:
April 05, 2008, 08:01:54 pm »
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
Logged
Alexis
Multiple posting newcomer
Posts: 62
Re: wxWidgets project doesn't compile: cannot open include file 'windows.h'
«
Reply #6 on:
April 05, 2008, 08:10:37 pm »
Nice you coped with the compilation !
Enjoy C::B !
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
wxWidgets project doesn't compile: cannot open include file 'windows.h'