Version 11 (modified by lou, 14 years ago) (diff)

Between glpk 4.13 and 4.15, there's been a change in API naming convention for glpk

Current Issues


  • Configure is unable to find the symbol glp_lpx_simplex when checking for the presence of glpk. Glpk has changed its naming convention for API routines. This is normally invisible to users of glpk (who always use lpx_simplex in code). The current COIN configuration tests do not understand the trick used by glpk (#defines in the various .h files). The workaround is to use the configuration flag --disable-glpk-libcheck. If you have the ability to regenerate configuration files, add a leading underscore ('_') to the symbol in relevant files. For example,





  • --omit-frame-pointer leads to failure of C++ throw for some GCC compiler versions (GCC 3.3 and 3.4, for example). Suggested solutions:
    1. If possible, upgrade to a GCC version which does not have this problem. GCC 4.1.1 is known to work correctly in many environments.
    2. Use the variables OPT_CXXFLAGS, OPT_CFLAGS, and OPT_FFLAGS to override the default optimisation options when executing configure. To determine the correct set of options, look for the string omit-frame-pointer in BuildTools/coin.m4. Currently (06.10.20), adding

to the command line options for configure should do the trick.

Attachments (1)

Download all attachments as: .zip