[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] RE: sample.c
From: |
Rios, Joseph L. (ARC-AFO) |
Subject: |
[Help-glpk] RE: sample.c |
Date: |
Mon, 2 Aug 2010 11:50:20 -0500 |
>C:\xrcs>E:\Dev-Cpp\bin\gcc -LC:\xrcs\glpk-4.44 sample.o -lglpk -lm
>
>gives an error
>
>E:\Dev-Cpp\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot
>find -lglpk
>collect2: ld returned 1 exit status
>
>What's wrong?
I don't use Windows, but I'd try checking your Library path. If I'm not
mistaken, the GLPK library is built into the src directory. Try this as your
library path flag:
-LC:\xrcs\glpk-4.44\src
Let us know how it goes.
Joey
- [Help-glpk] RE: sample.c,
Rios, Joseph L. (ARC-AFO) <=