<div dir="ltr">On 2 September 2013 03:38, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 9/1/2013 6:19 AM, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hmmm, I found details on the net that recommended adding an [Environment64]<br>
section, which we did.<br>
<br>
I don't seem to have VCINSTALLDIR or WindowsSdkDir variables on my system :/ ..<br>
that said, VC obviously works on my machine.<br>
</blockquote>
<br></div>
Sorry if I am being repetitive here, but what environment variables is VS setting on your machine?</blockquote><div><br></div><div>I don't have any that look meaningful, other than the TOOLS ones in my prior reply.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
It also seems potentially problematic that a variable would define a single<br>
install directory, since it's pretty common that programmers have multiple<br>
versions of VS on their machines.<br>
I have VS2010 and VS2012 on my machine. Simon had VS2012 and VS2013.<br>
</blockquote>
<br></div>
Yes, so what environment variables should sc.ini use to determine which one the user wants to use for dmd?</blockquote><div><br></div><div>I think it should search through program files on installation. User might have non-standard installation path name.</div>
<div>But I also think the paths should be supplied by Visual-D when running inside VisualStudio, since it's running within the version of VS that you actually want to use, so it can set the appropriate paths for that version (I've raised this with Rainer).</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I was also thinking it might be a mistake to keep phobos64.lib in the same<br>
folder as the 32bit omf libs. If paths are wrong, the link errors will only be<br>
understood by a programmer who understands compilers and lib/object formats in<br>
depth.<br>
Perhaps you should put them in a parallel lib64 directory, and hook that up in<br>
[Environment64] (I did that on my machine while trying to isolate problems and<br>
wort out where paths were coming from)?<br>
</blockquote>
<br></div>
Please, I need specifics.</blockquote><div><br></div><div>Put phobos64.lib and friends in lib64/, beside lib/</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I reckon you should look into hooking up DirectX SDK patahing by default too<br>
since it's so common for basically any multimedia app.<br>
</blockquote>
<br></div>
I have no idea what you mean by this?<br>
</blockquote></div><br></div><div class="gmail_extra">DirectX, Microsoft's multimedia API?</div><div class="gmail_extra"><a href="http://www.microsoft.com/en-us/download/details.aspx?id=6812">http://www.microsoft.com/en-us/download/details.aspx?id=6812</a></div>
<div class="gmail_extra">It installs bunches of libs in their own directory, I think you should include them in sc.ini by default.</div><div class="gmail_extra"><br></div><div class="gmail_extra">DirectX does appear to have an environment variable on my machine:</div>
<div class="gmail_extra">  DXSDK_DIR = C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\</div><div class="gmail_extra"><br></div><div class="gmail_extra">So if you map: %DXSDK_DIR%Lib\x64 that will make the libs available.</div>
</div>