Page 1 of 1

Any guide to cross compiling Libx264 for WinCE?

Posted: 13 Oct 2010 13:30
by tdeepabh
Hi,

Can any one provide steps to create libx264 library for WinCE on ubuntu ?

many search lead to cross compiling FFMPEG , but none for Libx264. Has anyone did it, i will be a great support.

thanks in adv,
Deepabh

Re: Any guide to cross compiling Libx264 for WinCE?

Posted: 13 Oct 2010 17:07
by RĂ©mi Denis-Courmont
It should be similar to FFmpeg. But given that WinCE does not support ARM NEON, the result will most likely be ridiculously slow and therefore useless.

Re: Any guide to cross compiling Libx264 for WinCE?

Posted: 15 Oct 2010 12:45
by tdeepabh
I have installed Minw32ce on my system(ubuntu), and my configure looks like following

./configure --host=arm-mingw32ce --cross-prefix=/opt/mingw32ce/bin/arm-mingw32ce- --extra-cflags="-I/opt/mingw32ce/include" --extra-ldflags="-L/opt/mingw32ce/lib" --enable-shared --disable-asm

and when i run 'make', following error is reported

../../bin/arm-mingw32ce-gcc -O3 -fno-fast-math -Wall -I. -I/opt/mingw32ce/include -std=gnu99 -fPIC -s -fomit-frame-pointer -c -o common/mc.o common/mc.c
common/mc.c:166: warning: alignment of 'weight_none' is greater than maximum object file alignment. Using 8
/tmp/cc8WPxAA.s: Assembler messages:
/tmp/cc8WPxAA.s:999: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:2054: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:2293: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
/tmp/cc8WPxAA.s:4948: Error: attempt to get value of unresolved symbol `L0'
make: *** [common/mc.o] Error 1

Can anyone tell what could be the reason for this error

Re: Any guide to cross compiling Libx264 for WinCE?

Posted: 16 Oct 2010 07:29
by Jean-Baptiste Kempf
compiling x264 ?

Re: Any guide to cross compiling Libx264 for WinCE?

Posted: 18 Oct 2010 06:43
by tdeepabh
Yes..has anyone tried cross compiling this for wince?