I'm running Mathematica 9 on a 64 bit Windows 8.1 laptop. I'm having no luck getting C compilation to work.
Needs["CCompilerDriver`"]
CCompilers[Full]
CCompilers[]
returns
{} {}
The package did load successfully, as $Packages
shows CCompilerDriver
entries and
$ContextPath//First
returns
"CCompilerDriver`"
I have the following compilers installed:
- Microsoft Visual Studio Professional 2013
- Intel C++ Composer XE
PATH
to the Visual Studio compiler is not set system wide. Can you try to add VC to yourPATH
and restart Mathematica? $\endgroup$VS110COMNTOOLS
environment variable. There are lines likeinstallPath["2012"] := installPathFromEnvironment["VS110COMNTOOLS"]
for 2005, 2008, 2010 and 2012, but not 2013. I don't know how your version of VS indicates its location, but you could tryCCompilerDriver`VisualStudioCompiler`Private`installPath["2013"] := ...
or whatever is appropriate for you compiler, and trying again. $\endgroup$