Impossible de compiler Particle-Qt à l’aide de qmake dans Ubuntu 15.04

Acide DeOxyRibose

Impossible de compiler Particle-Qt à l’aide de qmake dans Ubuntu 15.04


Bonne journée!

J’essaie de compiler le client Particle-Qt sur Ubuntu 15.04 Vivid Velvet en utilisant GCC 5.0 et libboost1.55

Donc, mon système génère des erreurs, ce sont les suivantes:

Lors de l’exécution de qmake , qmake ceci:

 Project MESSAGE: Building with UPNP support Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Removed plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element Warning: ignoring <defaultcodec> element 

Et lors de l’exécution de Make, je reçois:

 cd /media/red_gene/DeOxyRibose/Particle_REACQ/src/leveldb && CC=gcc CXX=g++ make OPT="-m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a make[1]: Entering directory '/media/red_gene/DeOxyRibose/Particle_REACQ/src/leveldb' make[1]: 'libleveldb.a' is up to date. make[1]: 'libmemenv.a' is up to date. make[1]: Leaving directory '/media/red_gene/DeOxyRibose/Particle_REACQ/src/leveldb' cd /media/red_gene/DeOxyRibose/Particle_REACQ; /bin/sh share/genbuild.sh /media/red_gene/DeOxyRibose/Particle_REACQ/build/build.h fatal: Not a git repository (or any parent up to mount point /media/red_gene/DeOxyRibose) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). g++ -c -m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o build/bitcoin.o src/qt/bitcoin.cpp src/qt/bitcoin.cpp:5:24: fatal error: QApplication: No such file or directory compilation terminated. Makefile:1106: recipe for target 'build/bitcoin.o' failed make: *** [build/bitcoin.o] Error 1 

Réponses


 pensée

Le problème est ici:

 QApplication: No such file or directory 

Vous n’avez peut-être pas de fichiers de développement QT installés.

Si vous utilisez debian / ubuntu, essayez:

 apt-get install libqt4-dev 
Acide DeOxyRibose

J’ai dû retirer qt5-qmake et le remplacer par qt4-qmake!

créateur

J’ai dû retirer qt5-qmake et le remplacer par qt4-qmake! -> comment faire?

 

#à, #de, 15.04, Compiler, dans, impossible, l’aide, Particle-Qt, qmake, Ubuntu

 

yahoo

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *