I installed glpk using apt-get in Ubuntu. I then downloaded the source.
I'm currently trying to build glpsol.c to ensure that everything is set
up properly in my environment, but I am getting the following output
when I run gcc glpsol.c -lgpk
[EMAIL PROTECTED] gcc glpsol.c -lglpk
Thanks for the help. I finally figured it out after watching the output of the Makefile. The proper command to compile is:gcc -I. -I../include -c glpsol.cgcc -g -O2 -o glpsol glpsol.o ../src/libglpk.a -lm
The original output from the makefile was:gcc -DPACKAGE=\GLPK\ -DVERSION=\4.9\ -DHAVE_LIBM=1
I installed glpk using apt-get in Ubuntu. I then downloaded the source.
I'm currently trying to build glpsol.c to ensure that everything is set
up properly in my environment, but I am getting the following output
when I run gcc glpsol.c -lgpk
[EMAIL PROTECTED] gcc glpsol.c -lglpk