Difference between revisions of "BeOSCompile"

From VideoLAN Wiki
Jump to navigation Jump to search
 
Line 19: Line 19:
 
Now you can compile vlc:
 
Now you can compile vlc:
  
* download the source code using Subversion
+
=== Get the source ===
* cd to extras/contrib/
+
Download the {{VLC}} [[GetTheSource|source code]] (using [[subversion]]) as described on the [[GetTheSource| "Get the source"]] page.
* run ./bootstrap && make src - this will get and build every util and library VLC needs (you need an internet connection, a fast one preferably)
 
* cd to the root of the source directory
 
* run ./bootstrap && ./configure --enable-debug --enable-sout --enable-httpd --enable-vlm --enable-dvdread --enable-dvdnav --enable-dvbpsi --enable-screen --enable-ogg --enable-mkv --enable-mad --enable-ffmpeg --enable-faad --enable-a52 --enable-flac --enable-libmpeg2 --enable-vorbis --enable-speex --enable-theora --enable-freetype --enable-fribidi --disable-skins2 --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --disable-x11 --disable-hal --disable-daap --disable-xvideo --disable-glx --disable-sdl --disable-wxwindows && make
 
    * to build a package, run make package-beos
 
  
 +
=== Build external libs ===
 +
 +
We now need to build the [[Contrib_Status| 3rd party libs]]. For that, you will need to:
 +
* cd to the source directory with your Terminal application.
 +
* cd to extras/contrib/ subdir of VLC and execute <code>./bootstrap</code>
 +
* Now execute <code>make src</code>. This will download and compile all the required external libraries and programs that {{VLC}} needs (you need an internet connection, a fast one preferably).
 +
 +
=== Prepare the VLC build ===
 +
Now we return to VLC itself. Go back to the top level VLC source directory. If you use Subversion (which you really should), then run <code>./bootstrap</code>.
 +
 +
This will create configure and Makefiles for {{VLC}} (snapshots and releases already include this).
 +
 +
=== Configure VLC ===
 +
The next step is to configure, in the top level VLC source directory.
 +
 +
<code>./configure --enable-debug --enable-sout --enable-httpd --enable-vlm --enable-dvdread --enable-dvdnav --enable-dvbpsi --enable-screen --enable-ogg --enable-mkv --enable-mad --enable-ffmpeg --enable-faad --enable-a52 --enable-flac --enable-libmpeg2 --enable-vorbis --enable-speex --enable-theora --enable-freetype --enable-fribidi --disable-skins2 --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --disable-x11 --disable-hal --disable-daap --disable-xvideo --disable-glx --disable-sdl --disable-wxwindows</code>
 +
 +
=== Build VLC ===
 +
After configure is finished, we can finally build {{VLC}}. A simple <code>make</code> will do the trick.
 +
 +
To build a package, run <code>make package-beos</code>
 +
 +
== History ==
 
Written by Eric Petit, for the VideoLAN Team.
 
Written by Eric Petit, for the VideoLAN Team.
 +
Adapted to the Wiki by [[User:j-b|Jean-Baptiste Kempf]].

Revision as of 23:33, 18 January 2007

Compile VLC on BeOS

Required tools

You need :

Compiling is usually done on a vanilla R5.0.3 install with gcc 2.95.3.

Building with older compilers won't work.

Building on a BONE-enabled install probably doesn't work at the moment.

Build VLC

Now you can compile vlc:

Get the source

Download the VLC media player source code (using subversion) as described on the "Get the source" page.

Build external libs

We now need to build the 3rd party libs. For that, you will need to:

  • cd to the source directory with your Terminal application.
  • cd to extras/contrib/ subdir of VLC and execute ./bootstrap
  • Now execute make src. This will download and compile all the required external libraries and programs that VLC media player needs (you need an internet connection, a fast one preferably).

Prepare the VLC build

Now we return to VLC itself. Go back to the top level VLC source directory. If you use Subversion (which you really should), then run ./bootstrap.

This will create configure and Makefiles for VLC media player (snapshots and releases already include this).

Configure VLC

The next step is to configure, in the top level VLC source directory.

./configure --enable-debug --enable-sout --enable-httpd --enable-vlm --enable-dvdread --enable-dvdnav --enable-dvbpsi --enable-screen --enable-ogg --enable-mkv --enable-mad --enable-ffmpeg --enable-faad --enable-a52 --enable-flac --enable-libmpeg2 --enable-vorbis --enable-speex --enable-theora --enable-freetype --enable-fribidi --disable-skins2 --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib --disable-x11 --disable-hal --disable-daap --disable-xvideo --disable-glx --disable-sdl --disable-wxwindows

Build VLC

After configure is finished, we can finally build VLC media player. A simple make will do the trick.

To build a package, run make package-beos

History

Written by Eric Petit, for the VideoLAN Team. Adapted to the Wiki by Jean-Baptiste Kempf.