Skip to content

Installation fails: "fatal error: glpk.h: No such file or directory" #490

@szhorvat

Description

@szhorvat

SUPERSEDED BY THE TROUBLESHOOTING PAGE


I am trying to install igraph from CRAN with install.packages("igraph"), and I get an error like this:

In file included from feedback_arc_set.c:31:
igraph_glpk_support.h:36:10: fatal error: glpk.h: No such file or directory
 #include <glpk.h>
          ^~~~~~~~
compilation terminated.

How do I solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions