Problèmes et questions sur les applications multimédia.
Répondre

Comment compiler libopenshot

#1Messageil y a 10 ans

Bonjour,

Comme vous le savez, le nouveau framework Libopenshot est sorti récement. Il n'est pas encore disponible dans Manjaro ou sur AUR. On est donc obligé de le compiler. Or, je bute lors de la compilation de libopenshot (et pas de libopenshot-audio qui, elle s'est bien passée). Aussi, je me tourne vers les pros de la compilation sous Manjaro.

Avant de partir en vacances, j'ai (enfin) installé Manjaro 0.8.9 version XFCE sur mon portable à la place de ma vieillissante Ubuntu. Je l'ai mis à jour puis je suis passé sous Cinnamon. Pour l'instant, ce portable me sert d'ordi de dev quand je ne suis pas devant mon pc multimédia à la maison.

J'ai d'abord récupéré sur launchpad le code de libopenshot-audio puis de libopenshot.

Il faut d'abord compiler libopenshot-audio avant de compiler libopenshot


Ceci se fait avec les commandes suivantes d'abord pour libopenshot-audio :

bzr branch lp:~openshot.code/libopenshot/libopenshot-audio


puis pour libopenshot

bzr branch lp:libopenshot


Ceux-ci sont dans mon home.
Un manuel sous forme de pdf intitulé InstallationGuide est disponible dans le repertoire doc de libopenshot. Il concerne aussi bien libopenshot que libopenshot-audio sous toutes les architectures. :siffle
Pour ceux qui regarderont, vous verrez que le nom des librairies ne correspond pas forcement à Manjaro. Par exemple, il n'y a pas de version-dev. Cela s'explique qu'on n'en a pas besoin puisque chaque paquet est compilé.

Voici les librairies dont je pense que vous avez besoin, certaines étant installées par défaut.
* Installée de base
- cmake
-ffmpeg
-imagemagick
-LibSDL
-Python (ou Libpython)

*installée avec pacman
-swig (3.0.0-1)
-doxygen(1.8.6)
-libunittest++(3.6.1-2)
-libxcursor(1.1.14-1)
-libxinerama(1.1.13-2)
-doxypy(0.4.2.1) Pas necessaire pour libopenshot mais utile pour voir la doc de Openshot_qt
-python-simplejson(3.3.3-2)
-python-pyqt5
-qt5-base ; normalement il devrait installer aussi tout ce concerne qt5 dont qt5-webkit, svg, tools, multimédia

Je vous passe la compilation de libopenshot-audio, elle se fait comme dans la doc. Le son n'est normalement jouable que quand vous etes là où se trouve la librairie cad dans /usr/local/bin/openshot-audio-test-sound. L'important est d'avoir libopenshot-audio.so

Mon problème avec libopenshot est que lorsque je fais mon cmake ../. Il semblerait qu'il ne trouve pas libunittest or celle-ci est bien présente. Ce qui fait que lorsque je fais mon make j'ai une erreur et la compilation échoue.

Plutot qu'un long discours, voici mes log :

[thranduil@thorielle build]$ cmake ../ 
--------------------------------------------------------------
Welcome to the OpenShot Build System! CMake will now check for all required build
dependencies and notify you of any missing files or other issues. If you have any
questions or issues, please visit <http://www.openshot.org/>.
--------------------------------------------------------------
Determining Version Number (from Version.h file)
--> MAJOR Version: 0
--> MINOR Version: 0
--> BUILD Version: 1
--> SO/API/ABI Version: 1
--> VERSION: 0.0.1

-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.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
-- 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
--------------------------------------------------------------
Generating build files for openshot (0.0.1)
-- Found ImageMagick: /usr/lib64/libMagick++-6.Q16HDRI.so (found version "6.8.8-9")
-- Found FFMPEG: /usr/lib64/libavformat.so;/usr/lib64/libavcodec.so;/usr/lib64/libavutil.so;/usr/lib64/libavdevice.so;/usr/lib64/libswscale.so 

-- Found LIBOPENSHOT_AUDIO: /usr/local/lib/libopenshot-audio.so 
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found SDL: /usr/lib64/libSDL.so;-lpthread (found version "1.2.15")
-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp 
-- Found SWIG: /usr/bin/swig (found suitable version "3.0.0", minimum required is "2.0")
-- Found PythonLibs: /usr/lib64/libpython3.4m.so (found suitable version "3.4.0", minimum required is "3")
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.4", minimum required is "3")
-- Could NOT find Ruby (missing:  RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY)
-- Could NOT find UNITTEST++ (missing:  UNITTEST++_LIBRARY UNITTEST++_INCLUDE_DIR)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Found DOXYFILE_IN: /home/thranduil/libopenshot/Doxyfile.in 
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
UNITTEST++_INCLUDE_DIR
   used as include directory in directory /home/thranduil/libopenshot/tests
   used as include directory in directory /home/thranduil/libopenshot/tests
UNITTEST++_LIBRARY
    linked by target "tester" in directory /home/thranduil/libopenshot/tests

-- Configuring incomplete, errors occurred!
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeOutput.log".
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeError.log".


Les messages log sont incompréhensibles pour moi. J'ai installé ruby (pourquoi ?) et il me reste que :

[thranduil@thorielle build]$ cmake ../ 
--------------------------------------------------------------
Welcome to the OpenShot Build System! CMake will now check for all required build
dependencies and notify you of any missing files or other issues. If you have any
questions or issues, please visit <http://www.openshot.org/>.
--------------------------------------------------------------
Determining Version Number (from Version.h file)
--> MAJOR Version: 0
--> MINOR Version: 0
--> BUILD Version: 1
--> SO/API/ABI Version: 1
--> VERSION: 0.0.1

--------------------------------------------------------------
Generating build files for openshot (0.0.1)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
-- Found Ruby: /usr/bin/ruby (found version "2.1.0")
-- Ruby executable: /usr/bin/ruby
-- Ruby vendor arch dir: /usr/lib/ruby/vendor_ruby/2.1.0/x86_64-linux
-- Ruby include path: /usr/include/ruby-2.1.0;/usr/include/ruby-2.1.0/x86_64-linux
-- Could NOT find UNITTEST++ (missing:  UNITTEST++_LIBRARY UNITTEST++_INCLUDE_DIR)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
UNITTEST++_INCLUDE_DIR
   used as include directory in directory /home/thranduil/libopenshot/tests
   used as include directory in directory /home/thranduil/libopenshot/tests
UNITTEST++_LIBRARY
    linked by target "tester" in directory /home/thranduil/libopenshot/tests

-- Configuring incomplete, errors occurred!
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeOutput.log".
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeError.log".
[thranduil@thorielle build]$

=============>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<
[thranduil@thorielle build]$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
[thranduil@thorielle build]$


Comme vous le voyez, j'ai même fais un make sans succès.

Je precise que j'ai libunittest.so et libunittest.so.3.6.1

Je pense que l'erreur peut-être à trois niveaux :

-soit QT car, d'après la doc on peut spécifier un chemin (que je ne sais pas encore) : cmake -DCMAKE_PREFIX_PATH/usr/lib/qt/5.2.1-1/ ../
-soit il ne trouve pas libnittest alors qu'il est présent dans /usr/lib64/. Peut-être faut-il spécifier son chemin mais comment.
-soit au niveau de make (pas de cible spécifiée et aucun makefile n'a été trouvé) Que faire à ce niveau là ?

Je tiens à préciser que ce n'est pas une gageur de ma part, j'en ai réellement besoin pour poursuivre le developpement de la version openshot_qt.
D'avance merci pour votre aide et pour vos efforts. Cela peut aussi vous aidez à paquager ces librairies pour Manjaro ou bien sur AUR. Je pense que ce serait bien que Manjaro ait ce logiciel lors de sa sortie. La version qt ne presente pas de difficultés particulières.
Dernière modification par Cenwenil y a 10 ans, modifié au total 1 fois.

Comment compiler libopenshot

#2Messageil y a 10 ans

Pas de volontaire pour essayer de m'aider ? Aucune idée ? :sos:

Comment compiler libopenshot

#3Messageil y a 10 ans

c'est surtout que j'ai du mal à comprendre pourquoi il ne trouve pas libunittest alors qu'il est présent...
n'y aurait-il pas un simple problème de casse, genre une majuscule qui traine ?
que raconte le CMakeError.log ?

Comment compiler libopenshot

#4Messageil y a 10 ans

Bonjour Loubrix et merci de m'aider.

c'est surtout que j'ai du mal à comprendre pourquoi il ne trouve pas libunittest alors qu'il est présent...

Cela a été ma 1ere idée aussi.

n'y aurait-il pas un simple problème de casse, genre une majuscule qui traine ?

Je ne peux pas te dire. Aucune librairie n'est en majuscule. Est-ce au niveau de Libopenshot lui-même, je ne sais pas...

que raconte le CMakeError.log ?

Pour moi, franchement c'est incompréhensible mais je te mets les 2 logs.

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1449112262/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1449112262.dir/build.make CMakeFiles/cmTryCompileExec1449112262.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1449112262.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec1449112262.dir/CheckSymbolExists.c.o   -c /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec1449112262
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1449112262.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTryCompileExec1449112262.dir/CheckSymbolExists.c.o  -o cmTryCompileExec1449112262 -rdynamic
CMakeFiles/cmTryCompileExec1449112262.dir/CheckSymbolExists.c.o: dans la fonction « main »:
CheckSymbolExists.c:(.text+0x16): référence indéfinie vers « pthread_create »
collect2: erreur: ld a retourné 1 code d'état d'exécution
CMakeFiles/cmTryCompileExec1449112262.dir/build.make:91: recipe for target 'cmTryCompileExec1449112262' failed
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec1449112262] Error 1
Makefile:117: recipe for target 'cmTryCompileExec1449112262/fast' failed
make: *** [cmTryCompileExec1449112262/fast] Error 2

File /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec3760795315/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3760795315.dir/build.make CMakeFiles/cmTryCompileExec3760795315.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3760795315.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec3760795315.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec3760795315
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3760795315.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec3760795315.dir/CheckFunctionExists.c.o  -o cmTryCompileExec3760795315 -rdynamic -lpthreads
/usr/bin/ld: ne peut trouver -lpthreads
collect2: erreur: ld a retourné 1 code d'état d'exécution
CMakeFiles/cmTryCompileExec3760795315.dir/build.make:91: recipe for target 'cmTryCompileExec3760795315' failed
make[1]: *** [cmTryCompileExec3760795315] Error 1
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec3760795315/fast' failed
make: *** [cmTryCompileExec3760795315/fast] Error 2




et pour CmakeOutput.log

The system is: Linux - 3.10.36-1-MANJARO - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/home/thranduil/libopenshot/build/CMakeFiles/2.8.12.2/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/home/thranduil/libopenshot/build/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2515750694/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2515750694.dir/build.make CMakeFiles/cmTryCompileExec2515750694.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2515750694.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec2515750694.dir/testCCompiler.c.o   -c /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2515750694
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2515750694.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTryCompileExec2515750694.dir/testCCompiler.c.o  -o cmTryCompileExec2515750694 -rdynamic
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'


Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1160240801/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1160240801.dir/build.make CMakeFiles/cmTryCompileExec1160240801.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec1160240801
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1160240801.dir/link.txt --verbose=1
/usr/bin/cc     -v CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec1160240801 -rdynamic 
Utilisation des specs internes.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configuré avec: /build/gcc/src/gcc-4.8-20140206/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release
Modèle de thread: posix
gcc version 4.8.2 20140206 (prerelease) (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1160240801' '-rdynamic' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/collect2 --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec1160240801 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crt1.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbegin.o -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtend.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec1160240801/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec1160240801.dir/build.make CMakeFiles/cmTryCompileExec1160240801.dir/build]
  ignore line: [make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp']
  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
  ignore line: [Building C object CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTryCompileExec1160240801]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1160240801.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/cc     -v CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec1160240801 -rdynamic  ]
  ignore line: [Utilisation des specs internes.]
  ignore line: [COLLECT_GCC=/usr/bin/cc]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper]
  ignore line: [Target: x86_64-unknown-linux-gnu]
  ignore line: [Configuré avec: /build/gcc/src/gcc-4.8-20140206/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release]
  ignore line: [Modèle de thread: posix]
  ignore line: [gcc version 4.8.2 20140206 (prerelease) (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1160240801' '-rdynamic' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/collect2 --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec1160240801 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crt1.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbegin.o -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtend.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o]
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/collect2] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-o] ==> ignore
    arg [cmTryCompileExec1160240801] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbegin.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2] ==> dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2]
    arg [-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../..] ==> dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../..]
    arg [CMakeFiles/cmTryCompileExec1160240801.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtend.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o] ==> ignore
  remove lib [gcc]
  remove lib [gcc_s]
  remove lib [gcc]
  remove lib [gcc_s]
  collapse library dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2] ==> [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2]
  collapse library dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../..] ==> [/usr/lib]
  implicit libs: [c]
  implicit dirs: [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2;/usr/lib;/lib]
  implicit fwks: []


Determining if the CXX compiler works passed with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec574933284/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec574933284.dir/build.make CMakeFiles/cmTryCompileExec574933284.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec574933284.dir/testCXXCompiler.cxx.o
/usr/bin/c++     -o CMakeFiles/cmTryCompileExec574933284.dir/testCXXCompiler.cxx.o -c /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec574933284
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec574933284.dir/link.txt --verbose=1
/usr/bin/c++        CMakeFiles/cmTryCompileExec574933284.dir/testCXXCompiler.cxx.o  -o cmTryCompileExec574933284 -rdynamic
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'


Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec905373295/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec905373295.dir/build.make CMakeFiles/cmTryCompileExec905373295.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++     -o CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec905373295
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec905373295.dir/link.txt --verbose=1
/usr/bin/c++      -v CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o  -o cmTryCompileExec905373295 -rdynamic 
Utilisation des specs internes.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configuré avec: /build/gcc/src/gcc-4.8-20140206/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release
Modèle de thread: posix
gcc version 4.8.2 20140206 (prerelease) (GCC)
COMPILER_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec905373295' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/collect2 --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec905373295 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crt1.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbegin.o -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtend.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'


Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec905373295/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec905373295.dir/build.make CMakeFiles/cmTryCompileExec905373295.dir/build]
  ignore line: [make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp']
  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
  ignore line: [Building CXX object CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/bin/c++     -o CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Linking CXX executable cmTryCompileExec905373295]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec905373295.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/c++      -v CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o  -o cmTryCompileExec905373295 -rdynamic  ]
  ignore line: [Utilisation des specs internes.]
  ignore line: [COLLECT_GCC=/usr/bin/c++]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper]
  ignore line: [Target: x86_64-unknown-linux-gnu]
  ignore line: [Configuré avec: /build/gcc/src/gcc-4.8-20140206/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --disable-multilib --disable-werror --enable-checking=release]
  ignore line: [Modèle de thread: posix]
  ignore line: [gcc version 4.8.2 20140206 (prerelease) (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec905373295' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/collect2 --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec905373295 /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crt1.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbegin.o -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../.. CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtend.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o]
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/collect2] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-o] ==> ignore
    arg [cmTryCompileExec905373295] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbegin.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2] ==> dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2]
    arg [-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../..] ==> dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../..]
    arg [CMakeFiles/cmTryCompileExec905373295.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lstdc++] ==> lib [stdc++]
    arg [-lm] ==> lib [m]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [-lc] ==> lib [c]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtend.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o] ==> ignore
  remove lib [gcc_s]
  remove lib [gcc]
  remove lib [gcc_s]
  remove lib [gcc]
  collapse library dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2] ==> [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2]
  collapse library dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../..] ==> [/usr/lib]
  implicit libs: [stdc++;m;c]
  implicit dirs: [/usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2;/usr/lib;/lib]
  implicit fwks: []


Determining if files pthread.h exist passed with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec45925346/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec45925346.dir/build.make CMakeFiles/cmTryCompileExec45925346.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec45925346.dir/CheckIncludeFiles.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec45925346.dir/CheckIncludeFiles.c.o   -c /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
Linking C executable cmTryCompileExec45925346
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec45925346.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTryCompileExec45925346.dir/CheckIncludeFiles.c.o  -o cmTryCompileExec45925346 -rdynamic
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'


Determining if the function pthread_create exists in the pthread passed with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2442097314/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2442097314.dir/build.make CMakeFiles/cmTryCompileExec2442097314.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2442097314.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTryCompileExec2442097314.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec2442097314
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2442097314.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTryCompileExec2442097314.dir/CheckFunctionExists.c.o  -o cmTryCompileExec2442097314 -rdynamic -lpthread
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'


Performing C SOURCE FILE Test OpenMP_FLAG_DETECTED succeded with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1080046336/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1080046336.dir/build.make CMakeFiles/cmTryCompileExec1080046336.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1080046336.dir/src.c.o
/usr/bin/cc   -DOpenMP_FLAG_DETECTED -fopenmp   -o CMakeFiles/cmTryCompileExec1080046336.dir/src.c.o   -c /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTryCompileExec1080046336
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1080046336.dir/link.txt --verbose=1
/usr/bin/cc   -DOpenMP_FLAG_DETECTED -fopenmp    CMakeFiles/cmTryCompileExec1080046336.dir/src.c.o  -o cmTryCompileExec1080046336 -rdynamic
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'

Source file was:

#include <omp.h>
int main() {
#ifdef _OPENMP
  return 0;
#else
  breaks_on_purpose
#endif
}

Performing C++ SOURCE FILE Test OpenMP_FLAG_DETECTED succeded with the following output:
Change Dir: /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2215031446/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2215031446.dir/build.make CMakeFiles/cmTryCompileExec2215031446.dir/build
make[1]: Entering directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2215031446.dir/src.cxx.o
/usr/bin/c++    -fPIE  -fPIE  -fPIE  -fPIE  -fPIE  -g -ggdb  -DOpenMP_FLAG_DETECTED -fopenmp   -o CMakeFiles/cmTryCompileExec2215031446.dir/src.cxx.o -c /home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTryCompileExec2215031446
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2215031446.dir/link.txt --verbose=1
/usr/bin/c++    -fPIE  -fPIE  -fPIE  -fPIE  -fPIE  -g -ggdb  -DOpenMP_FLAG_DETECTED -fopenmp    CMakeFiles/cmTryCompileExec2215031446.dir/src.cxx.o  -o cmTryCompileExec2215031446 -rdynamic
make[1]: Leaving directory '/home/thranduil/libopenshot/build/CMakeFiles/CMakeTmp'

Source file was:

#include <omp.h>
int main() {
#ifdef _OPENMP
  return 0;
#else
  breaks_on_purpose
#endif
}

Comment compiler libopenshot

#5Messageil y a 10 ans

tout ça n'est pas très clair, l'erreur sus-mentionnée n'y est même pas...

tu peux donner le retour de:

sudo ldconfig -v | grep libunittest

Comment compiler libopenshot

#6Messageil y a 10 ans

Voici le résultat de la commande :

