LibraryLink & MinGW
- To: mathgroup at smc.vnet.net
- Subject: [mg127002] LibraryLink & MinGW
- From: fortgriff <griff at eigenpt.com>
- Date: Sat, 23 Jun 2012 04:14:43 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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