www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LDC can't custom msvc package,must install visual studio .net ?

reply FrankLike <1150015857 qq.com> writes:
At LDC 0.15.1,my win7 x86-x64 is not install visual studio .net 
2012,but I can copy some vs2012 folders(common7, VC) into LDC and 
  copy 3 dll files to bin folder(msvcp120d.dll msvcr120d.dll 
vccorlib120d.dll),set link at bat file, then ldc2 works ok.
But in 0.17.alpha1,LDC2 must detect whether install vs2012,you 
know that vs2012 is very huge,but some folers is small ,only 
474MB,I think copy it and to use is very cool,are't you? Now,I 
can't work with LDC0.17 alpha1.
Can you let us do some set,not to detect folder,ok?

Thank you.
Dec 29 2015
parent reply kinke <noone nowhere.com> writes:
We don't really support VS 2012 anymore and require VS 2013+ now. 
Anyway, if your environment variables are already set (INCLUDE, 
LIB, LIBPATH, PATH, VSINSTALLDIR etc. - e.g., in a 'VS Tools 
Command Prompt'), LDC doesn't attempt to detect the VS 
installation folder.
I definitely wouldn't recommend copying only some files and 
folders from an existing VS installation though. Instead, you may 
want to customize the VS installation and pick only Visual C++ 
(and an appropriate Windows SDK) for your target platform, if 
required disk space is really a concern.
Jan 05 2016
parent FrankLike <1150015857 qq.com> writes:
On Tuesday, 5 January 2016 at 11:37:13 UTC, kinke wrote:
 We don't really support VS 2012 anymore and require VS 2013+ 
 now. Anyway, if your environment variables are already set 
 (INCLUDE, LIB, LIBPATH, PATH, VSINSTALLDIR etc. - e.g., in a 
 'VS Tools Command Prompt'), LDC doesn't attempt to detect the 
 VS installation folder.
 I definitely wouldn't recommend copying only some files and 
 folders from an existing VS installation though. Instead, you 
 may want to customize the VS installation and pick only Visual 
 C++ (and an appropriate Windows SDK) for your target platform, 
 if required disk space is really a concern.
Thank you,but "copying only some files and folders" will help D to Get a good development, Because it's very easy to do for students,and not need setup a so huge vs2015(3-5Gb). Students are D's 'The future',Help them are help D. Students are D's 'The future'. Thank you again.
Jan 22 2016