Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10978 > unrolled thread
| Started by | Pasifreund@gmx.de |
|---|---|
| First post | 2012-07-19 07:54 +0000 |
| Last post | 2012-07-19 07:54 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
No CCompiler found - MinGW-x64 Pasifreund@gmx.de - 2012-07-19 07:54 +0000
| From | Pasifreund@gmx.de |
|---|---|
| Date | 2012-07-19 07:54 +0000 |
| Subject | No CCompiler found - MinGW-x64 |
| Message-ID | <ju8ef0$9at$1@smc.vnet.net> |
Hello :)
i have two problems:
1.: i know nothing about c compilers ;-)
2.: i need to process a simple calculation several million times. therefore i compiled my function, but it would be even faster, if it was compiled inc code, wouldnt it?
The Problem:
When i use the compile function with compilation target->"C", i get the message no compiler found. so i downloaded the MinGW-x64 compiler as described in the help files here under "generic c compiler":
http://reference.wolfram.com/mathematica/CCompilerDriver/tutorial/SpecificCompilers.html
extraction is done, and i have set the path variable to the /bin folder of the compiler (windows 7).
as described in the instructions, i loaded the necessary drivers via Need[..]. now CreateExecutable[...] works perfectly fine and gives me a file i can run. to solve my problem with "compilation target-> "c"" i now need to set the MinGW-x64 compiler as default. (by the way, CCompilers[] returns {} and ..[Full] returns an intel compiler i have never seen nor installed). so i continue with $CCompiler=... and set the correct installation location to the MinGW folder, as it is done in the example. The problem now is, that i still get the "no compiler found" error, referring to the help file listed above. CCompilers[] still returns {}... EclipseC++ and devC++ work perfectly fine, by the way.
i have the feeling that im making a basic mistake, but i dont know which.
thanks in advance,
Max
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web