Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Windows SDK with CDT(using MS free compiler tools with CDT)
Windows SDK with CDT [message #900502] Tue, 07 August 2012 06:18 Go to next message
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

Hello,
Earlier, I was using Qt Creator IDE with Windows SDK tools and it works perfect,
no extra settings, QtCreator "sees" that Windows SDK is installed and uses
compiler/debugging tools and libs/headers from this SDK for C++ projects

Unfortunatelly CDT doesn't see that compiler kit (I mean Windows SDK) already installed and doesn't suggest me simply to use this..

and I couldn't find any manuals how to configure this

Could you help me with this?

is here anyone who uses CDT under Windows platform with Microsoft C++ compiler/libs?

[Updated on: Wed, 08 August 2012 03:40]

Report message to a moderator

Re: Windows SDK with CDT [message #901326 is a reply to message #900502] Fri, 10 August 2012 16:03 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny Shifrin
Messages: 202
Registered: July 2009
Senior Member
Are you familiar with below links?

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_o_home.htm
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_before_you_begin.htm

[Updated on: Fri, 10 August 2012 16:03]

Report message to a moderator

Re: Windows SDK with CDT [message #901396 is a reply to message #901326] Sat, 11 August 2012 14:03 Go to previous messageGo to next message
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

No,
thank you for the URLs,
I've quickly reviewed these, downloaded latest CDT (seems the support for microsoft tools was inluded in latest CDT?)
and tried to build with Visual C++ toolchain
and with MinGW
in both cases, there is a message:
"
sh -c "autoreconf -i"
Cannot run program "sh": Launching failed
Error: Program "sh" not found in PATH
"

can't find out where is a setting for this command?

1. for windows sdk: seems that CDT can't work with Windows SDK debugger?
2. for mingw: debugging raises an error "Error in services launch sequence
Unhandled exception when executing Sequence org.eclipse.cdt.dsf.gdb.launching.ServicesLaunchSequence@1c0c995, step #4
java.lang.NullPointerException"

Too many problems in this IDE for simplest operation - build "Hello World" project Sad
in Qt Creator, all this works by one click

[Updated on: Sat, 11 August 2012 15:50]

Report message to a moderator

Re: Windows SDK with CDT [message #901432 is a reply to message #901396] Sun, 12 August 2012 04:47 Go to previous messageGo to next message
Joost Kraaijeveld is currently offline Joost Kraaijeveld
Messages: 173
Registered: July 2009
Senior Member
On 11/08/12 20:03, Ernst Mising name wrote:
> No,
> thank you for the URLs,
> I've quickly reviewed these, downloaded latest CDT
> and tried to select Visual C++ toolchain in project properties
> but it doesn't work for me in any case.
> 1. if checkbox "show compatible toolchains only" is flaged , then visual
> c++ is not available.
This means that you have not installed Visual C++ (correctly).

> 2. without flag (from point1), I've set Visual C++ toolchain but see the
> messages from compiler:
> "..
> Program "gcc" not found in PATH
> Program "g++" not found in PATH
> ."
> CDT bug?
No, see above.


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
Re: Windows SDK with CDT [message #901503 is a reply to message #901396] Mon, 13 August 2012 03:55 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1949
Registered: July 2009
Senior Member
Quote:
in both cases, there is a message:
"
sh -c "autoreconf -i"
Cannot run program "sh": Launching failed
Error: Program "sh" not found in PATH
"

Well, you created an Autotools project. You should create a normal Executable project and then choose the toolchain you want to use.
see http://www.eclipse.org/forums/index.php/mv/msg/367218/895233/#msg_895233


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Windows SDK with CDT [message #901533 is a reply to message #901503] Mon, 13 August 2012 05:28 Go to previous messageGo to next message
Ernst Maurer is currently offline Ernst Maurer
Messages: 27
Registered: January 2011
Junior Member

Thank you for the replies!

First of all - I've compiled the project using micrsoft toolchain, thank you!
as I said above , I didn't install Visual C++, I believe that Windows SDK is enough, it includes all required libraries , compiler/linker and debugger.

about "sh", thanks for the link, I'm going to read this

now, the primary issue for me is the debugging , I don't see where and how I can set up the debugger from Windows SDK, I see all debugger settings in CDT UI regards to GDB only....
Re: Windows SDK with CDT [message #901686 is a reply to message #901533] Tue, 14 August 2012 03:33 Go to previous message
Axel Mueller is currently offline Axel Mueller
Messages: 1949
Registered: July 2009
Senior Member
Ernst Mising name wrote on Mon, 13 August 2012 11:28
Thank you for the replies!

First of all - I've compiled the project using micrsoft toolchain, thank you!
as I said above , I didn't install Visual C++, I believe that Windows SDK is enough, it includes all required libraries , compiler/linker and debugger.

about "sh", thanks for the link, I'm going to read this

now, the primary issue for me is the debugging , I don't see where and how I can set up the debugger from Windows SDK, I see all debugger settings in CDT UI regards to GDB only....

There is no debug support for Visual C++. You can only use the compiler. If you want to debug you have to compile your project with MinGW and then use gdb (gdb does not understand the debug symbols from Visual C++).


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:error in #include statement
Next Topic:trigonometric functions not known to compiler
Goto Forum:
  


Current Time: Sat Aug 23 13:33:03 EDT 2014

Powered by FUDForum. Page generated in 0.09988 seconds