[Top][All Lists]

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

Re: [Help-glpk] using glpk

From: Andrew Makhorin
Subject: Re: [Help-glpk] using glpk
Date: Wed, 07 Dec 2016 21:15:18 +0300

> Thank you for your guidance.  After fixing #include <glpk.h> problem,
> i have tried to run  1.3.1 example available in GNU Linear Programming
> Kit Reference Manual for GLPK Version 4.58 , and now i am getting the
> following errors:
>  undefined reference to `glp_create_prob',  to `glp_set_prob_name', to
> `glp_set_obj_dir', to `glp_add_rows, ...

You need to specify the glpk library, e.g. 'gcc ... -lglpk ...' 
(assuming that libglpk.a is located in /usr/local/lib).

reply via email to

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