rdotnet / rClr

R package for accessing .NET
63 stars 28 forks source link

setup_vcpp.cmd bug #10

Open screig opened 9 years ago

screig commented 9 years ago

I believe if you do not have VS12 but VS11 this batch file falls over:

Here is a snippet of my environment variables:

VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\To VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\To VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 11.0\ windir=C:\Windows WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.0\ WindowsSdkDir_35=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\

I believe this line (3) is failing:

@if "%VSCOMNTOOLS%"=="" VSCOMNTOOLS=%VS110COMNTOOLS%