Message Boards Message Boards

Setup visual studio as a default compiler in mathematica 10.4?

Posted 8 years ago

I'm trying to make visual studio as a default ccompiler for mathematica 10.4 on windows 10 but unfortunately i'm not able to.

Could you please help me out to fix this problem?

Regards

POSTED BY: Muhammad Afzal
In[8]:= DefaultCCompiler[]
Out[8]= CCompilerDriver`VisualStudioCompiler`VisualStudioCompiler

The default compiler can be changed by assigning to $CCompiler.

In[14]:= $CCompiler = CCompilerDriver`CygwinGCC`CygwinGCC; 
DefaultCCompiler[]

Out[15]= CCompilerDriver`CygwinGCC`CygwinGCC

Reference: http://reference.wolfram.com/language/CCompilerDriver/tutorial/SpecificCompilers.html


POSTED BY: Damanjit Singh
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract