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
  [email protected]

On Wed, May 17, 2017, at 11:46 AM, Andrew Makhorin wrote:
> -------- Forwarded Message --------
> From: Guillaume Zahar <[email protected]>
> To: [email protected]
> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk

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


_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to