Changes between Version 5 and Version 6 of How to quickly compile libx264
- Timestamp:
- 02/28/2013 10:11:32 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
How to quickly compile libx264
v5 v6 1 1 In order to quickly compile your [http://www.videolan.org/developers/x264.html libx264], you can type the following commands in your shell: 2 2 {{{ 3 #cd /my/path/where/i/keep/compiled/stuff4 #git clone git://git.videolan.org/x264.git5 #cd x2646 #./configure --enable-static --enable-shared7 #make3 $ cd /my/path/where/i/keep/compiled/stuff 4 $ git clone git://git.videolan.org/x264.git 5 $ cd x264 6 $ ./configure --enable-static --enable-shared 7 $ make 8 8 # make install 9 9 # ldconfig 10 10 }}} 11 11 12 P.S. If you are using Ubuntu, you'll most probably have to use sudo for the last 2 commands, like:12 Note: `$` generally indicates that the command can be run as a normal user. `#` indicates that superuser privilages are generally required. If you are using Ubuntu, you'll most probably have to use `sudo` for commands preceded by `#`, such as: 13 13 {{{ 14 #sudo make install15 #sudo ldconfig14 $ sudo make install 15 $ sudo ldconfig 16 16 }}} 17 17 18 P.S.S19 18 If you get a message like this: 20 19 {{{ … … 26 25 27 26 {{{ 28 #wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz29 #tar xf yasm-1.2.0.tar.gz30 #cd yasm-1.2.031 #./configure32 #make27 $ wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz 28 $ tar xf yasm-1.2.0.tar.gz 29 $ cd yasm-1.2.0 30 $ ./configure 31 $ make 33 32 # make install 34 33 }}} 35 and after that, just repeat the configure/make/make installsteps for libx264 and it should be fine this time.34 and after that, just repeat the `configure`, `make`, and `make install` steps for libx264 and it should be fine this time.


