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: 1413
Registered: October 2012
Senior Member
According to the "Before you begin" in Help, CDT should find it automatically.
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:
The linker is LINK.exe

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: Sun Jan 23 03:49:27 GMT 2022

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

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

Back to the top