Message Boards Message Boards

2
|
8892 Views
|
3 Replies
|
6 Total Likes
View groups...
Share
Share this post:

WSTP Development in C (Mac OS X)

POSTED BY: Sander Huisman
3 Replies

Yes, this is a documentation bug. If you look at the actual Makefile in the layout, $InstallationDirectory/SystemFiles/Links/WSTP/DeveloperKit/MacOSX-x86-64/WSTPExamples/Makefile, it is correct.

The difference between the libraries in CompilerAdditions and the ones in AlternativeLibraries is the usage of the libstdc++ runtime vs libc++. Since Apple changed the default in recent versions of OS X/Xcode, one should either add the -stdlib=libstdc++ flag with the first set of libraries, or else use the alternative set.

POSTED BY: Ilian Gachevski

Thanks for confirming! I missed the makefile, but indeed there is one. I copied the one from the documentation. @Ilian Gachevski, as you are an employee at WR; could you report it? It is quite an easy fix... Thanks!

POSTED BY: Sander Huisman
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