|
From: | Dušan Plavák |
Subject: | Re: [Help-glpk] compilation problem in ns3 |
Date: | Sat, 21 Nov 2015 16:10:03 +0100 |
Thanks Andrew, for your reply.Regarding the proper installation of glpk, I should mention that I haveI had used before two other libraries, but I did not have any problems, i.e., I had put the ".h" or ".hpp" file in the directory my program is located (in ns-3 it is the "scratch" folder), and then I run my program with "waf" (./waf --run filename.cc). Please note that the Only way of running programs in the ns-3 is with waf...So how I can use gcc ?Thanks for kindly guiding me more.On Sat, Nov 21, 2015 at 3:30 PM, Andrew Makhorin <address@hidden> wrote:On Sat, 2015-11-21 at 15:16 +0100, Ali Marandi wrote:
> I am not running with gcc, am running with waf !.
>
> On Sat, Nov 21, 2015 at 3:05 PM, Ali Marandi <address@hidden>
> wrote:
> Thanks Dusan, you mean "./waf --run -lglpk filename.cc" ?
You need to properly install glpk and then perform some equivalent of
the following command:
gcc foo.c -lglpk -lm
in the same way as you usually link your programs with libraries.
_______________________________________________
Help-glpk mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-glpk
[Prev in Thread] | Current Thread | [Next in Thread] |