bug-goptical
[Top][All Lists]
Advanced

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

[bug-goptical] make fails for tests


From: Aaron Webster
Subject: [bug-goptical] make fails for tests
Date: Fri, 7 Jun 2013 15:52:54 +0200

In the latest version of goptical-1.0, the following files fail to build:

./goptical_core/tests/test_2d_plot.cc
./goptical_core/tests/test_rendering.cc

with the error:

error: ‘sleep’ was not declared in this scope
   sleep(5);

A solution is to add

#include <unistd.h>

to the header of each file, as otherwise sleep is not defined.

--
Aaron Webster

reply via email to

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