Many linker errors when trying to build with FFMPEG

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Pixel3D
Posts: 0
Joined: Tue Jan 23, 2007 9:29 am

Many linker errors when trying to build with FFMPEG

Post by Pixel3D » Tue Mar 17, 2009 6:08 am

Hello.

I've run into a problem building Blender on Cygwin (mingw) with make.

I'm using the 2.48a release source, with a patch I made for resolving other build issues with make on this platform.

When I try to build with FFMPEG (WITH_FFMPEG=true, NAN_USE_FFMPEG_CONFIG=true) I get a huge number of linker errors --

Code: Select all

Warning: resolving _select by linking to _select@20
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
/cygdrive/c/build/blender/obj/windows/blender/blenkernel/libblenkernel.a(writeffmpeg.o):writeffmpeg.c:(.text+0xa65): undefined reference to `_sws_getContext'
/cygdrive/c/build/blender/obj/windows/blender/blenkernel/libblenkernel.a(writeffmpeg.o):writeffmpeg.c:(.text+0x1234): undefined reference to `_sws_freeContext'
/cygdrive/c/build/blender/obj/windows/blender/blenkernel/libblenkernel.a(writeffmpeg.o):writeffmpeg.c:(.text+0x13dd): undefined reference to `_sws_scale'
/cygdrive/c/build/blender/obj/windows/blender/imbuf/libimbuf.a(anim.o):anim.c:(.text+0x192): undefined reference to `_sws_freeContext'
/cygdrive/c/build/blender/obj/windows/blender/imbuf/libimbuf.a(anim.o):anim.c:(.text+0xd9d): undefined reference to `_sws_scale'
/cygdrive/c/build/blender/obj/windows/blender/imbuf/libimbuf.a(anim.o):anim.c:(.text+0xfdd): undefined reference to `_sws_scale'
/cygdrive/c/build/blender/obj/windows/blender/imbuf/libimbuf.a(anim.o):anim.c:(.text+0x1350): undefined reference to `_sws_getContext'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `av_add_index_entry':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:1022: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `av_read_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:914: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `av_gen_search':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:1195: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `av_seek_frame_binary':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:1118: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:1111: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o):/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:1115: more undefined references to `___assert' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `codec_get_id':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:1714: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `av_get_frame_filename':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:2756: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(utils.o): In function `parse_date':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/utils.c:2653: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(cutils.o): In function `date_get_num':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/cutils.c:106: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(img2.o): In function `av_str2id':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/img2.c:101: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(avio.o):/cygdrive/c/build/blender/extern/ffmpeg/libavformat/avio.c:55: more undefined references to `__imp___ctype_' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(asf-enc.o): In function `flush_packet':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/asf-enc.c:597: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/asf-enc.c:544: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(asf-enc.o): In function `asf_write_packet':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/asf-enc.c:735: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(asf.o): In function `asf_read_packet':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/asf.c:735: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/asf.c:724: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(asf.o):/cygdrive/c/build/blender/extern/ffmpeg/libavformat/asf.c:858: more undefined references to `___assert' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(audio.o): In function `audio_open':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:83: undefined reference to `_ioctl'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:115: undefined reference to `_ioctl'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:122: undefined reference to `_ioctl'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:131: undefined reference to `_ioctl'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:71: undefined reference to `_fcntl'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(audio.o): In function `audio_write_packet':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:187: undefined reference to `___errno'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:187: undefined reference to `___errno'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(audio.o): In function `audio_read_packet':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:271: undefined reference to `___errno'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:271: undefined reference to `___errno'
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:265: undefined reference to `___errno'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(audio.o):/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:265: more undefined references to `___errno' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(audio.o): In function `audio_read_packet':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/audio.c:281: undefined reference to `_ioctl'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(swf.o): In function `put_swf_end_tag':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/swf.c:128: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a(oggparsevorbis.o): In function `vorbis_comment':
/cygdrive/c/build/blender/extern/ffmpeg/libavformat/oggparsevorbis.c:84: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavutil.a(mem.o): In function `av_malloc':
/cygdrive/c/build/blender/extern/ffmpeg/libavutil/mem.c:61: undefined reference to `_memalign'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavutil.a(log.o): In function `av_log_default_callback':
/cygdrive/c/build/blender/extern/ffmpeg/libavutil/log.c:45: undefined reference to `___getreent'
/cygdrive/c/build/blender/extern/ffmpeg/libavutil/log.c:39: undefined reference to `___getreent'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavutil.a(string.o): In function `av_stristart':
/cygdrive/c/build/blender/extern/ffmpeg/libavutil/string.c:40: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(utils.o): In function `avcodec_string':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/utils.c:1099: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(utils.o): In function `av_tempfile':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/utils.c:1384: undefined reference to `_mkstemp'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/utils.c:1387: undefined reference to `_mkstemp'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(opt.o): In function `av_set_string':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/opt.c:134: undefined reference to `___isnand'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(pthread.o): In function `avcodec_thread_free':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/pthread.c:96: undefined reference to `_pthread_mutex_destroy'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/pthread.c:97: undefined reference to `_pthread_cond_destroy'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/pthread.c:98: undefined reference to `_pthread_cond_destroy'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(pthread.o): In function `avcodec_thread_init':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/pthread.c:151: undefined reference to `_pthread_cond_init'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/pthread.c:152: undefined reference to `_pthread_cond_init'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/pthread.c:153: undefined reference to `_pthread_mutex_init'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(eval.o): In function `ff_parse':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/eval.c:388: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(cscd.o): In function `decode_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/cscd.c:161: undefined reference to `_lzo1x_decode'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(nuv.o): In function `decode_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/nuv.c:168: undefined reference to `_lzo1x_decode'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(roqvideoenc.o): In function `roq_encode_init':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/roqvideoenc.c:929: undefined reference to `_av_init_random'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(snow.o): In function `slice_buffer_load_line':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/snow.c:532: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(snow.o): In function `slice_buffer_release':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/snow.c:552: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/snow.c:553: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(snow.o): In function `encode_subband':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/snow.c:1482: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/snow.c:1485: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(snow.o):/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/snow.c:693: more undefined references to `___assert' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(ac3dec.o): In function `ac3_decode_init':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ac3dec.c:316: undefined reference to `_av_init_random'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(ac3dec.o): In function `get_transform_coeffs_ch':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/../libavutil/random.h:45: undefined reference to `_av_random_generate_untempered_numbers'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(cook.o): In function `scalar_dequant_float':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/../libavutil/random.h:45: undefined reference to `_av_random_generate_untempered_numbers'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(cook.o): In function `cook_decode_init':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/cook.c:1069: undefined reference to `_av_init_random'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(flacenc.o): In function `flac_encode_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flacenc.c:759: undefined reference to `_av_init_lls'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flacenc.c:775: undefined reference to `_av_update_lls'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flacenc.c:777: undefined reference to `_av_solve_lls'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flacenc.c:767: undefined reference to `_av_evaluate_lls'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(flac.o): In function `allocate_buffers':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flac.c:132: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(flac.o): In function `flac_decode_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flac.c:695: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flac.c:691: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/flac.c:693: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(mpc.o): In function `mpc7_decode_init':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/mpc.c:83: undefined reference to `_av_init_random'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(mpc.o): In function `mpc7_decode_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/../libavutil/random.h:45: undefined reference to `_av_random_generate_untempered_numbers'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(shorten.o): In function `shorten_decode_frame':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/../libavutil/common.h:214: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(vorbis_enc.o): In function `put_vector':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/vorbis_enc.c:170: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/vorbis_enc.c:171: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/vorbis_enc.c:172: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/vorbis_enc.c:784: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(vorbis_enc.o):/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/vorbis_enc.c:217: more undefined references to `___assert' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(mpegvideo.o): In function `MPV_common_init':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/mpegvideo.c:468: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/mpegvideo.c:473: undefined reference to `__imp___ctype_'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(motion_est.o): In function `hpel_motion_search':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/motion_est.c:124: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(motion_est.o): In function `hpel_motion_search':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/motion_est_template.c:168: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/motion_est_template.c:170: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/motion_est_template.c:172: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/motion_est_template.c:174: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(motion_est.o):/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/motion_est.c:124: more undefined references to `___assert' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(ratecontrol.o): In function `get_qscale':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:345: undefined reference to `___isnand'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(ratecontrol.o): In function `get_qminmax':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:416: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(ratecontrol.o): In function `ff_rate_estimate_qscale':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:730: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:791: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:785: undefined reference to `___assert'
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:697: undefined reference to `___assert'
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(ratecontrol.o):/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/ratecontrol.c:698: more undefined references to `___assert' follow
/cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a(elbg.o): In function `ff_do_elbg':
/cygdrive/c/build/blender/extern/ffmpeg/libavcodec/../libavutil/random.h:45: undefined reference to `_av_random_generate_untempered_numbers'
collect2: ld returned 1 exit status
make[1]: *** [/cygdrive/c/build/blender/obj/windows/bin/blender.exe] Error 1
make: *** [all] Error 1 
and here's the linker line --

Code: Select all

g++  -mwindows -mno-cygwin -mconsole -o /cygdrive/c/build/blender/obj/windows/bin/blender.exe /cygdrive/c/build/blender/obj/windows/buildinfo.o    /cygdrive/c/build/blender/obj/windows/creator/libcreator.a /cygdrive/c/build/blender/obj/windows/blender/src/libsrcpublisher.a /cygdrive/c/build/blender/../lib/windows/bsp/lib/libbsp.a /cygdrive/c/build/blender/../lib/windows/boolop/lib/libboolop.a /cygdrive/c/build/blender/../lib/windows/SoundSystem/lib/libSoundSystem.a /cygdrive/c/build/blender/../lib/windows/ghost/lib/libghost.a /cygdrive/c/build/blender/../lib/windows/string/lib/libstring.a /cygdrive/c/build/blender/obj/windows/blender/render/librender.a /cygdrive/c/build/blender/obj/windows/blender/radiosity/libradiosity.a /cygdrive/c/build/blender/../lib/windows/opennl/lib/libopennl.a /cygdrive/c/build/blender/../lib/windows/superlu/lib/libsuperlu.a      /cygdrive/c/build/blender/obj/windows/blender/python/libpython.a /cygdrive/c/build/blender/obj/windows/blender/blenkernel/libblenkernel.a /cygdrive/c/build/blender/../lib/windows/decimation/lib/libdecimation.a /cygdrive/c/build/blender/obj/windows/blender/blenloader/libblenloader.a /cygdrive/c/build/blender/obj/windows/blender/blenpluginapi/libblenpluginapi.a /cygdrive/c/build/blender/obj/windows/blender/nodes_shd/libnodes_shd.a /cygdrive/c/build/blender/obj/windows/blender/nodes_cmp/libnodes_cmp.a /cygdrive/c/build/blender/obj/windows/blender/nodes/libnodes.a /cygdrive/c/build/blender/obj/windows/blender/imbuf/libimbuf.a /cygdrive/c/build/blender/obj/windows/blender/blenlib/libblenlib.a /cygdrive/c/build/blender/../lib/windows/iksolver/lib/libiksolver.a /cygdrive/c/build/blender/../lib/windows/opennl/lib/libopennl.a /cygdrive/c/build/blender/../lib/windows/superlu/lib/libsuperlu.a    /cygdrive/c/build/blender/obj/windows/blender/avi/libavi.a /cygdrive/c/build/blender/../lib/windows/jpeg/lib/libjpeg.a /cygdrive/c/build/blender/obj/windows/blender/gpu/libgpu.a /cygdrive/c/build/blender/../lib/windows/glew/lib/libglew.a /cygdrive/c/build/blender/obj/windows/gameengine/bloutines/libbloutines.a /cygdrive/c/build/blender/obj/windows/gameengine/blconverter/libblconverter.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/common/libcommon.a /cygdrive/c/build/blender/obj/windows/gameengine/ketsji/libketsji.a /cygdrive/c/build/blender/obj/windows/gameengine/blconverter/libblconverter.a /cygdrive/c/build/blender/obj/windows/gameengine/blconverter/libblconverter.a /cygdrive/c/build/blender/../lib/windows/gcc/solid/lib/libsolid.a /cygdrive/c/build/blender/../lib/windows/gcc/solid/lib/libsolid_broad.a  /cygdrive/c/build/blender/../lib/windows/gcc/solid/lib/libsolid_complex.a /cygdrive/c/build/blender/../lib/windows/gcc/solid/lib/libsolid_convex.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/sumo/libsumo.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/fuzzics/libfuzzics.a /cygdrive/c/build/blender/../lib/windows/gcc/qhull/lib/libqhull.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/dummy/libdummy.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/common/libcommon.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/dummy/libdummy.a /cygdrive/c/build/blender/obj/windows/gameengine/ketsji/libketsji.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/common/libcommon.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/dummy/libdummy.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/blbullet/libblbullet.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/common/libcommon.a /cygdrive/c/build/blender/obj/windows/gameengine/blphys/dummy/libdummy.a /cygdrive/c/build/blender/obj/windows/gameengine/ketsji/libketsji.a /cygdrive/c/build/blender/obj/windows/gameengine/logic/liblogic.a /cygdrive/c/build/blender/obj/windows/gameengine/logic/Joystick/libJoystick.a /cygdrive/c/build/blender/obj/windows/gameengine/rasterizer/librasterizer.a /cygdrive/c/build/blender/obj/windows/gameengine/OpenGLrasterizer/libOpenGLrasterizer.a /cygdrive/c/build/blender/obj/windows/gameengine/expression/libexpression.a /cygdrive/c/build/blender/obj/windows/gameengine/scenegraph/libscenegraph.a /cygdrive/c/build/blender/../lib/windows/moto/lib/libmoto.a /cygdrive/c/build/blender/obj/windows/intern/SoundSystem/libSoundSystem.a /cygdrive/c/build/blender/obj/windows/intern/DummySoundSystem/libDummySoundSystem.a /cygdrive/c/build/blender/obj/windows/intern/OpenALSoundSystem/libOpenALSoundSystem.a /cygdrive/c/build/blender/obj/windows/intern/SDLSoundSystem/libSDLSoundSystem.a /cygdrive/c/build/blender/../lib/windows/openal/lib/openal_static.lib  /cygdrive/c/build/blender/obj/windows/intern/SoundSystem/libSoundSystem.a /cygdrive/c/build/blender/obj/windows/kernel/gen_system/libgen_system.a /cygdrive/c/build/blender/obj/windows/kernel/gen_messaging/libgen_messaging.a /cygdrive/c/build/blender/obj/windows/gameengine/ketsji/KXNetwork/libKXNetwork.a /cygdrive/c/build/blender/obj/windows/gameengine/Network/libNetwork.a /cygdrive/c/build/blender/obj/windows/gameengine/Network/LoopBackNetwork/libLoopBackNetwork.a /cygdrive/c/build/blender/../lib/windows/bullet2/lib/libbullet2.a /cygdrive/c/build/blender/../lib/windows/guardedalloc/lib/libguardedalloc.a /cygdrive/c/build/blender/../lib/windows/memutil/lib/libmemutil.a /cygdrive/c/build/blender/../lib/windows/bmfont/lib/libbmfont.a /cygdrive/c/build/blender/../lib/windows/png/lib/libpng.a /cygdrive/c/build/blender/obj/windows/blender/yafray/libyafrayexport.a /cygdrive/c/build/blender/obj/windows/blender/blenlib/libblenlib.a /cygdrive/c/build/blender/obj/windows/blender/imbuf/openexr/libopenexr.a /cygdrive/c/build/blender/obj/windows/blender/imbuf/cineon/libcineon.a /cygdrive/c/build/blender/obj/windows/blender/imbuf/dds/libdds.a /cygdrive/c/build/blender/obj/windows/blender/ftfont/libftfont.a /cygdrive/c/build/blender/../lib/windows/gcc/ftgl/lib/libftgl.a /cygdrive/c/build/blender/../lib/windows/gcc/freetype/lib/libfreetype.a /cygdrive/c/build/blender/../lib/windows/gcc/sdl/lib/libSDL.a /cygdrive/c/build/blender/../lib/windows/pthreads/lib/libpthreadGC2.a /cygdrive/c/build/blender/../lib/windows/gcc/openexr/lib/libIlmImf.a /cygdrive/c/build/blender/../lib/windows/gcc/openexr/lib/libHalf.a /cygdrive/c/build/blender/../lib/windows/gcc/openexr/lib/libIex.a /cygdrive/c/build/blender/../lib/windows/moto/lib/libmoto.a /cygdrive/c/build/blender/../lib/windows/elbeem/lib/libelbeem.a /cygdrive/c/build/blender/obj/windows/blender/readblenfile/libreadblenfile.a /cygdrive/c/build/blender/obj/windows/blender/src/libsrcpublisher.a /cygdrive/c/build/blender/obj/windows/blender/icons/winblender.res /cygdrive/c/build/blender/../lib/windows/zlib/lib/libz.a  /cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavformat.a /cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavutil.a /cygdrive/c/build/blender/../lib/windows/gcc/ffmpeg/lib/libavcodec.a /cygdrive/c/build/blender/../lib/windows/gettext/lib/freegettext.a /cygdrive/c/build/blender/../lib/windows/iconv/lib/freeiconv.a /cygdrive/c/build/blender/../lib/windows/python/lib/lib25_vs2005/libpython25.a -L/usr/lib/w32api -lnetapi32 -lopengl32 -lglu32 -lshfolder -L/usr/lib/w32api -lwinmm -lwsock32 
I believe some of the errors may be from missing libs (I don't think libswscale.a is in the line.), but all the errors related to '___assert' and '__imp___ctype_', among others, are puzzling.

I noticed that g++ is calling the linker, but that the FFMPEG directory included in the blender source was being built with gcc (I don't think the FFMPEG build commands had -mno-cygwin in the flags, either.)

I would really appreciate some help sorting this out. :)

Post Reply