What steps will reproduce the problem? 1. Checkout source on ubuntu 13.10 2. Install Dependencies 3. Run ./configure --with-ffmpeg and then Make
What is the expected output? What do you see instead?
Expect to compile.
Instead get error:
Making all in src
make[2]: Entering directory /home/xbmc/sources/boblight-read-only/src'
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT boblight-v4l.o -MD -MP -MF .deps/boblight-v4l.Tpo -c -o boblight-v4l.o
test -f 'clients/boblight-v4l/boblight-v4l.cpp' || echo './'clients/boblight-v4l/boblight-v4l.cpp
clients/boblight-v4l/boblight-v4l.cpp: In function ‘int Run()’:
clients/boblight-v4l/boblight-v4l.cpp:103:15: error: ‘sleep’ was not declared in this scope
sleep(10);
^
make[2]: *** [boblight-v4l.o] Error 1
make[2]: Leaving directory
/home/xbmc/sources/boblight-read-only/src'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/sources/boblight-read-only'
make: * [all] Error 2
What version of the product are you using? On what operating system? r478 on ubuntu 13.10
Please provide any additional information below.
Comment #1
Posted on Feb 10, 2014 by Grumpy MonkeyI was able to make this compile by adding #include to boblight-v4l.cpp and videograbber.cpp
It looks like older versions of gcc included it automatically with system headers or something.
Comment #2
Posted on Jan 14, 2015 by Quick CatFixed in r479.
Status: Fixed
Labels:
Type-Defect
Priority-Medium