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.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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
