From: Brendan M. <mc...@cs...> - 2006-02-12 21:37:25
|
Hi Jose, This could indeed be a bug. I do not have ffmpeg installed on my machine, so that particular error doesn't occur for me. If you don't need ffmpeg I suggest as a short term solution that you turn off the use of this library (if you use ccmake, scroll down until you find the ffmpeg library, then just edit it to be blank). On Sun, 2006-02-12 at 19:42 +0000, Jose Alexandre de Franca wrote: > Hi, folks! >=20 > I am trying to compile vxl 1.4.0. I have a problem with the mpeg2 modul= e.=20 > There are several error messages in this compilation (see below). >=20 > I can to compile vxl 1.3.0. The problem is in this new version. >=20 > I am in a GNU/Linux box, with Ubuntu 5.10 and gcc 4.0. >=20 > Someone can help me? >=20 > Regards > Jose A. de Fran=C3=A7a > DEEL-CTU-UEL > Brazil >=20 > Building object file vidl_vob_frame_index.o... > Building object file vidl_file_sequence.o... > Building object file vidl_codec.o... > Building object file vidl_clip.o... > Building object file vidl_movie.o... > Building object file vidl_frame.o... > Building object file vidl_frame_resource.o... > Building object file vidl_image_list_codec.o... > Building object file vidl_io.o... > Building object file vidl_mpegcodec.o... > Building object file vidl_mpegcodec_helper.o... > Building object file vidl_ffmpeg_codec.o... > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98virtual bool vidl_ffmpeg_codec::probe(const std::string&)=E2=80= =99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:62: error: can= not=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 in initialization > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:73: error: can= not=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 in initialization > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98bool vidl_ffmpeg_codec::open(const std::string&, char)=E2=80=99= : > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:128: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 in initialization > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:141: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 in initialization > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:147: error: =E2= =80=98struct=20 > AVCodecContext=E2=80=99 has no member named =E2=80=98frame_rate=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:147: error: =E2= =80=98struct=20 > AVCodecContext=E2=80=99 has no member named =E2=80=98frame_rate_base=E2= =80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:148: error: =E2= =80=98struct=20 > AVCodecContext=E2=80=99 has no member named =E2=80=98frame_rate_base=E2= =80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:155: error: re= quest=20 > for member =E2=80=98width=E2=80=99 in=20 > =E2=80=98((vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_->AVStr= eam::codec=E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:156: error: re= quest=20 > for member =E2=80=98height=E2=80=99 in=20 > =E2=80=98((vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_->AVStr= eam::codec=E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98virtual void vidl_ffmpeg_codec::close()=E2=80=99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:182: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 for argument =E2=80=981=E2=80=99 to =E2=80=98int=20 > avcodec_close(AVCodecContext*)=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98vil_image_view<vxl_byte> vidl_ffmpeg_codec::cur_frame() const=E2= =80=99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:215: error: re= quest=20 > for member =E2=80=98width=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:216: error: re= quest=20 > for member =E2=80=98height=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:221: error: re= quest=20 > for member =E2=80=98pix_fmt=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type=20 > =E2=80=98AVCodecContext*=E2=80=99/usr/local/vxl/vxl-1.4.0/core/vidl/vid= l_ffmpeg_codec.cxx:230:=20 > error: request for member =E2=80=98pix_fmt=E2=80=99 in =E2=80=98((AVStr= eam*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type=20 > =E2=80=98AVCodecContext*=E2=80=99/usr/local/vxl/vxl-1.4.0/core/vidl/vid= l_ffmpeg_codec.cxx:239:=20 > error: request for member =E2=80=98codec_id=E2=80=99 in =E2=80=98((AVSt= ream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98int vidl_ffmpeg_codec::cur_frame_num() const=E2=80=99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:265: error: no= =20 > match for =E2=80=98operator*=E2=80=99 in =E2=80=98(((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::last_dts - ((AVStream*)((c= onst=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::start= _time)=20 > * ((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::r_fra= me_rate=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:266: error: =E2= =80=98struct=20 > AVStream=E2=80=99 has no member named =E2=80=98r_frame_rate_base=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98int vidl_ffmpeg_codec::count_frames() const=E2=80=99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:296: error: re= quest=20 > for member =E2=80=98codec_id=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:298: error: re= quest=20 > for member =E2=80=98pix_fmt=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type=20 > =E2=80=98AVCodecContext*=E2=80=99/usr/local/vxl/vxl-1.4.0/core/vidl/vid= l_ffmpeg_codec.cxx:299:=20 > error: request for member =E2=80=98width=E2=80=99 in =E2=80=98((AVStrea= m*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:300: error: re= quest=20 > for member =E2=80=98height=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:306: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 for argument =E2=80=981=E2=80=99 to =E2=80=98int=20 > avcodec_decode_video(AVCodecContext*, AVFrame*, int*, uint8_t*, int)=E2= =80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:316: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 for argument =E2=80=981=E2=80=99 to =E2=80=98int=20 > avcodec_decode_video(AVCodecContext*, AVFrame*, int*, uint8_t*, int)=E2= =80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98bool vidl_ffmpeg_codec::advance() const=E2=80=99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:354: error: re= quest=20 > for member =E2=80=98codec_id=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:356: error: re= quest=20 > for member =E2=80=98pix_fmt=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type=20 > =E2=80=98AVCodecContext*=E2=80=99/usr/local/vxl/vxl-1.4.0/core/vidl/vid= l_ffmpeg_codec.cxx:357:=20 > error: request for member =E2=80=98width=E2=80=99 in =E2=80=98((AVStrea= m*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:358: error: re= quest=20 > for member =E2=80=98height=E2=80=99 in =E2=80=98((AVStream*)((const=20 > vidl_ffmpeg_codec*)this)->vidl_ffmpeg_codec::vid_str_)->AVStream::codec= =E2=80=99,=20 > which is of non-class type =E2=80=98AVCodecContext*=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:364: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 for argument =E2=80=981=E2=80=99 to =E2=80=98int=20 > avcodec_decode_video(AVCodecContext*, AVFrame*, int*, uint8_t*, int)=E2= =80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:376: error: ca= nnot=20 > convert =E2=80=98AVCodecContext**=E2=80=99 to =E2=80=98AVCodecContext*=E2= =80=99 for argument =E2=80=981=E2=80=99 to =E2=80=98int=20 > avcodec_decode_video(AVCodecContext*, AVFrame*, int*, uint8_t*, int)=E2= =80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:377: error: =E2= =80=98struct=20 > AVStream=E2=80=99 has no member named =E2=80=98r_frame_rate_base=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx: In member fun= ction=20 > =E2=80=98bool vidl_ffmpeg_codec::seek(unsigned int) const=E2=80=99: > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:399: error: =E2= =80=98struct=20 > AVStream=E2=80=99 has no member named =E2=80=98r_frame_rate_base=E2=80=99 > /usr/local/vxl/vxl-1.4.0/core/vidl/vidl_ffmpeg_codec.cxx:400: error: =E2= =80=98struct=20 > AVStream=E2=80=99 has no member named =E2=80=98r_frame_rate_base=E2=80=99 > make[5]: ** [vidl_ffmpeg_codec.o] Erro 1 > make[4]: ** [default_target] Erro 2 > make[3]: ** [default_target_vidl] Erro 2 > make[2]: ** [default_target] Erro 2 > make[1]: ** [default_target_core] Erro 2 > make: ** [default_target] Erro 2 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log = files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users --=20 Cheers, Brendan |