Why not use the http://ffmpeg.arrozcru.org/builds/ libs?
Sergej On Wed, Jan 14, 2009 at 11:32 AM, Rupesh Bhurke < [email protected]> wrote: > Hello, > > In another attempt at using libav, I have tried to use lib files built from > ffmpeg (using msys & mingw). I tried to compile apiexample.c provided in > "ffmpeg/libavcodec/" using MSVC 8.0. I am getting following errors: > > 1>------ Build started: Project: LibSampleApp, Configuration: Debug > Win32 ------ > 1>Linking... > 1>apiexample.obj : error LNK2019: unresolved external symbol > _avcodec_decode_audio referenced in function _audio_decode_example > 1>libavcodec.a(utils.o) : error LNK2019: unresolved external symbol > ___strtod referenced in function _av_parse_video_frame_rate > 1>libavcodec.a(eval.o) : error LNK2001: unresolved external symbol > ___strtod > 1>libavcodec.a(flacdsp_mmx.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(rv34.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(mdct.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(lpc.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(mpc.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(motion_est.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(error_resilience.o) : error LNK2001: unresolved external > symbol __alloca > 1>libavcodec.a(elbg.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(mpegaudio_parser.o) : error LNK2001: unresolved external > symbol __alloca > 1>libavcodec.a(snowdsp_mmx.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(eval.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(mpegvideo.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(tta.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(vorbis_enc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(vorbis_dec.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(adpcm.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(nellymoserenc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(qdm2.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(ra288.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(shorten.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(dca.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(flacenc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(flac.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(mpegaudiodec.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(vp6.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(ac3enc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(alacenc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(alac.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(snow.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(svq1enc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(svq1dec.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(vmdav.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(jpeglsenc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(mjpegdec.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(pcx.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(roqvideoenc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(huffyuv.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(mpegvideo_enc.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(4xm.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(fraps.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(dsputil_mmx.o) : error LNK2019: unresolved external symbol > __alloca referenced in function _gmc_mmx > 1>libavcodec.a(dsputil.o) : error LNK2001: unresolved external symbol > __alloca > 1>libavcodec.a(dv.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(ffv1.o) : error LNK2001: unresolved external symbol __alloca > 1>libavcodec.a(mpegvideo_enc.o) : error LNK2019: unresolved external symbol > ___udivdi3 referenced in function _ff_convert_matrix > 1>libavcodec.a(mpeg12enc.o) : error LNK2001: unresolved external symbol > ___udivdi3 > 1>libavcodec.a(qdm2.o) : error LNK2001: unresolved external symbol > ___udivdi3 > 1>libavutil.a(mathematics.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(wmaenc.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(h263.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(error_resilience.o) : error LNK2001: unresolved external > symbol ___divdi3 > 1>libavutil.a(rational.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(mpegvideo_enc.o) : error LNK2019: unresolved external symbol > ___divdi3 referenced in function _MPV_encode_picture > 1>libavcodec.a(h261enc.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(mpeg12enc.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(mpegaudiodec.o) : error LNK2001: unresolved external symbol > ___divdi3 > 1>libavcodec.a(mpeg12enc.o) : error LNK2019: unresolved external symbol > ___umoddi3 referenced in function _mpeg1_encode_picture_header > 1>libavcodec.a(roqvideoenc.o) : error LNK2019: unresolved external symbol > ___fixunsdfdi referenced in function _roq_encode_frame > 1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol > ___fixunsdfdi > 1>libavcodec.a(aac.o) : error LNK2019: unresolved external symbol _truncf > referenced in function _predict > 1>libavcodec.a(aac.o) : error LNK2019: unresolved external symbol _roundf > referenced in function _predict > 1>libavcodec.a(aac.o) : error LNK2019: unresolved external symbol _cbrtf > referenced in function _decode_ics > 1>libavcodec.a(atrac3.o) : error LNK2019: unresolved external symbol _round > referenced in function _atrac3_decode_frame > 1>libavcodec.a(nellymoserenc.o) : error LNK2019: unresolved external symbol > ___fpclassifyf referenced in function _encode_frame > 1>libavcodec.a(h263.o) : error LNK2019: unresolved external symbol > ___moddi3 > referenced in function _mpeg4_encode_picture_header > 1>libavcodec.a(elbg.o) : error LNK2001: unresolved external symbol > ___moddi3 > 1>libavutil.a(mathematics.o) : error LNK2001: unresolved external symbol > ___moddi3 > 1>libavcodec.a(ratecontrol.o) : error LNK2019: unresolved external symbol > ___fixunssfdi referenced in function _ff_rate_estimate_qscale > 1>libavcodec.a(mdct.o) : error LNK2019: unresolved external symbol _sinf > referenced in function _ff_sine_window_init > 1>libavutil.a(log.o) : error LNK2019: unresolved external symbol > ___mingw_vfprintf referenced in function _fprintf > 1>D:\Rupesh\RnD\Sandbox\libavcodec\lib\LibSampleApp\Debug\LibSampleApp.exe > : > fatal error LNK1120: 16 unresolved externals > 1>Build Time 0:01 > 1>Build log was saved at > > "file://d:\Rupesh\RnD\Sandbox\libavcodec\lib\LibSampleApp\LibSampleApp\Debug\BuildLog.htm" > 1>LibSampleApp - 75 error(s), 0 warning(s) > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== > > Can anybody please help me in getting past these errors ? > > Thank you. > > Best Regards, > Rupesh Bhurke > > _______________________________________________ > 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
