[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Need more headers in /usr/local/include?
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Need more headers in /usr/local/include? |
Date: |
Sat, 15 Sep 2007 14:28:53 +0400 |
> Not sure if this is a feature request, bug report or a call for
> help. I was interested in using some of the glpk library functions
> such as xtime(). I rec'd compilation errors after adding a call to
> this function even though I had the glpk.h header included and all
> of the standard functions were working fine. After some digging
> through the headers I found glplib.h was the one I needed. I copied
> that to /usr/local/include and everything compiled fine. xtime()
> must already exist in the big glpk library. Wondering if there are
> more headers that should be copied to /usr/local/include during
> installation (make install) in order to take advantage of all of the
> code in glpk? Or did I do something weird during my build? So
> everything is working fine for me right now, just wanted to throw
> this out there. Oh, I am using glpk 4.19 if that is important.
The routine xtime is intended for internal needs; it is not available
on api level and therefore not declared in glpk.h. To measure the time
you can use standard C functions like clock, utime, or gettimeofday.