[Lazarus] Cannot compile EpikTimer

Xiangrong Fang xrfang at gmail.com
Tue Sep 2 16:42:13 CEST 2014


Thanks, this worked.  I added unit Linux in here:

{$IFDEF Windows}
  Windows, MMSystem,
{$ELSE}
  unix, unixutil, baseunix, *Linux*,
{$ENDIF}

Should this be considered a minor bug in epiktimer's platform dependant
code?

Xiangrong


2014-09-02 22:28 GMT+08:00 Mattias Gaertner <nc-gaertnma at netcologne.de>:

> On Tue, 2 Sep 2014 22:18:38 +0800
> Xiangrong Fang <xrfang at gmail.com> wrote:
>
> > Hi All,
> >
> > While trying to install epiktimer following this wiki page:
> >
> > http://wiki.lazarus.freepascal.org/EpikTimer
> >
> > I got this error:
> >
> > /home/xrfang/git/epiktimer/epiktimer.pas(403,29) Error: Identifier not
> > found "clock_gettime"
>
> clock_gettime is defined in unit Linux.
>
> > I am running Lazarus 1.2.4/FPC2.6.2 on Ubuntu 14.10 64bit.
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140902/ab4e2ad2/attachment-0003.html>


More information about the Lazarus mailing list