help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] Build Error


From: Robert C. Green II
Subject: [Help-glpk] Build Error
Date: Tue, 07 Nov 2006 20:43:45 -0500
User-agent: Thunderbird 1.5.0.7 (X11/20060922)

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

address@hidden 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
address@hidden
address@hidden
Cell: (412) 860-4825





reply via email to

[Prev in Thread] Current Thread [Next in Thread]