path of visual studio c compiler
10,876
Finally what i did it's create a shortcut and change the target to %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat"
.
Author by
reduf
Updated on July 09, 2022Comments
-
reduf almost 2 years
i use to compile c/c++ code with gcc and now i want to pass on vsc. So i read for configure the path i should go in my visual studio file
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
and usevcvarsall.bat
. When i do that with thepowershell
, it just doesn't work. If i do it with thecmd.exe
, i will be able the use cl but if i open a newcmd.exe
it won't work again. I try to put manuallyC:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
in the path but it doesn't work either.
Thank you for all the future help.