ソースからビルドしてPPAをダウンロードしようとしましたが、まだ15.04にアップグレードされていないため機能しません。15.04にslowmoVideoをインストールすることはできますか?
また、ここにリンクがあります http://slowmovideo.granjow.net/download.php
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".
ソースからのコンパイルはUbuntu15.04で正しく機能するはずです。
ビルドツールをインストールします:
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
ffmpeg
ライブラリをインストールします。
Sudo apt-get install ffmpeg
ソースからslowmoVideo
をコンパイルします:
git clone git://github.com/slowmoVideo/slowmoVideo.git
cd slowmoVideo/
mkdir build
cd build/
cmake -DENABLE_TESTS=FALSE ../src
make
checkinstall
を使用してインストールします。
Sudo apt-get install checkinstall
Sudo checkinstall
なぜcheckinstall
?
CheckInstallは、「makeinstall」または同等のものによってインストールされたすべてのファイルを追跡します。 .debパッケージを作成し、インストールされているパッケージデータベースに追加します。これにより、後でパッケージを簡単に取り外すことができます。 — buntu Wiki