Mathematica设置C编译器
2013-02-01 · Mathematica
Mathematica 版本发布时仅识别当时的编译器信息(如 JDK、VC 版本)。Mathematica 9.0 默认识别 VC2010;若安装了 VC2012,未加选项调用时 CCompilers[] 可能返回空。
设置新编译器
Needs["CCompilerDriver`"] 加载后,通过 CCompilerInstall 或配置选项指定新版本编译器路径。可查看 $CCompiler、CCompilers[] 确认。详见 CCompilerDriver 文档。