Difference between revisions of "WindowsCE"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Add page to Category:Windows)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Introduction ==
+
{{Historical|see [[WinCECompile]]}}
  
 +
== Introduction  ==
 +
 +
This guide is to compile and build VLC for Windows CE devices. These are the versions used for this guide:
  
This guide is to compile and build VLC for Windows CE devices. These are the versions used for this guide:
 
 
 
 
   - Ubuntu 9.04 jaunty
 
   - Ubuntu 9.04 jaunty
 
   - vlc 1.0.2 ( version from git )
 
   - vlc 1.0.2 ( version from git )
 
    
 
    
== Installing Cross-compile Tools ==
 
  
 
+
== Installing Cross-compile Tools  ==
1) Download the latest arm-wince-mingw32ce from [http://cegcc.sourceforge.net/ Sourceforge]
+
 
 
+
1) Download the latest arm-wince-mingw32ce from [http://cegcc.sourceforge.net/ Sourceforge]  
2) untar it on / ( tar command with -C / )
+
 
+
2) untar it on / ( tar command with -C / )  
            % sudo apt-get install bzip2
+
 
            % bzip2 -d <your-version>.tar.bz2
+
            &nbsp;% sudo apt-get install bzip2
            % sudo tar xvf <your-version>.tar -C /
+
            &nbsp;% bzip2 -d &lt;your-version&gt;.tar.bz2
 +
            &nbsp;% sudo tar xvf &lt;your-version&gt;.tar -C /
 
   
 
   
  
+
<br> 3) get wince tools from [http://eleves.ec-lille.fr/~couprieg/divers/wince.tar.gz WinCE-Tools]  
3) get wince tools from [http://eleves.ec-lille.fr/~couprieg/divers/wince.tar.gz WinCE-Tools]
+
 
 +
3.1)Untar it:
 +
 
 +
          &nbsp;% sudo tar xvzf wince.tar.gz -C /
 +
 
 +
== Getting VLC Source  ==
 +
 
 +
1) Get git.
  
3.1)Untar it:
+
  &nbsp;% sudo apt-get install git-buildpackage
            % sudo tar xvzf wince.tar.gz -C /
 
  
== Getting VLC Source ==
+
2) Retrieve the last vlc version from git repository
  
1) Get git.
+
  &nbsp;% git clone git://git.videolan.org/vlc.git
    % sudo  apt-get install git-buildpackage
 
2) Retrieve the last vlc version from git repository
 
    % git clone git://git.videolan.org/vlc.git
 
  
== Getting additional tools ==
+
== Getting additional tools ==
  
  % sudo  apt-get install libtool
+
  &nbsp;% sudo  apt-get install libtool
  % sudo  apt-get install autotools-dev
+
  &nbsp;% sudo  apt-get install autotools-dev
  % sudo  apt-get install libgcrypt11-dev
+
  &nbsp;% sudo  apt-get install libgcrypt11-dev
  % sudo  apt-get install autoconf
+
  &nbsp;% sudo  apt-get install autoconf
 
    
 
    
