leighmurray / boblight

Automatically exported from code.google.com/p/boblight
GNU General Public License v3.0
0 stars 0 forks source link

Error when compiling #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout from trunk
2. perform compile:
    $ ./configure 
    $ make

What is the expected output? What do you see instead?
Expected successful compile
Instead there was an error:
"ar: libboblight_la-boblight_client.o: No such file or directory"

I found a ref to this problem on a forum thread from Jan 2012:
http://forum.xbmc.org/showthread.php?tid=116331&pid=972665&highlight=libboblight
_la-boblight_client.o#pid972665

Suggested solution was to use revision 400 from the repository instead, but 
that just gave me different errors:

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
clients/boblight-v4l/videograbber.cpp: In member function âvoid 
CVideoGrabber::Setup()â:
clients/boblight-v4l/videograbber.cpp:70:18: warning: 
âAVFormatParameters::time_baseâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:70:18: warning: 
âAVFormatParameters::time_baseâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:71:18: warning: 
âAVFormatParameters::time_baseâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:71:18: warning: 
âAVFormatParameters::time_baseâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:350) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:72:18: warning: 
âAVFormatParameters::channelâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:356) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:72:18: warning: 
âAVFormatParameters::channelâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:356) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:73:18: warning: 
âAVFormatParameters::widthâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:353) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:73:18: warning: 
âAVFormatParameters::widthâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:353) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:74:18: warning: 
âAVFormatParameters::heightâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:354) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:74:18: warning: 
âAVFormatParameters::heightâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:354) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:75:18: warning: 
âAVFormatParameters::standardâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:357) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:75:18: warning: 
âAVFormatParameters::standardâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:357) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:76:18: warning: 
âAVFormatParameters::pix_fmtâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:355) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:76:18: warning: 
âAVFormatParameters::pix_fmtâ is deprecated (declared at 
/usr/include/libavformat/avformat.h:355) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:85:15: warning: âint 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:85:115: warning: âint 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:96:17: warning: âint 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:96:117: warning: âint 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:105:17: warning: âint 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:105:117: warning: âint 
av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, 
AVFormatParameters*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:112:6: warning: âint 
av_find_stream_info(AVFormatContext*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:112:41: warning: âint 
av_find_stream_info(AVFormatContext*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:116:3: warning: âvoid 
dump_format(AVFormatContext*, int, const char*, int)â is deprecated (declared 
at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:116:72: warning: âvoid 
dump_format(AVFormatContext*, int, const char*, int)â is deprecated (declared 
at /usr/include/libavformat/avformat.h:1902) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:122:59: error: âCODEC_TYPE_VIDEOâ was 
not declared in this scope
clients/boblight-v4l/videograbber.cpp:138:13: warning: âint 
avcodec_open(AVCodecContext*, AVCodec*)â is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:138:49: warning: âint 
avcodec_open(AVCodecContext*, AVCodec*)â is deprecated (declared at 
/usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp: In member function âvoid 
CVideoGrabber::Run(volatile bool&, void*)â:
clients/boblight-v4l/videograbber.cpp:240:92: error: âavcodec_decode_videoâ 
was not declared in this scope
clients/boblight-v4l/videograbber.cpp: In member function âvoid 
CVideoGrabber::Cleanup()â:
clients/boblight-v4l/videograbber.cpp:370:5: warning: âvoid 
av_close_input_file(AVFormatContext*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
clients/boblight-v4l/videograbber.cpp:370:40: warning: âvoid 
av_close_input_file(AVFormatContext*)â is deprecated (declared at 
/usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
make[2]: *** [videograbber.o] Error 1
make[2]: Leaving directory `/home/xbmc/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/boblight-read-only'
make: *** [all] Error 2

Please provide any additional information below.
Ubuntu 12.04 LTS

Thanks for any assistance!

Original issue reported on code.google.com by davidfel...@gmail.com on 3 Feb 2014 at 12:50

GoogleCodeExporter commented 9 years ago
yep,

I have the same issue!! what is wrong 

thanks.

Original comment by 8mc...@gmail.com on 16 Oct 2014 at 9:41

GoogleCodeExporter commented 9 years ago
Those are ffmoeg errors, did you pass --with-ffmpeg to configure? Because 
ffmpeg changes their api so much I can't really keep up.

Original comment by bob.loo...@gmail.com on 14 Jan 2015 at 8:18