Como instalar o slowmoVideo em 15.04

1

Eu tentei construir a partir do código-fonte e baixar o PPA nenhum funciona porque ele não foi atualizado para o 15.04 ainda, então é possível instalar o slowmoVideo em 15.04?

Também aqui está o link link

Erro do CMAKE:

asher@Asher-Dell-PC:~/slowmoVideo/build$ cmake -DENABLE_TESTS=FALSE ../src
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using qt5
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package):
  Could not find a package configuration file provided by "Qt5Script" with
  any of the following names:

    Qt5ScriptConfig.cmake
    qt5script-config.cmake

  Add the installation prefix of "Qt5Script" to CMAKE_PREFIX_PATH or set
  "Qt5Script_DIR" to a directory containing one of the above files.  If
  "Qt5Script" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:64 (find_package)


CMake Warning at CMakeLists.txt:64 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Script" config file at
  "/usr/lib/x86_64-linux-gnu/cmake/Qt5Script/Qt5ScriptConfig.cmake"





Qt libraries found at : Qt5::Gui /  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'libavformat'
--   found libavformat, version 56.1.0
-- checking for module 'libavcodec'
--   found libavcodec, version 56.1.0
-- checking for module 'libavutil'
--   found libavutil, version 54.3.0
-- checking for module 'libswscale'
--   found libswscale, version 3.0.0
-- checking: avformat.h
--           /usr/include/libavformat
-- checking: avcodec.h
--           /usr/include/libavcodec
-- checking: avutil.h
--           /usr/include/libavutil
-- checking: swscale.h
--           /usr/include/libswscale
-- FFMPEG libraries are at /usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:273 (find_package):
  Could not find a package configuration file provided by "Qt5Script" with
  any of the following names:

    Qt5ScriptConfig.cmake
    qt5script-config.cmake

  Add the installation prefix of "Qt5Script" to CMAKE_PREFIX_PATH or set
  "Qt5Script_DIR" to a directory containing one of the above files.  If
  "Qt5Script" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:78 (qt5_use_modules)
  slowmoVideo/project/CMakeLists.txt:56 (qt_use_modules)


CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:275 (message):
  Can not use "Script" module which has not yet been found.
Call Stack (most recent call first):
  CMakeLists.txt:78 (qt5_use_modules)
  slowmoVideo/project/CMakeLists.txt:56 (qt_use_modules)


-- Configuring incomplete, errors occurred!
See also "/home/asher/slowmoVideo/build/CMakeFiles/CMakeOutput.log".
    
por ashermaster 05.11.2015 / 17:20

1 resposta

2

A compilação da fonte deve funcionar corretamente no Ubuntu 15.04.

  1. Instalar ferramentas de compilação:

    sudo apt-get install build-essential cmake git libavformat-dev libavcodec-dev libswscale-dev libqt4-dev freeglut3-dev libglew1.5-dev libsdl1.2-dev libjpeg-dev libopencv-video-dev libopencv-highgui-dev libopencv-dev
    
  2. Instale a biblioteca ffmpeg :

    sudo apt-get install ffmpeg
    
  3. Compile slowmoVideo da fonte:

    git clone git://github.com/slowmoVideo/slowmoVideo.git
    cd slowmoVideo/
    mkdir build
    cd build/
    cmake -DENABLE_TESTS=FALSE ../src
    make
    
  4. Instale-o usando checkinstall :

    sudo apt-get install checkinstall
    sudo checkinstall
    

    Por que checkinstall ?

      

    O CheckInstall controla todos os arquivos instalados por "make install" ou   equivalente. Cria um pacote .deb e o adiciona ao pacote instalado   banco de dados de pacotes. Isso permite a fácil remoção de pacotes mais tarde. - Wiki do Ubuntu

por hg8 05.11.2015 / 17:26