help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] compilation problem in ns3


From: Andrew Makhorin
Subject: Re: [Help-glpk] compilation problem in ns3
Date: Fri, 27 Nov 2015 16:34:50 +0300

> I went through the manual of ns-3 so as to create a new module.
> Typically, when we need to create a module, it is required to have two
> files, i.e. one header file (extension .h) and another file which
> defines the methods declared in the header file (extension .cc). 
> 
> Based on the above argument, when I need to create the module "Glpk",
> I do have the first file (glpk.h). However, I cannot find some file
> (e.g. glpk.cc) which implements the methods declared in the glpk.h
> (e.g. glp_create_prob). Could you please give me some valuable
> guidance on how to deal with this ?
> 

Glpk is written in ANSI C89, not in C++.

To build glpk you need to compile all .c files in directory src and its
subdirectories (see src/Makefile.am), and gather all .o files produced
by the C compiler in an object library archive.





reply via email to

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