Group Abstract Group Abstract

Message Boards Message Boards

Install a C compiler for the Wolfram Mathematica 12.0 student version

Posted 7 years ago

Dear all, I am trying to run a code with my laptop where I installed the Wolfram Mathematica 12.0 student version. My laptop runs on windows 10 64bit. Unfortunately. I do not know what kind of Mathematica version (64/32) I have, since I had to download it from my university and there was only one option. I need to compile functions with C and therefore I tried to install a c compiler, but Mathematica does not see them. So far I tried various versions of MinGW and of course visual studio. Unfortunately Mathematica never recognizes the installations. (See below) Me trying to find my c compilers with mathematica... I also tried to set up the path for the c compilers myself. Me trying to set the path... However I am not sure, whether I chose the right path. I used the one shown above in my latest try. It helped a little bit. Now my error messages when using compilationtarget-> c is, that Mathematica can not generate a library. Still Mathematica does not find anything using CCompilers[Full] as seen above. So its far from perfect... I don't know how to fix this. I would really appreciate any kind of help.

POSTED BY: Dan Bo
5 Replies
Posted 7 years ago

So for everyone interested in this... I know figured out, that everything works with Visual Studio Express 2015. It feels very slow, but it's ok.

POSTED BY: Dan Bo
Posted 7 years ago
POSTED BY: Dan Bo
Posted 7 years ago

Thank you!

POSTED BY: Dan Bo
Anonymous User
Anonymous User
Posted 7 years ago
POSTED BY: Anonymous User

You should be able to see whether your Mathematica is 32- or 64-bits by evaluating:

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