It just didn't get found automatically but you can still use it by telling the system where it lives.Īll that said, of course there can be valid reasons to want to use gcc with Mathematica on Windows. This also shows how to use the "GenericCCompiler" driver, which you can use for any C compiler. The documentation talks about how to use this, look for the section "MinGW for 64-bit targets": I think, the if you want MinGW/gcc, you need to use the MinGW-w64 project. "CompilerName" -> Automatic},, Sin + x^2 - 1/(1 + x)], Evaluate] "Compiler" -> CCompilerDriver`IntelCompiler`IntelCompiler, C:\ Program Files (x86)\ CodeBlocks \ MinGW \ bin C:\ MinGW \ \. A windows command line check confirms the compilers are installed. I installed gcc two ways: (i) via MinGW and (ii) CodeBlocks. I installed gcc but Mathematica (12) cannot seem to find it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |