Linked Questions

4
votes
0answers
116 views

Mathematica version 10.2 does not find C compiler [duplicate]

I am running Mathematica 10.2 on Windows 7 (64bit) and when I want to use the C compiler I get the message: A C compiler cannot be found on your system. Please consult the documentation to learn ...
72
votes
1answer
2k views

How to simplify writing LibraryLink code?

LibraryLink is an API for extending Mathematica through C or C++. It is very fast because it gives direct access to Mathematica's packed array data structure, without even needing to make a copy of ...
11
votes
3answers
750 views

How to debug the C code for LibraryLink?

Recently, I use the C to rewrite a Mathematica function NonzeroBasis[], please see here for fully descriptions. Here, ...
24
votes
1answer
1k views

Getting Compile to work with Visual Studio 2017 Community Edition

The new Visual Studio is out since a week and I tried to get it to work with Mathematica (versions 11.0 and 11.1). However, the usual tricks for working with a new VS version fail here. Related ...
10
votes
1answer
987 views

Installing Microsoft C compiler on Windows 10

On Windows 7 I was using Microsoft Visual C++ as CCompilerDriver. For this, the minimal solution is to install Microsoft .Net and then Microsoft SDK-7.1. There is no need to install Microsoft Visual ...
7
votes
1answer
225 views

Instability, Courant Condition and Robustness about solving 2D+1 PDE

After several discussions, I would like to focus on the robustness of solving 2D+1 PDE by considering all suggested methods from @xzczd (see here) I found that the Ratio between the convection term ...
8
votes
1answer
359 views

Has anybody been able to build WSTP applications under Visual Studio 2015's IDE?

I recently picked up an old project involving WSTP (formerly MathLink) programs, and as a starting place tried to get the demos provided by Wolfram to compile. The instructions were dated, referring ...
5
votes
1answer
168 views

How to avoid AppendTo when computing similarities

I need to make the calculation of the HammingDistance for strings faster. The background is that I want to be able to compare the similarity of images of a textual ...
0
votes
0answers
696 views

Mathematica cannot find the c compiler

I installed Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 Then, I installed Mathematica 10 trial version. I did: ...
3
votes
1answer
223 views

CCompile Problems

Operating System: Windows 8.1 Mathematica: 8 In possession of: Visual Studio 2013 and 2015 Had to alter the visual studios driver file within CCompilerDriver application, add-on so that it found the ...
4
votes
0answers
470 views

Mathematica will not detect NVIDIA Titan X for CUDA functions [closed]

I've run Needs["CUDALink`"] CUDAResourcesInstall[] which, after a long download, returns ...
4
votes
1answer
128 views

Using VS Studio Compiler with MMA 10.1 [closed]

Win7-64 bit. Visual Studio 2015 Community Edition I am unable to get MMA to recognise the VS Compiler to compile functions to C. I had installed VS Studio and the C++ compiler (and test compiled the ...
0
votes
1answer
386 views

Visual Studio 2013 Mathlink addtwo

I was needing to use Mathlink to call some c++ code so I thought I would learn from the basic examples but I am running into strange issue. Following the procedure outlined from the Mathematica ...