[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] [Fwd: C# API Exception]
From: |
Heinrich Schuchardt |
Subject: |
Re: [Help-glpk] [Fwd: C# API Exception] |
Date: |
Wed, 14 Jun 2017 00:14:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Hello Curtis,
the error you received that the GLPK library could not be called.
In your project you will need the following:
* glpk_4_61.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
libglpk_cli.dll is just a wrapper for the GLPK library.
It calls the libglpk_cli_native.dll library
which in turn calls the glpk_4_61.dll library.
Best regards
Heinrich Schuchardt
On 06/13/2017 07:33 AM, Andrew Makhorin wrote:
> -------- Forwarded Message --------
> To: 'address@hidden' <address@hidden>
> Subject: C# API Exception
> Date: Mon, 12 Jun 2017 22:51:50 +0000
>
> Good afternoon,
>
> I wanted to know if I could ask for help when working with the GLPK API.
> I imported the libglpk-cli.dll from the source code into Visual Studio
> 2015 as part of my references.
>
> Following the example in the source code, I included the code listed
> below.
>
> When I compiled, I had the exception thrown.
>
> Any help would be greatly appreciated.
>
> Thanks for all of the hard work that you do,
>
> Curtis Passorelli
>
> Exception:
>
> An unhandled exception of type 'System.TypeInitializationException'
> occurred in libglpk-cli.dll
>
> Additional information: The type initializer for
> 'org.gnu.glpk.GLPKPINVOKE' threw an exception.
>