Bug introduced v10.0.1 and fixed in 10.0.2
Everything was working fine with WSTP (the successor to MathLink) in 10.0.0. But I upgraded to 10.0.1 today and now I can't compile either my programs (I've changed nothing - the directories to the libraries are the same as before) or the example programs provided with Mathematica.
Running the makefile gives undefined references to every single WSTP function used in the program. For example, for the program addtwo.c (provided as an example in MMA), I get undefined references to WSGetInteger, WSPutInteger, WSEvaluate and many more.
Has anyone else encountered this problem? Is there something I need to change?
System: Ubuntu 12.04, Mathematica 10.0.1.
Answer
Under Linux the WSTP shared libraries that ship with Mathematica 10.0.1 for both 64 and 32 bit (libWSTP64i4.so and libWSTP32i4.so) appear to be broken. Link with the static versions libWSTP64i4.a or libWSTP32i4.a instead. The Windows and OS X versions are OK.
Comments
Post a Comment