Visual Studio integrated compiler on Codelite

General questions regarding the usage of CodeLite
xMarcus
CodeLite Curious
Posts: 2
Joined: Mon Nov 27, 2017 12:27 pm
Genuine User: Yes
IDE Question: C++
Contact:

Visual Studio integrated compiler on Codelite

Post by xMarcus » Mon Nov 27, 2017 12:34 pm

Hi, I've used Visual Studio to develope c++ console application so far but now I'm using Codelite (and it's great :D ) but I've a problem, I want to use the integrated Visual Studio compiler and linker on codelite. Could I do this? And if the answer is yes, how? I hope someone will help me! Thanks, Marco (N.B. Sorry for bad english)

User avatar
eranif
CodeLite Plugin
Posts: 5934
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Visual Studio integrated compiler on Codelite

Post by eranif » Mon Nov 27, 2017 7:03 pm

Check that CodeLite successfully identified your VS installation from: settings->build settings->compilers

If the answer is yes, change in your console application settings the compiler type and set it to visual studio
Make sure you have read the HOW TO POST thread

xMarcus
CodeLite Curious
Posts: 2
Joined: Mon Nov 27, 2017 12:27 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Visual Studio integrated compiler on Codelite

Post by xMarcus » Mon Nov 27, 2017 8:34 pm

Code lite detect VC++ Installation but I've a problem. When i try to build the project it give me some errors (see box below)

Code: Select all

C:\Windows\system32\cmd.exe /C mingw32-make.exe -j 4 -e -f  Makefile
"----------Building project:[ test - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/Marco/Documents/Esercizi/test'
mingw32-make.exe[1]: *** No rule to make target 'Debug/main.cpp.obj', needed by 'Debug/test'.  Stop.
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory 'C:/Users/Marco/Documents/Esercizi/test'
Makefile:4: recipe for target 'All' failed
====0 errors, 0 warnings====
Could you help me? Thanks, Marco

Post Reply