compilation de l'exemple cpp de bibliotheque "libdash"
Bonjour,
j'essai de compiler l'exemple de la bibliotheque libdash avec le systéme de construction de logicielles CMake(je travaille sur ubuntu 12.04 LTS 64 bits) ,le dossier de l'exemple contient le fichier CMakeLists.txt donc je suis placé dans ce dossier et et j'ai ercit la ligne de commande suivante:
Code:
cmake . -G"Unix Makefiles"
cette insrtuction affiche le msg suivant:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| (-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find LibAV (missing: LIBAV_ROOT_DIR LIBAV_INCLUDE_DIR
LIBAV_AVCODEC_LIBRARY LIBAV_AVDEVICE_LIBRARY LIBAV_AVFILTER_LIBRARY
LIBAV_AVFORMAT_LIBRARY LIBAV_AVUTIL_LIBRARY LIBAV_SWSCALE_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
FindLibAV.cmake:198 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:6 (find_package)
-- Configuring incomplete, errors occurred! ) |
et je ne trouve pas le fichier Makefile alors quand j'ai ecrit la ligne de commande:
je trouve :
Code:
(make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.).
est-ce quelqu'un peut m'aider svp
Merci