Kodi Community Forum

Full Version: boblight on Sams image (Ubuntu 8.04)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi!

I'm building Amblone http://amblone.com/ on Sams image for AppleTV on Ubuntu 8.04.

I'm having some troubles with compiling boblight.
I was following this guide http://forum.xbmc.org/showthread.php?tid...t=boblight but i'm having troubles with command
-----------------
sudo apt-get install gcc libusb-dev ruby ruby-dev libportaudio-dev libavdevice-dev libswscale-dev libavformat-dev libavcodec-dev libxrender-dev libsdl1.2-dev libc6-dev-i386 libx11-dev
-----------------
because some packages are not found.

Can someone please help me a little bit. Do someone already has .conf file for boblight for Arduino Mega?

Do i need any special drivers for Arduino Mega to work with Linux on Ubuntu?


TNX
Hey,

General rule of thumb. If you can't apt-get install what you need, Google for the source which will be in a tar.gz then:

tar -xzf *.tar.gz
cd packagename*
./configure
make
sudo make install

for each missing package. Then you'll be able to compile boblight
Start by posting which ones are missing Smile
I was searching for packages but could not find them in that format.

Couldn't find package ruby-dev
Couldn't find package libavdevice-dev
Couldn't find package libc6-dev-i386

These are missing.

I'm using command:
sudo apt-get install gcc libusb-dev ruby ruby-dev libportaudio-dev libavdevice-dev libswscale-dev libavformat-dev libavcodec-dev libxrender-dev libsdl1.2-dev libc6-dev-i386 libx11-dev

Is tutorial: http://forum.xbmc.org/showthread.php?tid...t=boblight
also good for Ardunio Mega?



TNX for helping.
Build them three packages (and their dependencies) from source, try recompile
Ok i think i'm a little further. Well the green red already runs on ardunio mega 1280, that means that it is recognized. I gave also managed to start boblightd and boblight-X11.
But now when i play film the leds are not changing. At the moment i have build just one stripe and have tride all four channels but on none ofthem do nothing to the light.

My config for Ardunio Mega 1280 at the moment is:

Quote:[global]
#interface 10.0.0.2
#port 19333

[device]
name arduino
output "/dev/ttyUSB0"
channels 16
type momo
interval 20000
rate 38400
prefix FF
bits 8
#debug on

[color]
name red
rgb FF0000

[color]
name green
rgb 00FF00

[color]
name blue
rgb 0000FF

[light]
name right
color red arduino 1
color green arduino 2
color blue arduino 3
hscan 50 100
vscan 0 100

[light]
name left
color red arduino 4
color green arduino 5
color blue arduino 6
hscan 0 50
vscan 0 100

[light]
name top
color red arduino 7
color green arduino 8
color blue arduino 9
hscan 0 100
vscan 0 50

