On 3/1/2012 11:06, Kyle wrote:
> I'm getting a imp error when trying to compile FFmpeg with MinGW-w64. 
> I'm trying to get libass enabled, which requires on fribidi.
> 
> Both of these packages compiled fine, but when trying to compile FFmpeg 
> I get this error:
> 
> /home/kyle/software/ffmpeg/packages/libass/libass-0.10.0-win32/lib/libass.a(ass_shaper.o):ass_shaper.c:(.text+0x140):
>  
> undefined reference to `__imp__fribidi_get_joining_types'
> /home/kyle/software/ffmpeg/packages/libass/libass-0.10.0-win32/lib/libass.a(ass_shaper.o):ass_shaper.c:(.text+0x168):
>  
> undefined reference to `__imp__fribidi_join_arabic'
> /home/kyle/software/ffmpeg/packages/libass/libass-0.10.0-win32/lib/libass.a(ass_shaper.o):ass_shaper.c:(.text+0x198):
>  
> undefined reference to `__imp__fribidi_shape'
> /home/kyle/software/ffmpeg/packages/libass/libass-0.10.0-win32/lib/libass.a(ass_shaper.o):ass_shaper.c:(.text+0x3f2):
>  
> undefined reference to `__imp__fribidi_get_bidi_types'
> /home/kyle/software/ffmpeg/packages/libass/libass-0.10.0-win32/lib/libass.a(ass_shaper.o):ass_shaper.c:(.text+0x434):
>  
> undefined reference to `__imp__fribidi_get_par_embedding_levels'
> /home/kyle/software/ffmpeg/packages/libass/libass-0.10.0-win32/lib/libass.a(ass_shaper.o):ass_shaper.c:(.text+0x696):
>  
> undefined reference to `__imp__fribidi_reorder_line'
> 
> The only __declspec(dllexport) I can find in fribidi is in lib/common.h:
> #if (defined(WIN32)) || (defined(_WIN32_WCE))
> # define FRIBIDI_ENTRY __declspec(dllexport)
> #endif /* WIN32 */
> 

You need to link to fribidi DLL, not static lib.



Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to