Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: squilby on May 13, 2013, 06:12:17 PM

Title: re: compiling
Post by: squilby on May 13, 2013, 06:12:17 PM
Please forgive me if this is obvious but, in compiling with cmake, where is CMakeLists.txt?

I run "bash bootStrap.bash --deb --without-qt4 --with-gtk", then it says "Build files have been written to: /mnt/sda1/avidemux_2.6.4/buildCore" and stops. Changing to buildCore, then running "make" compiles the core libraries, but not the gtk interface. What am I doing wrong?
Title: Re: re: compiling
Post by: Jan Gruuthuse on May 14, 2013, 06:18:08 AM
Strongly advise not to use Gtk version but QT version (gtk is on halt for a long time now)
You have the required dependencies?
sudo apt-get update
sudo apt-get install build-essential cmake cmake-data cmake-dbg fakeroot fontconfig g++ gcc gettext git liba52-0.7.4-dev libaften-dev libasound2-dev libass-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libfreetype6-dev libfribidi-dev libftgl-dev libftgl2 libglib2.0-dev libmad0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libpng12-dev libqt4-dev libqt4-opengl-dev libqt4-script libsamplerate0-dev libsdl-sound1.2-dev libsqlite3-dev libtwolame-dev libvdpau-dev libvorbis-dev libvpx-dev libwxsqlite3-2.8-0 libx264-dev libxft-dev libxml2-dev libxslt1-dbg libxv-dev libxvidcore-dev libzip-dev pkg-config sqlite3 subversion xsltproc yasm


You have updated cmake to version 2.8.10.2? Required! Cmake org (http://www.cmake.org/cmake/resources/software.html)

Installing x264 would be preferable to: x264 (http://www.videolan.org/developers/x264.html)

Change to location where you want avidemux to build like
cd ~/

Get source:
svn co http://svn.berlios.de/svnroot/repos/avidemux/branches/avidemux_2.6_branch_mean

Change to the downloaded location:
cd ~/avidemux_2.6_branch_mean
Build as user avidemux:
bash bootStrap.bash --deb --with-qt4 --without-gtk --with-cli
This should create the debs in ~/avidemux_2.6_branch_mean/debs
Then you would install the present debs:
1) avidemux3-core-2.6.4-8696-Linux
2) avidemux3-plugins-COMMON-2.6.4-8696-Linux
3) avidemux3-qt4-2.6.4-8696-Linux
4) avidemux3-plugins-QT4-2.6.4-8696-Linux
5) avidemux3-cli-2.6.4-8696-Linux
6) avidemux3-plugins-CLI-2.6.4-8696-Linux
7) avidemux3-plugins-SETTINGS-2.6.4-8696-Linux