Tag Info

Hot answers tagged

12

There are a few problems with your code. If you fix those up, as I did, your program will run fine. First off, the reason you see "no source available" when you pause the program is probably that when you break, the program is down inside a MathLink function, and so it is complaining that it doesn't have access to the MathLink library source code. To debug ...


4

As Szabolcs says, the problem is that you aren't linking with the MathLink libraries. The docs you cite give a method of doing this, but you might find it easiest (and it's easiest to explain) to simply add the ml32i4m.lib file to your Visual Studio project. (Use ml64i4m.lib, of course, if you are building a 64-bit program.) Right-click on your project in ...


2

This is a linking error, not a compilation error. It occurs because the linker can't find MLEvaluate(): the documentation states that MLEvaluate() is only available for use in mprep MathLink template programs. That's because this function is defined in the C source output by mprep when processing a template files. Template files apply only when you ...



Only top voted, non community-wiki answers of a minimum length are eligible