> 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. _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
