[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] [Fwd: C Sharp API Exception]

From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: C Sharp API Exception]
Date: Wed, 28 Dec 2016 22:49:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

Dear Curtis,

your mail had to be forwarded manually because you are not subscribed to
the GLPK help list. See

For building and running your own application you will need the
following files from the w64 or the w32 directory depending on the
bitness of your application:

- glpk_4_60.dll - the GLPK native library
- libglpk_cli_native.dll - the GLPK for C#/CLI native library
- libglpk_cli.dll - the GLPK for C#/CLI assembly

There is no symbol GLPKINVOKE in GLPK for C#/CLI. Do you mean GLPKPINVOKE?

For further analysis the whole console output is needed.

Best regards

Heinrich Schuchardt

On 12/28/2016 07:59 PM, Andrew Makhorin wrote:
> -------- Forwarded Message --------
> To: address@hidden <address@hidden>
> Subject: C Sharp API Exception
> Date: Wed, 28 Dec 2016 17:15:46 +0000
> Hello,
> I have downloaded the GLPK version 4.60 with the Java and C Sharp dll’s
> included. I can successfully import the libglpk-cli.dll into the
> Microsoft Visual Studio 15, where the intellisense picks up on the
> classes and methods. 
> Whenever I try to run the following code I get an exception.
> glp_prob lp;
> lp = GLPK.glp_create_prob ();
> The type initializer for org.gnu.glpk.GLPKINVOKE threw an exception.
> I am following the lp.cs example in the download, but I cannot seem to
> get past these first steps.
> Any help would be greatly appreciated. J
> Thanks for all of your hard work,
> Curtis Passorelli

reply via email to

[Prev in Thread] Current Thread [Next in Thread]