Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to get Microsoft Visual C++ into toolchain
How to get Microsoft Visual C++ into toolchain [message #1750247] Mon, 19 December 2016 10:11 Go to next message
Capo Chino is currently offline Capo ChinoFriend
Messages: 1
Registered: December 2016
Junior Member
Hello I need some help.

I want to use the Microsoft Visual C++ Compiler but I can't choose Microsoft Visual C++ at the toolchains.
I have installed everything Microsoft SDKs, Visual Studio Express, VC 10 and 14 and added PATH, LIB and INCLUDE to the environment variables.
Is there something missing?

Thx for helping
Re: How to get Microsoft Visual C++ into toolchain [message #1750485 is a reply to message #1750247] Wed, 21 December 2016 14:59 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
According to the "Before you begin" in Help, CDT should find it automatically.
http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_before_you_begin.htm
So presumably, you either don't have it or it's not easily found.
If it's not displayed as an available tool chain in the tool chain settings then you'll have to make manual changes.

I don't have it to test but you could change the compile and link commands in the Tool Settings tab of Project --> Properties --> C/C++ Build --> Settings to use Microsoft Visual. You also need to change one of the compiler builtin on the Providers tab of Project --> Properties --> C/C++ General --> Preprocessor Include Paths, Macros etc. and select it.

Note that the Microsoft compiler's name is CL.exe. Refer to this for command line parameters: https://msdn.microsoft.com/en-us/library/610ecb4h.aspx
The linker is LINK.exe https://msdn.microsoft.com/en-us/library/hx5b050y.aspx

Unfortunately, the error scanner can't be changed (AFAIK). You may have to find the errors in the build log display by sight.



[Updated on: Wed, 21 December 2016 15:15]

Report message to a moderator

Previous Topic:Launch memory view from debugger script.
Next Topic:Duplicate project - rename again
Goto Forum:
  


Current Time: Tue Mar 19 09:48:44 GMT 2024

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

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

Back to the top