Problems detecting Visual C++ compiler

CodeLite installation/troubleshooting forum
adriancs35
CodeLite Curious
Posts: 1
Joined: Sat Nov 07, 2015 9:55 pm
Genuine User: Yes
IDE Question: c++
Contact:

Problems detecting Visual C++ compiler

Post by adriancs35 »

Greetings, I am new user of CodeLite IDE and I have to say that until now I like it and didn't found any problems.
However I wish to use my VisualC++ compiler with it instead of MinGW, I do have Visual Studio 2015 community I can code and build just fine with it, but if I go inside CodeLite AddCompiler->Scan for Compiler it will find only MinGW and no VisualC++.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problems detecting Visual C++ compiler

Post by eranif »

Atm, CodeLite does not support detecting of VisualC++ 2015...
The last toolchain that we support is Visual C++ 2013 (aka MSVC 12)

We need to add support for the latest one: Visual C++ 2015 (known also as Visual C++ 14.0)

So, you can either post a feature request or implement it yourself and send it as Pull Request
(its pretty straight forward, just copy the file CompilerLocatorMSVC12.h/cpp and adjust them):

https://github.com/eranif/codelite/blob ... MSVC12.cpp
https://github.com/eranif/codelite/blob ... orMSVC12.h

Eran
Make sure you have read the HOW TO POST thread
srini2174
CodeLite Enthusiast
Posts: 24
Joined: Sun Nov 08, 2015 3:40 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problems detecting Visual C++ compiler

Post by srini2174 »

Hi,
I have created a pull request after adding the ability to detect Visual C++ compiler - Version 14. Thanks to merge it to the main branch.

Thanks
Srinivasan.B
Post Reply