Message Boards Message Boards

Does WSPREP compile properly the .tm file ?

Posted 7 years ago

Hello,

I have tried using the new WSTP interface with Xcode on a Mac 10.11.6. Attached (in PDF format) is the very simple template file wstpadd.tm. When compiled with wsprep the output file wstpadd.tm.c contains alot of gibberish and so the compilation breaks down. See attached file (in PDF format).

Any help would be greatly appreciated.

Andrew

Attachments:
POSTED BY: andrew gerzso

Andrew,

The files you posted do not download on my system (a forum bug? damaged pdfs?) so I can't help you specifically but the best place to start is to compile the tutorial examples and modify them to suit your needs.

You should start with Macintosh specific documentation.

Have you already compiled and tried the addtwo example program? The examples are located in the following directory on the Mac: /Applications/Mathematica.app/Contents/SystemFiles/Links/WSTP/DeveloperKit/MacOSX-x86-64/WSTPExamples

I previously posted an example here with a notebook that does the compiling for you on this thread: http://community.wolfram.com/groups/-/m/t/1099677

Hope this helps. If you repost your example in a way that is readable, I might be able to help more.

Regards

POSTED BY: Neil Singer
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract