Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15176
| From | Joao <joaopereira9@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Mathematica does not recognize C Compiler |
| Date | 2013-07-16 09:54 +0000 |
| Message-ID | <ks358k$75a$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi, I would like to ask for some help regarding C Compilers in Mathematica.
The problem I have is that Mathematica does not recognize the presence of a C Compiler.
When I do CCompilers[Full] it returns:
{{Name->Intel Compiler,Compiler->CCompilerDriver`IntelCompiler`IntelCompiler,CompilerInstallation->None,CompilerName->Automatic},{Name->Generic C Compiler,Compiler->GenericCCompiler,CompilerInstallation->None,CompilerName->Automatic}}
And when I do CCompilers[ ] it returns { }
Also,
DefaultCCompiler[]
NVCCCompiler
I have Windows 7 Ultimate 64 bits.
I followed this thread:
http://mathematica.stackexchange.com/questions/5487/how-do-i-get-mathematica-to-recognize-a-c-compiler-on-a-64-bit-windows-machine
and installed two C Compilers: one via .NETFramework and Windows SDK 7.1, the other one was the 64 bit MinGW.
Unfortunetely Mathematica 8 still does not recognize any C Compiler.
I tried
$CCompiler = {"Compiler" -> GenericCCompiler,
"CompilerInstallation" -> "C:……Path",
"CompilerName" -> "x86_64-w64-mingw32-gcc.exe"};
After this i tried CCompiler[ ] and the output was:
{"Compiler" -> GenericCCompiler,
"CompilerInstallation" -> "C:……Path",
"CompilerName" -> "x86_64-w64-mingw32-gcc.exe"}
Nevertheless, when I do CCompiler [ ] the result shows nothing again.
Regarding the Microsoft CCompiler, I’m not sure what executable file is appropriate, I read somewhere that it should be cl.exe but I can’t find this file anywhere. As you can see I am not very familiar with this subject.
Could you let me know what I am doing wrong here?
I really need to speed up some code.
Thanks in advance
Joao
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Mathematica does not recognize C Compiler Joao <joaopereira9@gmail.com> - 2013-07-16 09:54 +0000
csiph-web