Problem with MSVC2010

CodeLite installation/troubleshooting forum
GerronJo
CodeLite Curious
Posts: 2
Joined: Thu Aug 20, 2015 4:30 pm
Genuine User: Yes
IDE Question: c++
Contact:

Problem with MSVC2010

Post by GerronJo »

Hi guys,
I'm trying to use MSVC2010 to compile my code, but I don't know how to configure it correctly.
it always shows me these error messages .

Code: Select all

C:\Windows\system32\cmd.exe /C "e:/TDMGCC/bin/mingw32-make.exe -j2 SHELL=cmd.exe -e -f  Makefile"
"----------Building project:[ test - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'V:/test/test'
codelite-cc "e:/MSVCPP/MSVC2010/bin/cl.exe" -nologo -FC -EHs  -c  "V:/test/test/main.cpp" /Zi  /FoDebug/main.cpp.obj /Ie:/MSVCPP/MSVC2010/include/  /I.
A subdirectory or file Debug already exists.
mingw32-make.exe[1]: *** [Debug/.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
test.mk:89: recipe for target 'Debug/.d' failed
'codelite-cc' is not recognized as an internal or external command,
operable program or batch file.
mingw32-make.exe[1]: *** [Debug/main.cpp.obj] Error 1
mingw32-make.exe: *** [All] Error 2
test.mk:98: recipe for target 'Debug/main.cpp.obj' failed
mingw32-make.exe[1]: Leaving directory 'V:/test/test'
Makefile:4: recipe for target 'All' failed
0 errors, 0 warnings
Here is the configuration for MSVC2010
Untitled.png
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem with MSVC2010

Post by eranif »

Sorry, I am pretty much clueless when it comes to MSVC ...
You are getting some wierd errors like 'codelite-cc' is not recognized as an internal or external command...
codelite-cc.exe is placed on the same folder as codelite.exe, so this should not happen...
Did you manually alter the PATH environment variable?

Eran
Make sure you have read the HOW TO POST thread
GerronJo
CodeLite Curious
Posts: 2
Joined: Thu Aug 20, 2015 4:30 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Problem with MSVC2010

Post by GerronJo »

eranif wrote:Sorry, I am pretty much clueless when it comes to MSVC ...
You are getting some wierd errors like 'codelite-cc' is not recognized as an internal or external command...
codelite-cc.exe is placed on the same folder as codelite.exe, so this should not happen...
Did you manually alter the PATH environment variable?

Eran
Hey Eran, Thanks for your replying. I already found out the problem. Using MSVC in Codelite is kind of complicated.
In Codeblocks, it's much more simple. Anyways, Thanks for the amazing project, It's such a damn good IDE >_<..
Post Reply