[Top][All Lists]

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

Re: [Help-glpk] Compiling GLPK project in Ubuntu / Linux (was --->no sub

From: glpk xypron
Subject: Re: [Help-glpk] Compiling GLPK project in Ubuntu / Linux (was --->no subject)
Date: Sun, 26 Aug 2012 19:16:19 +0200

Hello Antonio,

which version of Ubuntu do you use? See
for upgrade information.

The current version is Ubuntu 12.04.1. LTS.

Package libglpk-dev contains version glpk.h for version 4.45 of GLPK.

File glpk.h only has the following include statements:
#include <stdarg.h>
#include <stddef.h>

Best regards


-------- Original-Nachricht --------
> Datum: Sun, 26 Aug 2012 10:43:41 +1000
> Von: Noli Sicad <address@hidden>
> An: Antonio Carlos Moretti <address@hidden>
> CC: address@hidden
> Betreff: Re: [Help-glpk] Compiling GLPK project in Ubuntu / Linux (was        
> --->no subject)

> Hi Antonio,
> Whenever a post for help / request, please specify a subject matter.
> > I installed GLPK as a package in UBUNTU.
> > I did exactly how is wrutten in
> >
> >
> > When I tried to compile my file in C which calls the api routines I got
> a
> > message that "glpk.h:29:20: fatal error: glpios.h: No such file or
> > directory".
> >
> > Looks like gcc is not find the library.
> >
> > Could you please help me.
> I think the ubuntu package only includes glpk.h, not all the glpk
> headers (i.e. include files) since it is binary package. You can
> verify this by looking at the /usr/include or /usr/local/include
> folder.
> (BTW, the glpk include files in not present in Mac OS X gkpk install
> (usr/local/include folder. It is only glpk.h is installed. This is
> default binary install by glpk, I suppose).
> I think you have to get the glpk-4.47 tarball and use the include
> files in /glpk-4.47/src/ folder for your glpk C project, if I am not
> mistaken.
> I am not done any C glpk project, how others manage to have glpk-dev
> in their system?
> Noli
> _______________________________________________
> Help-glpk mailing list
> address@hidden

reply via email to

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