[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] sample.c
From: |
Нестеренко Геннадий Витальевич |
Subject: |
[Help-glpk] sample.c |
Date: |
Mon, 2 Aug 2010 10:08:15 +0400 |
Hi, Andrew!
Hi, all!
Very dummy question: how to compile and link the example program (glpk.pdf, ss.
15,16) in Windows?
Command
C:\xrcs>E:\Dev-Cpp\bin\gcc -IC:\xrcs\glpk-4.44\include -c sample.c
done OK, file sample.o appeared. But command
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] sample.c,
Нестеренко Геннадий Витальевич <=