[light]
name bottom
color red arduino 10
color green arduino 11
color blue arduino 12
hscan 0 100
vscan 50 100
Well i'm having troubles with this Smile
It looks that the boblight starts ok. After entering command "sudo boblightd"
the green diode on Arduino Mega 1280 for RX starts green (http://arduino.cc/en/Main/ArduinoBoardMega). I assume that it is getting the signal.

Also "boblight-X11" starts normal.

First i'd like to make only to be able to run it to see if the colours are changing after taht i will go step by step further. But at the moment i'm stuck Sad

Well there is no output on diodes.

I have build this one http://amblone.com/guide but i do not understand if i have to upload pde file to the board or. don't. If yes is the one from the page ok? http://amblone.com/download/arduino
You need to open the .pde file with the arduino development environment, compile it and upload it to the arduino board.
The arduino is a general microcontroller board, it won't do anything without firmware in it.
Well i'm now a little further.
I did upload program .pde to arduino mega board. After that i have tried the board with one stripe connected to the pc and tried amblone software just to test if the circuit and everything else is working. And it is on PC Smile so the board, program on arduino is ok and ready to work with apple tv and linux.

Well on ATVand sams image i did compile the boblight.
Before that i have run the following command.
Quote:sudo apt-get install gcc libusb-dev ruby libportaudio-dev libswscale-dev libavformat-dev libavcodec-dev libxrender-dev libsdl1.2-dev libx11-dev

I did not install thi package "libavdevice-dev" i could not find them.
After that i have compile with "sudo make" and "sudo make install".

After that i hve created boblight.conf file under /etc folder. The content of .conf file is:
Quote:[global]
#interface 10.0.0.2
#port 19333

[device]
name arduino
output "/dev/ttyUSB0"
channels 14
type momo
interval 20000
rate 38400
prefix 55 AA
bits 8

#arduino bootloader runs when opening the serial port for the first time
#delay transmission one second after opening so we don't send shit to the bootloader
delayafteropen 1000000
#debug on

[color]
name red
rgb FF0000

[color]
name green
rgb 00FF00

[color]
name blue
rgb 0000FF

[light]
name right
color red arduino 1
color green arduino 2
color blue arduino 3
hscan 50 100
vscan 0 100

[light]
name left
color red arduino 4
color green arduino 5
color blue arduino 6
hscan 0 50
vscan 0 100

[light]
name top
color red arduino 7
color green arduino 8
color blue arduino 9
hscan 0 100
vscan 0 50

[light]
name bottom
color red arduino 10
color green arduino 11
color blue arduino 12
hscan 0 100
vscan 50 100

After that i have run command "sudo boblightd" (the green led on arduino turned on) and after "boblight-X11 -t 0.1" have also tried "boblight-X11". Because i was getting error (ERROR: Can't open display (null)) i have also run the command "export DISPLAY=:0.0" After that command the boblight-X11 starts.

The output of putty after those two commands was:
Quote:atv@appletv-ubuntu:~$ sudo boblightd
[sudo] password for atv:
Nr of devices: 1
Nr of lights: 4
Nr of colors: 3
Port: 19333
Interface:

Device arduino
Type: 0
Output: /dev/ttyUSB0
Channels: 14
Interval: 20000
Period: -1
Rate: 38400
Prefix: 55

Color red
RGB: ff0000
Adjust: 1.0
Blacklevel: 0.0
Gamma: 1.0

Color green
RGB: 00ff00
Adjust: 1.0
Blacklevel: 0.0
Gamma: 1.0

Color blue
RGB: 0000ff
Adjust: 1.0
Blacklevel: 0.0
Gamma: 1.0

Light right
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 50.0-100.0
Vscan: 0.0-100.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Light left
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 0.0-50.0
Vscan: 0.0-100.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Light top
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 0.0-100.0
Vscan: 0.0-50.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Light bottom
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 0.0-100.0
Vscan: 50.0-100.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Starting momo daemon on /dev/ttyUSB0
atv@appletv-ubuntu:~$ export DISPLAY=:0.0
atv@appletv-ubuntu:~$ boblight-X11

Starting boblight-X11

Capturing with XShmGetImage

atv@appletv-ubuntu:~$

And now the problem. The diodes stays off Sad What could be wrong? Am I missing something? Is the command "export DISPLAY=:0.0" right (i'm doing this on Apple TV). It is not hardware issue because it is working on PC (Win 7 x64) but not on linux.

TNX for help in advance.
You're not using boblight from http://code.google.com/p/boblight/
I'm using this one:

wget http://www.xs4all.nl/~loosen/boblight/bo...1.3.tar.gz
tar zxvf boblight-1.3.tar.gz


Ok now i did:
Quote:sudo apt-get install libx11-dev libgl1-mesa-dev libxrender-dev portaudio19-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev

I still gor "E: Couldn't find package libavdevice-dev#
Then i went to "cd /tmp" and got "svn checkout http://boblight.googlecode.com/svn/trunk/ boblight-read-only"
After that i've wrote "cd boblight-read-only" and "sudo ./configure" but now it says "

Quote:atv@appletv-ubuntu:/tmp/boblight-read-only$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lportaudio... yes
checking for main in -lX11 ... yes
checking for main in -lXrender ... yes
checking for main in -lGL ... yes
checking for main in -lavutil ... yes
checking for main in -lavcodec ... yes
checking for main in -lavformat ... yes
checking for main in -lswscale ... yes
checking for main in -lavdevice ... no
configure: error: Missing a required library

atv@appletv-ubuntu:/tmp/boblight-read-only$

I assume that i'm getting this because of "E: Couldn't find package libavdevice-dev"?

I was searching on the net for this one but could not find them.
How can i install this one. can you give me please commmand example.
Ok i did compile now the boblight from svn.
I did:
sudo apt-get install libx11-dev libgl1-mesa-dev libxrender-dev portaudio19-dev libavcodec-dev libavformat-dev libswscale-dev

downloaded http://packages.ubuntu.com/natty/libavdevice-dev (libav_0.6.2.orig.tar.gz) and upload it to tmp folder on AppleTv.

---------------------------------
cd /tmp
tar -zxvf libav_0.6.2.orig.tar.gz
cd libav_0.6.2
./configure
make
make install
---------------------------------

---------------------------------------------------------------
cd
cd /tmp
svn checkout http://boblight.googlecode.com/svn/trunk/ boblight
cd boblight
./configure
make
make install
---------------------------------------------------------------

Copied boblight.conf v /etc (/etc/boblight.conf)


-------------------
sudo boblightd
export DISPLAY=:0.0
boblight-X11
-------------------

Telnet output now shows:
Quote:root@appletv-ubuntu:~# sudo boblightd
Nr of devices: 1
Nr of lights: 4
Nr of colors: 3
Port: 19333
Interface:

Device arduino
Type: 0
Output: /dev/ttyUSB0
Channels: 14
Interval: 20000
Period: -1
Rate: 38400
Prefix: 55

Color red
RGB: ff0000
Adjust: 1.0
Blacklevel: 0.0
Gamma: 1.0

Color green
RGB: 00ff00
Adjust: 1.0
Blacklevel: 0.0
Gamma: 1.0

Color blue
RGB: 0000ff
Adjust: 1.0
Blacklevel: 0.0
Gamma: 1.0

Light right
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 50.0-100.0
Vscan: 0.0-100.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Light left
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 0.0-50.0
Vscan: 0.0-100.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Light top
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 0.0-100.0
Vscan: 0.0-50.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Light bottom
Number of colors: 3
Color 0: red
Color 1: green
Color 2: blue
Interpolation is on
Hscan: 0.0-100.0
Vscan: 50.0-100.0
Proportional: 100.0
Saturation: 1.0
Value: 1.0
Valuerange: 0.0-1.0
Use this light
Average method used
Black threshold: 0

Starting momo daemon on /dev/ttyUSB0
root@appletv-ubuntu:~# export DISPLAY=:0.0
root@appletv-ubuntu:~# boblight-X11 -t 0.03 -a 20 -v 8 -s 2.5
Received hello from new client 127.0.0.1:51098
Assigning number 0 to client
Sending global config to 127.0.0.1:51098
Sending lights config to 127.0.0.1:51098

Starting boblight-X11

Timeout of 127.0.0.1:51098 set to 20
Priority of 127.0.0.1:51098 set to 128
127.0.0.1:51098 light right interpolation on
127.0.0.1:51098 light right proportional set to 20.000000
127.0.0.1:51098 light right saturation set to 2.50
127.0.0.1:51098 light right value set to 8.00
127.0.0.1:51098 light right valuerange set to 0.00-1.00
127.0.0.1:51098 use light right
127.0.0.1:51098 light left interpolation on
127.0.0.1:51098 light left proportional set to 20.000000
127.0.0.1:51098 light left saturation set to 2.50
127.0.0.1:51098 light left value set to 8.00
127.0.0.1:51098 light left valuerange set to 0.00-1.00
127.0.0.1:51098 use light left
127.0.0.1:51098 light top interpolation on
127.0.0.1:51098 light top proportional set to 20.000000
127.0.0.1:51098 light top saturation set to 2.50
127.0.0.1:51098 light top value set to 8.00
127.0.0.1:51098 light top valuerange set to 0.00-1.00
127.0.0.1:51098 use light top
127.0.0.1:51098 light bottom interpolation on
127.0.0.1:51098 light bottom proportional set to 20.000000
127.0.0.1:51098 light bottom saturation set to 2.50
127.0.0.1:51098 light bottom value set to 8.00
127.0.0.1:51098 light bottom valuerange set to 0.00-1.00
127.0.0.1:51098 use light bottom
Capturing with XShmGetImage

root@appletv-ubuntu:~#


Seem OK but there are no lights.
How can i troubleshoot that or. what could be wrong?

TNX
Still looks like you're using the old version.
Ok now i have start from beginning because you have said that i'm using old version. So i did fresh install and start over again and new troubles Sad I thought that it will be easier.

Now the problem is when i try to compile boblight. What could be wrong now?

Quote:root@appletv-ubuntu:/tmp/boblight-read-only# sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lportaudio... yes
checking for main in -lX11 ... yes
checking for main in -lXrender ... yes
checking for main in -lGL ... yes
checking for main in -lavutil ... yes
checking for main in -lavcodec ... yes
checking for main in -lavformat ... yes
checking for main in -lswscale ... yes
checking for main in -lavdevice ... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/XShm.h... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking libavformat/avformat.h usability... yes
checking libavformat/avformat.h presence... yes
checking for libavformat/avformat.h... yes
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking portaudio.h usability... yes
checking portaudio.h presence... yes
checking for portaudio.h... yes
checking for PaStreamCallbackTimeInfo... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
root@appletv-ubuntu:/tmp/boblight-read-only#

Quote:root@appletv-ubuntu:/tmp/boblight# make
make all-recursive
make[1]: Entering directory `/tmp/boblight'
Making all in src
make[2]: Entering directory `/tmp/boblight/src'
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT videograbber.o -MD -MP -MF .deps/videograbber.Tpo -c -o videograbber.o `test -f 'clients/boblight-v4l/videograbber.cpp' || echo './'`clients/boblight-v4l/videograbber.cpp
In file included from clients/boblight-v4l/videograbber.cpp:19:
clients/boblight-v4l/flagmanager-v4l.h:53:24: warning: no newline at end of file
In file included from /usr/local/include/libavutil/avutil.h:81,
from /usr/local/include/libavcodec/avcodec.h:30,
from clients/boblight-v4l/videograbber.h:33,
from clients/boblight-v4l/videograbber.cpp:20:
/usr/local/include/libavutil/common.h: In function âint32_t av_clipl_int32(int64_t)â:
/usr/local/include/libavutil/common.h:154: error: âUINT64_Câ was not declared in this scope
clients/boblight-v4l/videograbber.cpp: In member function âvoid CVideoGrabber::Run(volatile bool&, void*)â:
clients/boblight-v4l/videograbber.cpp:240: warning: âavcodec_decode_videoâ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3454)
clients/boblight-v4l/videograbber.cpp:240: warning: âavcodec_decode_videoâ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3454)
make[2]: *** [videograbber.o] Error 1
make[2]: Leaving directory `/tmp/boblight/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/boblight'
make: *** [all] Error 2
root@appletv-ubuntu:/tmp/boblight#
Seems that all guides are outdated on the internet. all are made for Philips AmbX with 1.3 version.
Your compiling issues are not related to XBMC. I feel you'd get better help in a more suitable place. Don't take this the wrong way, I'd like to help, but I'm not sure what your problem is here
Pages: 1 2