Finally build the symbolics links ( sometimes is not necessary ).
 
  
Create symbolic links from /opt/mingw32ce/bin/* to /usr/bin/ --> Preserve the original  names.
+
Finally build the symbolics links ( sometimes is not necessary ).  
  
== Building VLC ==
+
Create symbolic links from /opt/mingw32ce/bin/* to /usr/bin/ --&gt; Preserve the original names.
  
Now is time to build VLC.
+
== Building VLC ==
  
  % cd vlc
+
Now is time to build VLC.
  % ./bootstrap
+
 
 +
  &nbsp;% cd vlc
 +
  &nbsp;% ./bootstrap
 
    
 
    
Configure:
 
  
 +
Configure:
  
  % PATH=/opt/mingw32ce/bin:/opt/mingw32ce/arm-mingw32ce/bin:$PATH \
+
<br>
 +
 
 +
&nbsp;% PATH=/opt/mingw32ce/bin:/opt/mingw32ce/arm-mingw32ce/bin:$PATH \
 
   CC="arm-mingw32ce-gcc" \
 
   CC="arm-mingw32ce-gcc" \
 
   CXX="arm-mingw32ce-g++" \
 
   CXX="arm-mingw32ce-g++" \
Line 77: Line 84:
 
             --disable-live555 --disable-pulse --disable-swscale --disable-telnet --disable-libmpeg2
 
             --disable-live555 --disable-pulse --disable-swscale --disable-telnet --disable-libmpeg2
  
  % make
+
  &nbsp;% make
  
  % make package-wince
+
  &nbsp;% make package-wince
  
Now your VLC is ready!!! You will have a zip file ready to be unzipped on your device.
+
Now your VLC is ready!!! You will have a zip file ready to be unzipped on your device.  
  
== Final tasks ==
+
== Final tasks ==
Copy this dll in the install directory
+
 
 +
Copy this dll in the install directory  
  
 
  - libiconv-2.dll  ( Need to be cross-compiled )
 
  - libiconv-2.dll  ( Need to be cross-compiled )
Line 91: Line 99:
 
  - libstdc++-6.dll ( mingw32ce provides it )
 
  - libstdc++-6.dll ( mingw32ce provides it )
  
== Finished ==
+
== Finished ==
 +
 
 
This guide provides a way to build an executable vlc for WINCE, but it is not working ok, since the GUI is not responding properly.  
 
This guide provides a way to build an executable vlc for WINCE, but it is not working ok, since the GUI is not responding properly.  
 
 
I am still working on it, so if anyone achieve some progress please contact me. And of course, if you have any doubt, question or find something wrong in this post don't hesitate to contact me. --[http://wiki.videolan.org/User:Hectorhg HectorHg] 13:47, 1 October 2009 (UTC)
 
  
 +
I am still working on it, so if anyone achieve some progress please contact me. And of course, if you have any doubt, question or find something wrong in this post don't hesitate to contact me. --[[User:Hectorhg|HectorHg]] 13:47, 1 October 2009 (UTC)
  
[[Category:Coding]][[Category:Building]]
+
[[Category:Coding]] [[Category:Building]]
 +
[[Category:Windows]]

Latest revision as of 08:56, 23 January 2019

This page is obsolete and kept only for historical interest. It may document features that are obsolete, superseded, or irrelevant. Do not rely on the information here being up-to-date.
Additional information: see WinCECompile

Introduction

This guide is to compile and build VLC for Windows CE devices. These are the versions used for this guide:

  - Ubuntu 9.04 jaunty
  - vlc 1.0.2 ( version from git )
  

Installing Cross-compile Tools

1) Download the latest arm-wince-mingw32ce from Sourceforge

2) untar it on / ( tar command with -C / )

            % sudo apt-get install bzip2
            % bzip2 -d <your-version>.tar.bz2
            % sudo tar xvf <your-version>.tar -C /


3) get wince tools from WinCE-Tools

3.1)Untar it:

           % sudo tar xvzf wince.tar.gz -C /

Getting VLC Source

1) Get git.

   % sudo  apt-get install git-buildpackage

2) Retrieve the last vlc version from git repository

   % git clone git://git.videolan.org/vlc.git

Getting additional tools

  % sudo  apt-get install libtool
  % sudo  apt-get install autotools-dev
  % sudo  apt-get install libgcrypt11-dev
  % sudo  apt-get install autoconf
  

Finally build the symbolics links ( sometimes is not necessary ).

Create symbolic links from /opt/mingw32ce/bin/* to /usr/bin/ --> Preserve the original names.

Building VLC

Now is time to build VLC.

  % cd vlc
  % ./bootstrap
  

Configure:


 % PATH=/opt/mingw32ce/bin:/opt/mingw32ce/arm-mingw32ce/bin:$PATH \
 CC="arm-mingw32ce-gcc" \
 CXX="arm-mingw32ce-g++" \
 CFLAGS="-I/usr/wince/include -I/opt/mingw32ce/arm-mingw32ce/include  -mwin32 -D __COREDLL__ -D _WIN32_WCE=0x0500" \
 CPPFLAGS="-I/usr/wince/include -I/opt/mingw32ce/arm-mingw32ce/include  -mwin32 -D __COREDLL__ -D _WIN32_WCE=0x0500" \
 LDFLAGS="-L/opt/mingw32ce/arm-mingw32ce/lib -L/usr/wince/lib" ./configure --host=arm-mingw32ce \
      --disable-sdl --disable-gtk \
           --disable-dvdnav --disable-dvdread --disable-avformat \
           --disable-postproc --disable-hal --disable-nls    \
           --enable-sout --enable-vlm --disable-wxwindows \
           --disable-a52 --enable-libmpeg2 --disable-freetype \
           --disable-libgcrypt --disable-fribidi --disable-mad \
           --disable-optimize-memory --disable-audioscrobbler \
           --disable-tremor --disable-faad --enable-ffmpeg --disable-avcodec \
           --enable-vlc --disable-activex --disable-testsuite --disable-skins2 \
           --disable-qt4 --disable-notify --disable-httpd --disable-dbus-control \
           --disable-growl --disable-telepathy --disable-lua --disable-vlm \
           --disable-gnutls --disable-bonjour --disable-x11 --disable-glx \
           --disable-xvideo --disable-remoteosd --disable-schroedinger \
           --disable-dshow --enable-wingdi --disable-real --disable-realrtsp \
           --disable-optimizations --enable-debug \
           --enable-wince --enable-waveout --disable-directx --disable-x264 \
           --disable-live555 --disable-pulse --disable-swscale --disable-telnet --disable-libmpeg2
  % make
  % make package-wince

Now your VLC is ready!!! You will have a zip file ready to be unzipped on your device.

Final tasks

Copy this dll in the install directory

- libiconv-2.dll  ( Need to be cross-compiled )
- libcharset-1.dll  ( Need to be cross-compiled )
- libgcc_s_sjlj-1.dll  ( mingw32ce provides it )
- libstdc++-6.dll ( mingw32ce provides it )

Finished

This guide provides a way to build an executable vlc for WINCE, but it is not working ok, since the GUI is not responding properly.

I am still working on it, so if anyone achieve some progress please contact me. And of course, if you have any doubt, question or find something wrong in this post don't hesitate to contact me. --HectorHg 13:47, 1 October 2009 (UTC)