[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: Calling glpk libs
From: |
Davide Girlando |
Subject: |
[Help-glpk] Re: Calling glpk libs |
Date: |
Wed, 12 Apr 2006 23:36:51 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Andrew Walbran <qwandor <at> gmail.com> writes:
> Have you remembered to link to GLPK?
> The line to call the linker should look look something like this:
> gcc -o myprogram myfile1.o myfile2.o -lglpk
> The important part is the -lglpk, which tells gcc to link against the glpk
> library.
>
I actually didn't, I've never coded anything complex in C, so I didn't even know
that it had to be expressedly done. I've figured out how to do this in lcc, and
it compiles correctly now. Thank you!