On Thu, Apr 17, 2008 at 9:21 AM, Ola Mogstad <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> > undefined reference to `sws_scale'
> > undefined reference to `sws_getContext'
>
> Looks like the swscale library isn't linking correctly.
>
> > I didn't get these errors before the update. I compile my project with
> > "-lSDL -lSDL_image -lavutil -lavformat -lavcodec -lz" options for
> > ffmpeg and SDL , and I use
> > extern "C"
> > {
> > #include "libavcodec/avcodec.h"
> > #include "libavformat/avformat.h"
> > #include "libswscale/swscale.h"
> > }
> > for my includes.
>
>
> Indeed. It looks like you are forgetting -lswscale, which is necessary if
> you're including swscale.h.
>
> Cheers,
> Ola
>
>
> >
> > Now I have installed on my system : ffmpeg, libffmpeg0 and
> > libffmpeg-devel, all are at the 0.4.8-12823 version. If anyone have an
> ideea
> > about
> > how can i resolve these errors.. please tell me. :)
> >
> > PS. I had ffmpeg.0.4.9.12153 and ffmpeg-devel0.4.9.12153 downloaded
> > from videolan site, but now I can't find them anymore.
> >
> > Thanks.
> > _______________________________________________
> > libav-user mailing list
> > [email protected]
> > https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user


Thanks , that was the problem, I can't believe that I was so stupid. It is
working very well now.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to