[vlc] Re: Compiling to Windows CE

Cool_Zer0 c00jz3r0 at gmail.com
Thu Jan 11 21:23:35 CET 2007


I've solved the question... I need to make "export" of CFLAGS, LDFLAGS, 
PATH and CC.
Now I'm having problems on the compilation...


 vlc-trunk]# ./compile
export MACOSX_DEPLOYMENT_TARGET=
MAKE     : intl
MAKE     : loader
MAKE     : src
creating new ../src/misc/modules_builtin.h
creating new ../src/misc/version.c
( cd . && cat ../include/iso_lang.h ../include/main.h ../include/mmx.h 
../include/vlc_modules.h ../include/vlc_modules_macros.h 
../include/vlc_os_specific.h ../include/vlc_mtime.h 
../include/vlc_network.h ../include/vlc_codecs.h 
../include/vlc_configuration.h ../include/vlc_charset.h 
../include/vlc_sout.h ../include/vlc_streaming.h 
../include/vlc_variables.h ../include/vlc_aout.h ../include/vlc_access.h 
../include/vlc_arrays.h ../include/vlc_acl.h ../include/vlc_bits.h 
../include/vlc_block.h ../include/vlc_block_helper.h 
../include/vlc_codec.h ../include/vlc_common.h ../include/vlc_config.h 
../include/vlc_demux.h ../include/vlc_es.h ../include/vlc_es_out.h 
../include/vlc_filter.h ../include/vlc_config_cat.h 
../include/vlc_httpd.h ../include/vlc_tls.h ../include/vlc_md5.h 
../include/vlc_devices.h ../include/vlc_image.h ../include/vlc_input.h 
../include/vlc_interface.h ../include/vlc_intf_strings.h 
../include/vlc_keys.h ../include/vlc_messages.h ../include/vlc_meta.h 
../include/vlc_objects.h ../include/vlc_osd.h ../include/vlc_playlist.h 
../include/vlc_stream.h ../include/vlc_strings.h 
../include/vlc_symbols.h ../include/vlc_threads_funcs.h 
../include/vlc_threads.h ../include/vlc_update.h ../include/vlc_url.h 
../include/vlc_vout.h ../include/vlc_vlm.h ../include/vlc_vod.h 
../include/vlc_xml.h ../include/vlc_vout_synchro.h  ) | \
  top_srcdir=".." perl ../vlc-api.pl
 COMPILE : libvlc.c
WARNING : <command line>:1: 1:  "main" redefined
WARNING : <command line>:1: 1:  this is the location of the previous 
definition
In file included from ../include/vlc/vlc.h:155,
                 from libvlc.c:38:
ERROR   : ../include/vlc_common.h:451: 22:  sys/stat.h: No such file or 
directory
ERROR   : ../include/vlc_common.h:980: 23:  dirent.h: No such file or 
directory
WARNING : ../include/vlc_common.h:987: 1:  "opendir" redefined
WARNING : ../include/vlc_common.h:958: 1:  this is the location of the 
previous definition
WARNING : ../include/vlc_common.h:988: 1:  "readdir" redefined
WARNING : ../include/vlc_common.h:959: 1:  this is the location of the 
previous definition
WARNING : ../include/vlc_common.h:989: 1:  "closedir" redefined
WARNING : ../include/vlc_common.h:960: 1:  this is the location of the 
previous definition
WARNING : ../include/vlc_common.h:993: 1:  "rewinddir" redefined
WARNING : ../include/vlc_common.h:961: 1:  this is the location of the 
previous definition
make: *** [all] Error 2



Any help?


Cool_Zer0 wrote:
> Just one more information
>
> This is part of INSTALL.wince:
>
> Depending on your needs you will have to compile/install some or all 
> of these
> external libraries.
>
> They can be found here (source code):
> http://download.videolan.org/pub/testing/contrib/
>
> We also provide a package with all the libraries already compiled so it is
> actually really easy to compile a full-featured version of vlc:
> http://download.videolan.org/pub/testing/wince/contrib-20050220-wince-xscale-bin.tar.bz2 
> (Check out fo more recent versions at the same location).
>
> All you need to do is extract it in your root directory (the include 
> files
> and libraries will be put in /usr/local/wince/contrib-xscale).
> You can do this with the following command:
>
>   tar xjvf contrib-20050220-wince-xscale-bin.tar.bz2 -C /
>
>
> ==============0
>
> I'm using the .bz2 that has all the libraries need compiled... I 
> though it was easy that way...
>
>
>
> On 1/11/07, *Cool_Zer0* <c00jz3r0 at gmail.com 
> <mailto:c00jz3r0 at gmail.com>> wrote:
>
>     Hi.
>
>     Thanks for replying.
>     You make me lost :(
>     Can you explain me how to apply that patch and how can I get the
>     version
>     that the patch applies to?
>
>     Thanks
>
>
>     Pierre ROULLET wrote:
>     > the best is to restart from the patch
>     >
>     >
>     http://trac.videolan.org/vlc/browser/trunk/extras/contrib/src/Patches/ffmpeg-cvs-wince.patch?rev=14305
>     <http://trac.videolan.org/vlc/browser/trunk/extras/contrib/src/Patches/ffmpeg-cvs-wince.patch?rev=14305>
>     >
>     >
>     > and recompile it
>     >
>     >
>     > Cool_Zer0 a écrit :
>     >> Hi there,
>     >>
>     >> I'm trying to compile VLC to Windows CE platform because I'm
>     >> interested in knowing how do you compile FFMPEG to that platform.
>     >> I'm following the guide on
>     >> http://trac.videolan.org/vlc/browser/trunk/INSTALL.wince.
>     >>
>     >> When I'm making ./configure the following warnings appear:
>     >>
>     >> (...)
>     >> checking for ffmpeg-config... no
>     >> checking for libavcodec... Package libavcodec was not found in the
>     >> pkg-config search path.
>     >> Perhaps you should add the directory containing `libavcodec.pc'
>     >> to the PKG_CONFIG_PATH environment variable
>     >> No package 'libavcodec' found
>     >> checking ffmpeg/avcodec.h usability... no
>     >> checking ffmpeg/avcodec.h presence... no
>     >> checking for ffmpeg/avcodec.h... no
>     >> configure: error: Missing header file ffmpeg/avcodec.h.
>     >> [vlc-0.8.6]#
>     >>
>     >>
>     >> That are other warnings related to pkg_config_path.
>     >> I've been looking and I don't have any libavcodec.pc
>     >>
>     >>
>     >> I've used the contrib-tools available somewhere on VLC site.
>     >>
>     >>
>     >> Can anyone help me?
>     >>
>     >> Thanks
>     >>
>     >>
>     >>
>     >
>
>

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list