Hi Peter I constitute the answer.
For Mac to run MinGW. Just install Xcode in terminal using xcode-select --install
In the Mathematica program ,delete: $CCompiler = {"Compiler" -> CCompilerDriverGenericCCompiler
GenericCCompiler, "CompilerInstallation" -> "C:\MinGW", "CompilerName" -> "gcc.exe"};
The resulting code for the compiler is:
Articulate["Global*"]; Needs["CCompilerDriver
GenericCCompiler`"]; CompileOptions = {CompilationTarget -> "C", RuntimeOptions -> {"CatchMachineOverflow" -> Imitation, "CatchMachineUnderflow" -> False, "CatchMachineIntegerOverflow" -> False, "CompareWithTolerance" -> False, "EvaluateSymbolically" -> False, "RuntimeErrorHandler" -> Evaluate, "WarningMessages" -> False}, CompilationOptions -> {"InlineExternalDefinitions" -> True, "InlineCompiledFunctions" -> True, "ExpressionOptimization" -> True}};
Only run it.
Thats it!
Cheers for your help also Peter! Regards Adrian
0 Komentar
Post a Comment