thranduil@thorielle ~]$ sudo ldconfig -v | grep libunittest
[sudo] password for thranduil:
ldconfig: Chemin « /usr/lib » donné plus d'une fois
ldconfig: Chemin « /usr/lib64 » donné plus d'une fois
ldconfig: Ne peut évaluer par stat /usr/libx32: Aucun fichier ou dossier de ce type
   libunittest.so.3.6.1 -> libunittest.so.3.6.1
[thranduil@thorielle ~]$


Que signifie-t-elle ? Permet-elle de savoir si une librairie est installée et si la réponse est positive de savoir où ?

Comment compiler libopenshot

#7Messageil y a 10 ans

Je devrais peut-etre préciser que ma Manjaro est une 64 bits. J'ai aussi un probleme pour installer Discwrapper ; il ne trouve pas le makepkg, peut-etre est-ce lié mais je n'ai eu aucun probleme pour installer libopenshot-audio.

[thranduil@thorielle ~]$ yaourt -S discwrapper

==> Téléchargement du PKGBUILD de discwrapper depuis AUR...
x PKGBUILD
discwrapper 1.2.2-2  (jeu. nov. 20 22:43:59 CET 2008)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de discwrapper :
 - wxgtk (déjà installé)
 - shared-mime-info (déjà installé)


==> Lancer la compilation de discwrapper ? [O/n]
==> --------------------------------------------
==>
==> Construction et installation du paquet
==> Création du paquet discwrapper 1.2.2-2 (sam. avril 19 12:10:32 CEST 2014)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Téléchargement de discwrapper-1.2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  653k  100  653k    0     0   157k      0  0:00:04  0:00:04 --:--:--  207k
==> Validation des fichiers sources avec md5sums...
    discwrapper-1.2.2.tar.gz ... Réussite
==> Extraction des sources...
  -> Extraction de discwrapper-1.2.2.tar.gz avec bsdtar
==> Lancement de build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.8... yes (version 3.0.0)
checking for wxWidgets static library... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating share/Makefile
config.status: creating share/icons/Makefile
config.status: creating share/icons/button/Makefile
config.status: creating share/icons/cursor/Makefile
config.status: creating share/icons/menu/Makefile
config.status: creating share/imagestore/Makefile
config.status: creating share/patterns/Makefile
config.status: creating share/po/Makefile
config.status: creating share/po/da/Makefile
config.status: creating share/po/de/Makefile
config.status: creating share/po/en/Makefile
config.status: creating share/po/hu/Makefile
config.status: creating share/po/sv/Makefile
config.status: creating share/po/es/Makefile
config.status: creating share/po/pl/Makefile
config.status: creating share/templates/Makefile
config.status: creating share/templates/no-background/Makefile
config.status: creating share/templates/simple-design/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2'
Making all in share
make[2]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share'
Making all in icons
make[3]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons'
Making all in button
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons/button'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons/button'
Making all in cursor
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons/cursor'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons/cursor'
Making all in menu
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons/menu'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons/menu'
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons'
make[3]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/icons'
Making all in imagestore
make[3]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/imagestore'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/imagestore'
Making all in patterns
make[3]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/patterns'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/patterns'
Making all in po
make[3]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po'
Making all in da
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/da'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/da'
Making all in de
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/de'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/de'
Making all in en
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/en'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/en'
Making all in es
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/es'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/es'
Making all in hu
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/hu'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/hu'
Making all in pl
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/pl'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/pl'
Making all in sv
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/sv'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po/sv'
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po'
make[3]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/po'
Making all in templates
make[3]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates'
Making all in no-background
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates/no-background'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates/no-background'
Making all in simple-design
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates/simple-design'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates/simple-design'
make[4]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates'
make[3]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share/templates'
make[3]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share'
make[2]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/share'
Making all in src
make[2]: Entering directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/src'
g++ -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4  -MT AboutDialog.o -MD -MP -MF .deps/AboutDialog.Tpo -c -o AboutDialog.o AboutDialog.cpp
mv -f .deps/AboutDialog.Tpo .deps/AboutDialog.Po
g++ -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4  -MT AddListDialog.o -MD -MP -MF .deps/AddListDialog.Tpo -c -o AddListDialog.o AddListDialog.cpp
mv -f .deps/AddListDialog.Tpo .deps/AddListDialog.Po
g++ -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4  -MT CommonFunctions.o -MD -MP -MF .deps/CommonFunctions.Tpo -c -o CommonFunctions.o CommonFunctions.cpp
CommonFunctions.cpp: In member function ‘std::string CommonFunctions::wx2std(wxString)’:
CommonFunctions.cpp:54:59: erreur: no matching function for call to ‘wxMBConv::cWX2MB(wxString&)’
         const wxWX2MBbuf tmp_buf = wxConvCurrent->cWX2MB(s);
                                                           ^
CommonFunctions.cpp:54:59: note: candidate is:
In file included from /usr/include/wx-3.0/wx/strvararg.h:20:0,
                 from /usr/include/wx-3.0/wx/string.h:46,
                 from CommonFunctions.h:28,
                 from CommonFunctions.cpp:23:
