help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] [Fwd: Use GLPK from Code::Blocks]


From: Nigel Galloway
Subject: Re: [Help-glpk] [Fwd: Use GLPK from Code::Blocks]
Date: Thu, 18 May 2017 07:02:33 -0700

I am going to assume you are still using windows. Which compiler do you
now intend to use?

Go to the settings menu and select compiler. On that menu make sure
Selected compiler is set to the one you want to use.

Somewhere you have installed glpk.h, glpk.dll, and perhaps glpk.lib.
Best if these have been compiled with the compiler you are trying to
use.

>From the tabs below selected compiler choose compiler and add the
directory where glpk.h is located.

>From the tabs choose linker and add the directory where glpk.dll (.lib)
is located.

Assuming you have created a project for your work, right click on its
name in your workspace and choose build options. Select linker from the
tabs and  add glpk.lib if you are still using the Microsoft compiler.
The dll otherwise.

-- 
  Nigel Galloway
  address@hidden

On Wed, May 17, 2017, at 11:46 AM, Andrew Makhorin wrote:
> -------- Forwarded Message --------
> From: Guillaume Zahar <address@hidden>
> To: address@hidden
> Subject: Use GLPK from Code::Blocks
> Date: Wed, 17 May 2017 16:52:30 +0200 (CEST)
> 
> Hi guys,
> 
> 
> I am trying to use GLPK library from a C++ code in CodeBlocks.
> Until today I was using it from Microsoft Visual Studio but my free
> period has ended and now I'm trying to work with Code::Blocks.
> Unfortunately, all the documentation I've found is about Microsoft
> Visual Studio...
> 
> 
> Thanks,
> 
> 
> Guillaume Zahar
> 
> 
> 
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-glpk

-- 
http://www.fastmail.com - mmm... Fastmail...




reply via email to

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