Just wanted to mention that I am working on a ubuntu 14.04, and I have
done #include "glpk.h" in my code.

On Sat, Nov 21, 2015 at 2:22 PM, Ali Marandi <[email protected]> wrote:

> Hello everyone.
>
> I am using the "glpk.h" in my code which I run in the ns-3 using waf. Even
> if I have put the file "glpk.h" in the directory in which my code is
> located, I receive the following errors once I run my code with "./waf
> --run":
>
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2183:
> undefined reference to `glp_create_prob'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2184:
> undefined reference to `glp_set_prob_name'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2185:
> undefined reference to `glp_set_obj_dir'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2186:
> undefined reference to `glp_add_rows'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2187:
> undefined reference to `glp_add_cols'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2192:
> undefined reference to `glp_set_col_bnds'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2193:
> undefined reference to `glp_set_obj_coef'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2199:
> undefined reference to `glp_set_row_bnds'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2223:
> undefined reference to `glp_load_matrix'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2224:
> undefined reference to `glp_simplex'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2229:
> undefined reference to `glp_get_col_prim'
> /home/ali/ns-allinone-3.21/ns-3.21/build/../scratch/LDNC+BF.cc:2295:
> undefined reference to `glp_delete_prob'
>
>
> I appreciate if you help me out with this.
>
> Thanks and regards,
> A
>
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to