Hi guys
I just tried to build xbmc based on my ubuntu 12.04 machine
I think ./configure was fine and the results was like below.
I ran ./configrue with NO option.
Code:
------------------------
Kodi Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
SWIG Available: Yes
JRE Available: Yes
Doxygen Available: Yes
Crosscomp.: No
target ARCH:
target CPU:
OpenGL: Yes
ALSA: Yes
DBUS: Yes
VDPAU: Yes
VAAPI: Yes
VTBDecoder: No
OpenMax: No
Joystick: No
XRandR: Yes
Waveform: Yes
Spectrum: Yes
GOOM: No
RSXS: Yes
FishBMC: Yes
ProjectM: Yes
Touch skin: No
X11: Yes
Wayland: No
Bluray: No
TexturePacker:Yes
MID Support: No
ccache: Yes
ALSA Support: Yes
PulseAudio: Yes
DVDCSS: Yes
Google Test Framework Configured: Yes
Avahi: Yes
mDNSEmbedded: No
Non-free: Yes
ASAP Codec: No
MySQL: Yes
Webserver: Yes
libssh support: Yes
libRTMP support: Yes
libsmbclient support: Yes
libnfs client support:No
libafpclient support: No
AirPlay support: Yes
AirTunes support: No
UPnP support: Yes
Optical drive: Yes
libudev support: No
libusb support: No
libcec support: No
libcap support: Yes
additional players: No
additional codecs: No
PVR add-ons: No
prefix: /usr/local
------------------------
then I ran 'make' following the guide doc.
I faced some err like below.
Code:
CPP xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecLibMpeg2.o
CPP xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.o
AR xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a
CPP xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.o
DVDDemuxFFmpeg.cpp: In member function ‘virtual void CDVDDemuxFFmpeg::Flush()’:
DVDDemuxFFmpeg.cpp:538:41: error: ‘av_read_frame_flush’ was not declared in this scope
DVDDemuxFFmpeg.cpp: In member function ‘void CDVDDemuxFFmpeg::GetL16Parameters(int&, int&)’:
DVDDemuxFFmpeg.cpp:1705:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
DVDDemuxFFmpeg.cpp:1723:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
before this, during my './configure' procedure, I faced below errs
Code:
checking for main in -lcap... yes
configure: "FFmpeg installation forced by user - installing our version"
tar: ../ffmpeg-2.4.4-Helix.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
/root/wayne/Work/Src/Kodi/xbmc-master/tools/depends/target/ffmpeg/autobuild.sh: line 128: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
ERROR: building ffmpeg failed
checking for FFMPEG... no
configure: error: "ffmpeg not found"
root@chic-netbook:~/wayne/Work/Src/Kodi/xbmc-master#
I thought this came from ffmpeg things, so I googled and found this site:
http://ffmpeg.org/releases/
I downloaded same version which is "ffmpeg-2.4.4.tar.gz"
and I place it ./tools/depends/target/ffmpeg/
and rename it as "ffmpeg-2.4.4-Helix.tar.gz"
after this ./configure conducted well.
but I faced a err while the 'make' runs.
I grepped this 'av_read_frame_flush' to make sure whether this is declared or not.
but there isn't.
maybe I put wrong file in it from the ffmpeg.org site.
Code:
root@chic-netbook:~/wayne/Work/Src/Kodi/xbmc-master# grep -rn av_read_frame_flush .
./xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp:538: av_read_frame_flush(m_pFormatContext);
root@chic-netbook:~/wayne/Work/Src/Kodi/xbmc-master#
could you plz give me some guide ?