[Ffmpeg-devel] Re: for help

Alexey Sidelnikov avs99
Wed Dec 13 08:32:13 CET 2006


> Hi all:
>     First I successfully generate avcodec.lib,avformat.lib,avutil.lib and 
> the corresponding dll with the help of MinGW and MSYS.Secondly i 
> successfully compile ffmpeg.cpp and cmdutils.cpp in VC6.0,but it produce 
> the following errors when link:
> 
> Linking...
> ffmpeg.obj : error LNK2001: unresolved external symbol "int loop_input" 


Hi!

In ffmpeg.c try to wrap all includes into extern "C" { .. }:

extern "C"
{
#include "common.h"
#include "rational.h"
...
#include "cmdutils.h"
}

you also have to comment all calls to frame_hook* functions.


Hope that helps.

br,

Alexey
Regarding 





More information about the ffmpeg-devel mailing list