[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: Naive question, but urgent...
From: |
Andrew Makhorin |
Subject: |
[Help-glpk] Re: Naive question, but urgent... |
Date: |
Thu, 23 Jan 2003 19:28:49 +0300 |
>undefined reference to `glp_lpx_create_prob'
>
>I'm compiling using gcc in a PC running LINUX. I'm using the simple command
>line:
>gcc MIPsolver.c -o MIPsolver
>It aparently finds the file "glpk.h", but doesn't recognise any function!
Looks like you forgot to specify the glpk library archive in the
command line. Try the following:
gcc MIPsolver.c -o MIPsolver -lglpk
or specify libglpk.a explicitly, if glpk is not installed.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] Re: Naive question, but urgent...,
Andrew Makhorin <=