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

glpsol.c:337: error: syntax error before ‘}’ token

glpsol.c: In function ‘parse_cmdline’:

glpsol.c:620: error: ‘LPX_C_COVER’ undeclared (first use in this function)

glpsol.c:620: error: (Each undeclared identifier is reported only once

glpsol.c:620: error: for each function it appears in.)

glpsol.c:622: error: ‘LPX_C_CLIQUE’ undeclared (first use in this function)

glpsol.c:624: error: ‘LPX_C_GOMORY’ undeclared (first use in this function)

glpsol.c:626: error: ‘LPX_C_ALL’ undeclared (first use in this function)

glpsol.c: In function ‘main’:

glpsol.c:848: error: ‘LPX_K_BINARIZE’ undeclared (first use in this function)

glpsol.c:849: error: ‘LPX_K_USECUTS’ undeclared (first use in this function)

Any Suggestions?

--
------------------------------------
Robert C. Green II
Master's Candidate in Computer Science and Operations Research
Bowling Green State University
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Cell: (412) 860-4825



_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to