Message Boards Message Boards

Undefined reference to `WinMain@16'|

Posted 9 years ago

When I Export["name.c",Compile[]] and I Compile the c code i get the error undefined reference to `WinMain@16'| ,what should i do to solve it?

codeblocks compilation

POSTED BY: pablo cageao

I believe this is part of the WSTP API, an interface for communication between C code and the Wolfram Language. Have you ensured WolframRTL.h is accessible by your compiler?

POSTED BY: Jesse Friedman
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