Hi. Is there anyone who please can send me a link for a download of a C compiler that is used by the Wolfram System so I can create an executable program ? I just do not want to keep trying downloading the wrong version…
Thanks in advance!!
Hi. Is there anyone who please can send me a link for a download of a C compiler that is used by the Wolfram System so I can create an executable program ? I just do not want to keep trying downloading the wrong version…
Thanks in advance!!
It really helped me, but it is too hard to find a full CCompiler…I’ve tried with intel that is listed under the full CCompliers and nothing happens…this is what I am trying to do :
$CCompiler = {"Compiler" ->
CCompilerDriver`compiler`compiler,
"CompilerInstallation" -> "C:\Users\Felipe\\compiler intel"};
Needs["CCompilerDriver`"];
Needs["SymbolicC`"]
DefaultCCompiler[]
lib = CFunction["int",
"main", {{"int", "argc"}, {"char",
CDereference[CArray["argv", {}]]}},
CBlock[{CReturn[0]}]];
str = ToCCodeString[lib]
CreateExecutable[str, "FELIPE2"]
examplesDir = FileNameJoin[{$InstallationDirectory, "SystemFiles", "Links",
"WSTP", "FELIPE2", $SystemID}];
files = FileNames["FELIPE2", examplesDir];
Needs["CCompilerDriver`"]
DefaultCCompiler[]
exe = CreateExecutable[files, "FELIPE2", "Language" -> "C++",
"TransferProtocolLibrary" -> "WSTP"]
Install[exe]
CCompilers[Full]
but it returns me:
CreateExecutable[{}, "FELIPE2", "Language" -> "C++",
"TransferProtocolLibrary" -> "WSTP"] for the exe=....
Hi things got a little better now that I downloaded visual studios of Microsoft and that is supported by my wolfram 12 Mathematica edition…but now I am getting an error… I will post the program…and show where I am having trouble:
Needs["CCompilerDriver`"];
Needs["SymbolicC`"]
DefaultCCompiler[]
lib = CFunction["int",
"main", {{"int", "argc"}, {"char",
CDereference[CArray["argv", {}]]}},
CBlock[{CReturn[0]}]];
str = ToCCodeString[lib]
CreateExecutable[str, "FELIPE2"]
examplesDir = FileNameJoin[{$InstallationDirectory, "SystemFiles", "Links",
"WSTP", "FELIPE2", $SystemID}];
files = FileNames["FELIPE2", examplesDir];
Needs["CCompilerDriver`"]
DefaultCCompiler[]
exe = CreateExecutable[files, "FELIPE2", "Language" -> "C++",
"TransferProtocolLibrary" -> "WSTP"]
Install[exe]
the program i want to create executable is FELIPE2, and it is located at my F: usb pendrive...now can anyone tell me where i shouls write that address of F:FELIPE2 ?