Mudanças entre as edições de "MachinTruc"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 6: Linha 6:
 
sudo apt-get install libmovit-dev libavformat-dev qt5-default \
 
sudo apt-get install libmovit-dev libavformat-dev qt5-default \
 
libswscale-dev libswresample-dev libavfilter-dev libavutil-dev \
 
libswscale-dev libswresample-dev libavfilter-dev libavutil-dev \
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev
+
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev \
 +
build-essential git-core
 
</source>
 
</source>
  
Linha 31: Linha 32:
 
cd build
 
cd build
 
qmake ..
 
qmake ..
 +
make
 
</source>
 
</source>

Edição das 21h49min de 26 de junho de 2016

Página do projeto

instalando dependências

sudo apt-get install libmovit-dev libavformat-dev qt5-default \
libswscale-dev libswresample-dev libavfilter-dev libavutil-dev \
libsdl1.2-dev libqt5x11extras5-dev libavcodec-dev libvidstab-dev \
build-essential git-core
sed -i '9i #include <QDataStream>' ../core/engine/stabilizecollection.cpp

compilando vid.stab

git clone https://github.com/georgmartius/vid.stab
cd vid.stab/
wget http://hftom.fr/vidstab.memleak-fix.diff
patch -p1 < vidstab.memleak-fix.diff 
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/
make
make install

compilando

git clone https://github.com/hftom/MachinTruc.git
cd MachinTruc/
mkdir build
cd build
qmake ..
make