Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: LibraryLink & MinGW
Replies: 5   Last Post: Jun 29, 2012 4:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
fortgriff

Posts: 3
Registered: 6/23/12
LibraryLink & MinGW
Posted: Jun 23, 2012 4:21 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Does anyone have experience with LibraryLink and MinGW?

Using LibraryLink, I am able to load functions into Mathematica from
the shipped version of demo.dll. From the source file demo.c, I
generate my own demogcc.dll (using MinGW). Using "objdump -f
xxx.dll", I cannot tell the difference between the two dlls. Both
export what they should and both look like dlls.

Inside Mathematica, I cannot load functions from demogcc.dll. The
$LibraryError I get is

Library load error 193: %1 is not a valid Win32 application.

There are many command line options for the compiler and linker.
Hopefully, there is a combination that works.
Thank you for your help.
MWG




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.