Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Where is include windows.h ?(Attempting to tell eclipse where windows.h is)
icon7.gif  Where is include windows.h ? [message #927356] Sat, 29 September 2012 15:11 Go to next message
chiques Missing name is currently offline chiques Missing nameFriend
Messages: 7
Registered: December 2011
Location: Oxnard
Junior Member
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.

index.php/fa/11668/0/


Thank you for any help.
Re: Where is include windows.h ? [message #927370 is a reply to message #927356] Sat, 29 September 2012 15:28 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
Messages: 273
Registered: July 2009
Senior Member
On 29/09/12 17:11, chiques Mising name wrote:
> 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.
Which compiler (MingW or Visual C++)? And do they work? Do the CDT
wizard generated "hello world" projects work?

--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl


Cheers,

Joost
Re: Where is include windows.h ? [message #930842 is a reply to message #927370] Tue, 02 October 2012 17:40 Go to previous messageGo to next message
chiques Missing name is currently offline chiques Missing nameFriend
Messages: 7
Registered: December 2011
Location: Oxnard
Junior Member
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

index.php/fa/11692/0/


I have the tool chains installed:

index.php/fa/11693/0/

When I use MiniGW it seems to compile (Build) ok:
index.php/fa/11694/0/


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 Go to previous message
Joost Kraaijeveld is currently offline Joost KraaijeveldFriend
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
Previous Topic:CDT Installation Error
Next Topic:Hello World.exe has stopped working
Goto Forum:
  


Current Time: Wed Oct 16 00:54:01 GMT 2024

Powered by FUDForum. Page generated in 0.04248 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top