Hi,
Here are the exact list of warnings/errors.
1>AveVideoControl.exp : warning LNK4078: multiple '.drectve' sections found
with different attributes (00000200)
1>libavcodec.a(utils.o) : warning LNK4217: locally defined symbol _isprint
imported in function _av_get_codec_tag_string
1>libx264.a(common.o) : warning LNK4217: locally defined symbol __iob
imported in function _x264_log_default
1>libavutil.a(log.o) : warning LNK4049: locally defined symbol __iob
imported
1>libx264.a(common.o) : warning LNK4217: locally defined symbol __stricmp
imported in function _x264_param_parse
1>libx264.a(common.o) : warning LNK4217: locally defined symbol __strnicmp
imported in function _x264_param_default_preset
1>libmingwex.a(wcrtomb.o) : warning LNK4217: locally defined symbol
___lc_codepage imported in function _wcsrtombs
1>libmingwex.a(mbrtowc.o) : warning LNK4049: locally defined symbol
___lc_codepage imported
1>libmingwex.a(wcrtomb.o) : warning LNK4217: locally defined symbol
___mb_cur_max imported in function _wcsrtombs
1>libmingwex.a(mbrtowc.o) : warning LNK4049: locally defined symbol
___mb_cur_max imported
1>libavutil.a(eval.o) : warning LNK4217: locally defined symbol _isspace
imported in function _av_expr_parse
1>libavcodec.a(utils.o) : error LNK2019: unresolved external symbol
__imp__toupper referenced in function _ff_toupper4
1>libavutil.a(dict.o) : error LNK2001: unresolved external symbol
__imp__toupper
1>libavutil.a(avstring.o) : error LNK2001: unresolved external symbol
__imp__toupper
1>libx264.a(encoder.o) : error LNK2019: unresolved external symbol
__imp___fstat referenced in function _x264_encoder_open_118
1>libx264.a(ratecontrol.o) : error LNK2001: unresolved external symbol
__imp___fstat
1>libavutil.a(log.o) : error LNK2019: unresolved external symbol
__imp___vsnprintf referenced in function _av_log_default_callback
1>libavutil.a(avstring.o) : error LNK2001: unresolved external symbol
__imp___vsnprintf
1>.\ReleaseMinDependency\AveVideoControl.dll : warning LNK4088: image being
generated due to /FORCE option; image may not run
Thanks,
Shiju
On Thu, Nov 3, 2011 at 3:17 PM, JonY <[email protected]> wrote:
> On 11/3/2011 13:04, Shiju Sasi wrote:
> > Hi I build my Windows 32 bit DLL on Vista machine. This DLL works in a
> > browser context to render Video using H264 video. I use x264 and ffmpeg
> > libraries. My deployment can be any Windows machine ( Vista, 7, XP etc)
> >
> > I configured x264 using
> >
> > ./configure --cross-prefix=i686-w64-mingw32- --enable-shared
> > --disable-swscale --disable-ffms --disable-asm --disable-thread
> >
> > Then did the make.
> >
> > Then I configured ffmpeg using.
> >
> >
> > ./configure --enable-cross-compile
> > --cross-prefix=i686-w64-mingw32- --enable-shared --disable-pthreads
> > --arch=x86_32 --enable-postproc --enable-avfilter --disable-armv5te
> > --disable-ffplay --disable-ffserver --disable-ffprobe --disable-doc
> > --disable-debug --disable-encoders --disable-muxers --disable-neon
> > --disable-pic --disable-decoders --enable-decoder=h264 --disable-bsfs
> > --disable-protocols --disable-parsers --enable-parser=h264
> > --disable-filters --disable-demuxers
> > then did make.
> >
> > Now my application DLL, I built using /MT so as to avoid any CRT mess up
> in
> > the deployed machine. But the build fails with 3 linker errors -
> >
>
> Do not use /MT. use /MD instead, mingw has not been designed to handle
> static CRT since its inception, that is unless MS releases their C
> runtime with an OSS compatible license.
>
> > *unresolved external symbol __imp__toupper , *
> > *
> >
> > unresolved external symbol __imp___fstat,
> >
> > and
> >
> > unresolved external symbol __imp___vsnprintf
> >
>
> Please do not hide any errors and post all of them, eg which object is
> requiring them.
>
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public