[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Gcc
From: |
address@hidden |
Subject: |
Re: [Help-glpk] Gcc |
Date: |
Sat, 20 Nov 2004 20:51:32 -0800 |
> Hello !!!
Hi
> I try to compile a mini program called
gencol.c in winxp.
> For this, I downloaded the program called
MINGW (gcc) and
> I write the following sentences:
>
> gcc - gencol.c (OK)
> gcc -o gencol gencol.c (PROBLEM)
>
> Here, the gcc give me a error message of link.
How can I
> fix this error?
<snip>
> gencol.o(.text+0x57):gencol.c: undefined
reference to
> `glp_lpx_create_prob'
<snip>
You appear not to be linking against glpk.
Try:
gcc -o gencol gencol.c -lglpk
Andrew Walbran
- [Help-glpk] Gcc, Jorge Melo, 2004/11/20
- Re: [Help-glpk] Gcc,
address@hidden <=