Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10978

No CCompiler found - MinGW-x64

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From Pasifreund@gmx.de
Newsgroups comp.soft-sys.math.mathematica
Subject No CCompiler found - MinGW-x64
Date Thu, 19 Jul 2012 07:54:08 +0000 (UTC)
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <ju8ef0$9at$1@smc.vnet.net> (permalink)
Lines 21
Organization Time-Warner Telecom
NNTP-Posting-Date 19 Jul 2012 07:54:26 GMT
NNTP-Posting-Host 2ff0c19d.news.twtelecom.net
X-Trace DXC=6d9mn9o989SP:Y0=`cYTT^C_A=>8kQj6]Y;@_o827nGS8[[VY`XK54SEFiONJ7[GoVLodFd=`@MI]
X-Complaints-To abuse@twtelecom.net
X-Received-Bytes 2157
Xref csiph.com comp.soft-sys.math.mathematica:10978

Show key headers only | View raw


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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

No CCompiler found - MinGW-x64 Pasifreund@gmx.de - 2012-07-19 07:54 +0000

csiph-web