Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10608

LibraryLink & MinGW

From fortgriff <griff@eigenpt.com>
Newsgroups comp.soft-sys.math.mathematica
Subject LibraryLink & MinGW
Date 2012-06-23 08:21 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <js3uag$um$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

LibraryLink & MinGW fortgriff <griff@eigenpt.com> - 2012-06-23 08:21 +0000
  Re: LibraryLink & MinGW "Oleksandr Rasputinov" <oleksandr_rasputinov@ymail.com> - 2012-06-24 08:25 +0000
    Re: LibraryLink & MinGW Mike Griffis <griff@eigenpt.com> - 2012-06-28 08:07 +0000
  Re: LibraryLink & MinGW Michael Weyrauch <michael.weyrauch@gmx.de> - 2012-06-26 08:50 +0000
    Re: LibraryLink & MinGW Mike Griffis <griff@eigenpt.com> - 2012-06-28 08:07 +0000
      Re: LibraryLink & MinGW Michael Weyrauch <michael.weyrauch@gmx.de> - 2012-06-29 08:49 +0000

csiph-web