Re: erreur de compilation avec cmake

トップ ページ

このメッセージに返信
著者: Raphaël Dorado
日付:  
To: guilde
題目: Re: erreur de compilation avec cmake
Bonsoir Anne,

Il faut déclarer les variables dans le fichier CMakeLists.txt

TAGLIB_INCLUDE_PATH=<chemin>

La page suivant devrait t'aider :

https://florian-goujeon.developpez.com/cours/cmake/initiation/#LIII-D-3

--Raf

Le 21/04/2018 à 16:53, anne.guilde@??? a écrit :
> bonjour,
>
> J'essaie de compiler avec cmake gui.
>
> J'ai mis le chemin du code source et le chemin du code des binaires.
>
> Je clique sur configure.
>
> -----
> The C compiler identification is GNU 6.3.0
> The CXX compiler identification is GNU 6.3.0
> 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
> Found wxWidgets:
> -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0;-lwx_baseu_net-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_xrc-3.0;-lwx_gtk2u_qa-3.0;-lwx_gtk2u_richtext-3.0
> (found version "3.0.2")
> TagLib header files path: TAGLIB_INCLUDE_PATH-NOTFOUND
> TagLib: /usr/local/lib/libtag.a
> Firebird interface:
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/firebird_runtime/firebird/libfbembed.so
>
> Embedded firebird files path: FB_EMBEDDED_PATH-NOTFOUND
> (in red)
> 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:
> TAGLIB_INCLUDE_PATH
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/ibpp/core
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>    used as include directory in directory
> /home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3-src/src/data_interface
>
> Configuring incomplete, errors occurred!
> See also
> "/home/anne/sda1/anne/Documents/anne/linux/vvv-5/VVV-1.3.0-x86_64/CMakeFiles/CMakeOutput.log".
>
> ----
>
> J'ai
> TagLib header files path: TAGLIB_INCLUDE_PATH-NOTFOUND
> Embedded firebird files path: FB_EMBEDDED_PATH-NOTFOUND
>
> Dans http://vvvapp.sourceforge.net/how_to_compile_vvv.html
> Il dit Voici une liste des variables qui doivent être définies:
> Mais comment définir ces variables?
>
> Je voulais compiler en lignes de commande mais je n'ai pas trouvé comment
> mettre le fichier des binaires.
> Man cmake : pas tout compris.
>
> Si quelqu'un pouvait m'aider.
>
> Je voulais faire un débogage.
> Comment faire?
>
> Merci
> Anne
>
>