help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] How do I see if glpk is installed correctly?


From: Ali Baharev
Subject: Re: [Help-glpk] How do I see if glpk is installed correctly?
Date: Mon, 16 Jul 2007 23:48:20 +0200

Hello,

It would be nice to see the error messages. Yes you have to link the
glpk and probably the math library:

gcc sample.c -lm -lglpk

Is there a binary glpsol somewhere in your installation directory?

Good luck!


On 7/16/07, address@hidden <address@hidden> wrote:
I've got Windows 2000 and that's the only available platform.  (I used
to have IBM AIX as well but that's another story.)

I did get cygwin and then gcc -- gcc appears to be running correctly.
I have used it for basic C programs.

To install glpk,

I went into cygwin

did

sh configure

then

make

and I think it installed correctly.

Then I go to examples

gcc sample.c

doesn't work.

Even changing the #include <glpk.h> to its full name doesn't work.

Do I need to reference a library -- like

gcc sample.c -lglpk

or something??


Joseph McCollum
Information Technology Specialist
Forest Inventory and Analysis
Knoxville, TN 37919




________________________________________________________________________
Save hundreds of dollars a year with Juno Internet access.
Plans start as low as $9.95 a month. Visit Juno today!
http://track.juno.com/s/lc?u=http://ads.addynamix.com/click/2-2130421-170




_______________________________________________
Help-glpk mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-glpk





reply via email to

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