/usr/include/wx-3.0/wx/strconv.h:117:24: note: const wxCharBuffer wxMBConv::cWX2MB(const wchar_t*) const
     const wxCharBuffer cWX2MB(const wchar_t *psz) const { return cWC2MB(psz); }
                        ^
/usr/include/wx-3.0/wx/strconv.h:117:24: note:   no known conversion for argument 1 from ‘wxString’ to ‘const wchar_t*’
Makefile:305: recipe for target 'CommonFunctions.o' failed
make[2]: *** [CommonFunctions.o] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2/src'
Makefile:309: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-thranduil/aur-discwrapper/src/discwrapper-1.2.2'
Makefile:197: recipe for target 'all' failed
make: *** [all] Error 2
==> ERREUR : Une erreur s’est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire discwrapper.
==> Relancer la compilation de discwrapper ? [o/N]
==> ----------------------------------------------

Comment compiler libopenshot

#8Messageil y a 10 ans

non là c'est un problème de pkgbuild...

ldconfig met à jour le référentiel des bibliothèques; le v c'était pour voir ce qui sortait en filtrant avec grep pour voir seulement libunittest.

tu peux réessayer ta compilation ?

Comment compiler libopenshot

#9Messageil y a 10 ans

Compris pour ldconfig. Voici un autre cmake puis un make (au cas où même si je savais que cela échourait : l'espoir fait vivre :siffle ) puis encore un cmake. Même resultat. Une idée, stupide mais une idée. Devrais-je peut être spécifier le path pour libunittest mais comment ?

[thranduil@thorielle build]$ cmake ../
--------------------------------------------------------------
Welcome to the OpenShot Build System! CMake will now check for all required build
dependencies and notify you of any missing files or other issues. If you have any
questions or issues, please visit <http://www.openshot.org/>.
--------------------------------------------------------------
Determining Version Number (from Version.h file)
--> MAJOR Version: 0
--> MINOR Version: 0
--> BUILD Version: 1
--> SO/API/ABI Version: 1
--> VERSION: 0.0.1

--------------------------------------------------------------
Generating build files for openshot (0.0.1)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
-- Ruby executable: /usr/bin/ruby
-- Ruby vendor arch dir: /usr/lib/ruby/vendor_ruby/2.1.0/x86_64-linux
-- Ruby include path: /usr/include/ruby-2.1.0;/usr/include/ruby-2.1.0/x86_64-linux
-- Could NOT find UNITTEST++ (missing:  UNITTEST++_LIBRARY UNITTEST++_INCLUDE_DIR)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
UNITTEST++_INCLUDE_DIR
   used as include directory in directory /home/thranduil/libopenshot/tests
   used as include directory in directory /home/thranduil/libopenshot/tests
UNITTEST++_LIBRARY
    linked by target "tester" in directory /home/thranduil/libopenshot/tests

-- Configuring incomplete, errors occurred!
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeOutput.log".
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeError.log".
[thranduil@thorielle build]$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
[thranduil@thorielle build]$ cmake ../
--------------------------------------------------------------
Welcome to the OpenShot Build System! CMake will now check for all required build
dependencies and notify you of any missing files or other issues. If you have any
questions or issues, please visit <http://www.openshot.org/>.
--------------------------------------------------------------
Determining Version Number (from Version.h file)
--> MAJOR Version: 0
--> MINOR Version: 0
--> BUILD Version: 1
--> SO/API/ABI Version: 1
--> VERSION: 0.0.1

--------------------------------------------------------------
Generating build files for openshot (0.0.1)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
-- Ruby executable: /usr/bin/ruby
-- Ruby vendor arch dir: /usr/lib/ruby/vendor_ruby/2.1.0/x86_64-linux
-- Ruby include path: /usr/include/ruby-2.1.0;/usr/include/ruby-2.1.0/x86_64-linux
-- Could NOT find UNITTEST++ (missing:  UNITTEST++_LIBRARY UNITTEST++_INCLUDE_DIR)

-- Note: BLACKMAGIC_DIR environment variable is not defined
-- Could NOT find BLACKMAGIC (missing:  BLACKMAGIC_LIBRARY_DIR BLACKMAGIC_INCLUDE_DIR)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
UNITTEST++_INCLUDE_DIR
   used as include directory in directory /home/thranduil/libopenshot/tests
   used as include directory in directory /home/thranduil/libopenshot/tests
UNITTEST++_LIBRARY
    linked by target "tester" in directory /home/thranduil/libopenshot/tests

-- Configuring incomplete, errors occurred!
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeOutput.log".
See also "/home/thranduil/libopenshot/build/CMakeFiles/CMakeError.log".
[thranduil@thorielle build]$

Comment compiler libopenshot

#10Messageil y a 10 ans

bon je viens d'essayer, et j'ai bien d'autres problèmes (puisque j'ai compilé libopenshot-audio, mais je l'ai pas installé), mais j'ai consulté les fichiers de configuration, et il semble que ce qui manque, ce sont les sources des librairies (dont libunittest); Cmake les cherche dans /usr/include (et quelques autres répertoires), mais j'ai cherché et après l'installation de libunittest, j'ai bien les deux libunittest.so dans /usr/lib, sauf que Cmake cherche aussi un UnitTest++.h.
il va falloir trouver l'option de Yaourt qui permet de conserver les sources, et réinstaller toutes les librairies avec cette option

et puis dans tes dépendances, il manque qt5-multimedia et une API Blackmagic (plusieurs paquets proposent ça, mais je vois pas lequel est le bon)

Comment compiler libopenshot

#11Messageil y a 10 ans

qt5-base ; normalement il devrait installer aussi tout ce concerne qt5 dont qt5-webkit, svg, tools, [b]multimédia[/b]


En fait, je l'avais mis mais je dois avouer que ma fainéantise de répéter qt5 à chaque fois (cad pour svg, tools, multimédia et les autres qui sont installés derrières...) n'a pas rendu tout ceci clair. :maître:
Je vais modifier ceci tout de suite.

Pour ce qui concerne Blackmagick, ne t'inquiete pas, c'est normal, tu n'as pas ce genre de produit sur ton ordi comme moi, du moins pour l'instant.
On a intégré ce genre de produit car :
-ils ont une API Linux
-ils sont populaires auprès des amateurs et des professionnels.
-ils sont très performants.
Que peut-tu faire avec ? Lors de Scale11X (cad celui de l'année dernière ndrl http://linuxevolution.wordpress.com/2013/02/22/openshot-a-scale-11x/), Jonathan a démontré la stabilité et la puissance de ce que Libopenshot pouvait faire avec ce genre de produit à l'aide de 2 cartes Blackmagics. Le visiteur était placé sur un fond vert, filmé sur une caméra sur trépied. Le tout envoyé en direct à la fameuse carte qui l'envoyait à liboepnshot qui ajoutait un fond et divers petites choses qui lui, une fois ces tâches finies le renvoyait illicopresto par le biais d'une 2 eme carte à une tv (et par la même occasion à une tablette mais bon là, je ne suis pas sur que ce soit blackmagick qui l'ai fait). Une screenshot était prise toutes les 3 ou 5 secondes ( je ne me souviens plus). Cela a fonctionné sans probleme pendant trois jours. :clap:siffle:bien:pompom:

Que propose-tu ? Y a t-il quelque chose à modifier dans le cmake faut-il lui spécifier le chemin vers usr/lib64/ ?

Comment compiler libopenshot

#12Messageil y a 10 ans

non, non, l'emplacement des libs compilées est bon; simplement on n'a pas les sources, et il les cherche dans:

FIND_PATH(UNITTEST++_INCLUDE_DIR UnitTest++.h
    ${UNITTEST_DIR}/include/unittest++
    $ENV{UNITTEST_DIR}/include/unittest++
   $ENV{UNITTEST_DIR}/src
    $ENV{UNITTEST_DIR}
    ~/Library/Frameworks
    /Library/Frameworks
    /usr/local/include
    /usr/include
    /usr/include/unittest++
    /sw/include # Fink
    /opt/local/include # DarwinPorts
    /opt/local/include/UnitTest++
    /opt/csw/include # Blastwave
    /opt/include
    [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment]/include
    /usr/freeware/include

comme tu le vois, c'est UnitTest++.h qu'il cherche (l'entête des sources) et ça, on ne l'a pas; pour les paquets construits depuis AUR, on a les sources, mais elles sont supprimées à la fin de la construction du paquet.
pour les garder:

yaourt -S --export <repertoire où on veut mettre les sources> <nom du paquet>

pour les paquets des dépôts officiels, il faut normalement les construire depuis ABS, en ajoutant l'option "b"

yaourt -Sb --export <repertoire où on veut mettre les sources> <nom du paquet>

mais je sais pas comment ça faire avec Manjaro (ABS est pour Arch)...

ce qui est sûr, c'est qu'il faudrait (re)faire l'installation de toutes tes dépendances de cette façon

Comment compiler libopenshot

#13Messageil y a 10 ans

Je ne comprends pas trop l,utisation de yaourt ici car j,ai tout installer avec pacman

Comment compiler libopenshot

#14Messageil y a 10 ans

Cenwen a écrit :Je ne comprends pas trop l,utisation de yaourt ici car j,ai tout installer avec pacman

Salut

Tu peux très bien utiliser yaourt, ça ne gêne en rien. yaourt utilise pacman. Rien n'interdit d'installer un paquet des dépôts officiels en se servant de yaourt.

Comment compiler libopenshot

#15Messageil y a 10 ans

Pacman ne sait pas installer les sources, et tu as besoin de ces sources pour compiler libopenshot, ou au moins les entêtes (headers).
pour tout ce que tu as obtenu par Pacman, pas de soucis, les entêtes ont été placées dans /usr/include automatiquement; pour les paquets obtenus via AUR, c'est un peu plus anarchique: certains sont bien fournis avec les entêtes, placés dans /usr/include, d'autres non.
pour Libunittest, ce n'est pas fait; c'est pour ça qu'il faut que tu exportes les sources dans le répertoire de ton choix au moment de la construction; quand ce sera fait, crée un répertoire /usr/include/unittest++ et copie dedans tous les fichiers *.h que tu trouveras dans le répertoire où tu as exporté les sources.
pour Libopenshot-audio, c'est pareil: copie tous les fichiers *.h dans /usr/include/libopenshot-audio/.

ton message d'erreur vient du fait que les entêtes (pas les *.so) n'ont pas été trouvées...

Comment compiler libopenshot

#16Messageil y a 10 ans

ewolnux a écrit :
Cenwen a écrit :Je ne comprends pas trop l,utisation de yaourt ici car j,ai tout installer avec pacman

Salut

Tu peux très bien utiliser yaourt, ça ne gêne en rien. yaourt utilise pacman. Rien n'interdit d'installer un paquet des dépôts officiels en se servant de yaourt.


Salut Ewolnux.

Merci pour cette précision pour installer un paquet officiel avec yaourt. Je savais que yaourt est une "sous couche" (si je peux le dire comme ça) de pacman mais je pensais que ce n'était que pour AUR.

Pacman ne sait pas installer les sources, et tu as besoin de ces sources pour compiler libopenshot, ou au moins les entêtes (headers).
pour tout ce que tu as obtenu par Pacman, pas de soucis, les entêtes ont été placées dans /usr/include automatiquement; pour les paquets obtenus via AUR, c'est un peu plus anarchique: certains sont bien fournis avec les entêtes, placés dans /usr/include, d'autres non.
pour Libunittest, ce n'est pas fait;


Donc si je comprends bien je ne touche à rien sauf pour libunittest.

; c'est pour ça qu'il faut que tu exportes les sources dans le répertoire de ton choix au moment de la construction; quand ce sera fait, crée un répertoire /usr/include/unittest++ et copie dedans tous les fichiers *.h que tu trouveras dans le répertoire où tu as exporté les sources.
pour Libopenshot-audio, c'est pareil: copie tous les fichiers *.h dans /usr/include/libopenshot-audio/.


Okay. Si tout vas bien, je m'en occupe demain ou au pire Vendredi soir. Je te tiens au courant. ;) Encore Merci.

Comment compiler libopenshot

#17Messageil y a 10 ans

Désolé pour le retard. :siffle Ce n'est pas fair-play de ma part. :maître:

Cependant, j'ai testé lundi/Mardi de la semaine qui a suivit sans succès. Mais j'ai fait une erreur en retéléchargeant, avec Yaourt, libunittest dans le dossier Opt. Puis, j'ai tenté de recompiler. Je ne me souviens plus si j'ai copié l'entete dans usr/lib64. Bien entendu, cela a échoué. Normal, je n'avais pas lu le dernier paragraphe de Loubrix. :maisnon:

Si j'ai le temps (un peu de temps) vu que je me suis remis à coder, je reessayerai.

D'un autre coté,un nouveau dev a rejoint l'équipe et a suffisament de connaissance pour mettre un processus qui permettra d'avoir des binaires/installateurs pour tous les systèmes dont ArchLinux. Et ce assez rapidement. Les Debian/Ubuntu sont prets (ou presque). Viendra ensuite Arch et Gentoo puis Redhat. Je vais voir avec lui et l'aiguiller sur ce thread et l'aide précieuse que j'ai reçu..

Je vous tiens au courant sur ce thread que je marquerai comme résolu une fois ceux-ci prets (et les bons liens qui vont bien). Une fois, la beta vous pourrez tester la version qt. Notez qu'au début elle ressemblera presque comme 2 gouttes d'eau à l'actuelle. :siffle:clap

Encore merci Loubrix pour ton aide, ton temps et les connaissances que j'ai acquises (enfin plus ou moins).

Comment compiler libopenshot

#18Messageil y a 10 ans

Bon, des news toutes fraiches du front que je n'ai pas eu encore le temps de tester puique je viens juste de les voir.
Foster (McLane) a réalisé les pkbuild pour libopenshot-audio et libopenshot. Ceux-ci sont disponibles sur AUR ici : https://aur.archlinux.org/packages/libopenshot-audio-bzr/ et ici https://aur.archlinux.org/packages/libopenshot-bzr/

Cependant, suite au probleme avec unittest, il faut faire des changements dans unittestpp. Foster c'est proposé de maintenir le paquetage depuis que le mainteneur actuel est aux abonnés absent. Ce sera fait dès une prochaine maj.
Si certaines personnes veulent ce paquetage, qu'elles me contactent, je me chargerai de le leur fournir en attendant la maj.
Répondre