Where is include windows.h ? [message #927356] |
Sat, 29 September 2012 15:11 |
|
Hello community,
I'm attempting to compile a windows applications in Eclipse JUNO Version: Juno Service Release 1 under Windows 7 and I am having a hard time telling eclipse where to look to find the SDK. Currently I have the the path to where the Windows SDK kit is (Include, bin, libraries) but I don't know how to set this path in eclipse.
I have already defined it in the environment variable PATH in Windows 7 but that doesn't seem to help eclipse.
I have also attempted to install the Windows 7 SDK too.
Thank you for any help.
|
|
|
|
Re: Where is include windows.h ? [message #930842 is a reply to message #927370] |
Tue, 02 October 2012 17:40 |
|
Quote:Which compiler (MingW or Visual C++)? And do they work? Do the CDT
wizard generated "hello world" projects work?
Which compiler (MingW or Visual C++)?
I tried to use the Windows Visual C++ tool chain but it puked during compiling. I get this
I have the tool chains installed:
When I use MiniGW it seems to compile (Build) ok:
I always have problems using the Microsoft Windows SDK in Eclipse. Not sure why...
|
|
|
Re: Where is include windows.h ? [message #931695 is a reply to message #930842] |
Wed, 03 October 2012 12:38 |
Joost Kraaijeveld Messages: 273 Registered: July 2009 |
Senior Member |
|
|
Hi,
From the screenshots it appears that the compilation of the Hello World
program, using Visual C++ actually works. You can check if the program
actually was build by looking for an executable and running it.
The red stuff you see is the work of Codan. For some unknown reasons and
quit annoying, Codan does not quit work as advertised. Disable "Code
analysis" or manually judge all the problems. I would do the first
untill Codan actually works.
If you have problems finding Windows.h and the file is actually in a
path with spaces in it, manually add the paths to the compiler
configuration section using "" and use forward slashes (/) as directory
seperators. It solved some problems over here.
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
Cheers,
Joost
|
|
|
Powered by
FUDForum. Page generated in 0.04248 seconds