Page 1 of 1

Problems to compile VLC for WinCE

Posted: 20 Feb 2009 12:25
by Tanthalas
Hello, my name is Antonio and I am trying to compile VLC in Linux to install it in WindowsCE.

I have just configured the code, but I have problems when I try to compile it because it says that there are errors on the code.

Some of the errors are the following:

"../include/vlc_fixups.h:33: error: static declaration of 'strdup' follows non-static declaration
../include/vlc_fixups.h:119: error: conflicting types for 'lldiv_t'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/stdlib.h:469: error: previous declaration of 'lldiv_t' was here
../include/vlc_fixups.h:122: error: conflicting types for 'lldiv'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/stdlib.h:471: error: previous declaration of 'lldiv' was here
../include/vlc_fixups.h:135: warning: return type defaults to 'int'
../include/vlc_fixups.h:135: error: conflicting types for 'getenv'
"

I find strange that the code published by the development team had errors, so I think that maybe the problem is my compiler.

I would like to know if the problem is my compiler or everything is ok and I have to solve these errors.

Thanks a lot.

Re: Problems to compile VLC for WinCE

Posted: 20 Feb 2009 12:40
by Geal
Please follow the instructions on http://wiki.videolan.org/WinCECompile. We don't use arm-wince-pe anymore to build VLC for Windows CE.

Re: Problems to compile VLC for WinCE

Posted: 20 Feb 2009 13:05
by Tanthalas
Ok, thank you and sorry.