yangh / sevensquare

Android screencast wroted in QT
214 stars 56 forks source link

installation problem: "g++: Command not found" #10

Closed TheoRet closed 7 years ago

TheoRet commented 7 years ago

Hello, I am on Linux Mint 18.1 Mate. I have problems installing with the following method: sudo apt-get install android-tools-adb qt4-qmake libqt4-dev libqtcore4 libqtgui4 wget https://github.com/yangh/sevensquare/archive/master.zip unzip master.zip;cd sevensquare-master;make

The following errora occurs after executing the make command:

mkdir -p build (cd build && qmake-qt4 -o Makefile ../seven-square.pro) ./contributes/generate-keymap.sh Generate keymap header from src/keycodes.h...58 key map generated in src/keymap-generated.h. (cd build && make) make[1]: Entering directory '/home/d/sevensquare-master/build' Makefile:209: warning: overriding recipe for target 'moc_adbfb.cpp' Makefile:204: warning: ignoring old recipe for target 'moc_adbfb.cpp' g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I../../sevensquare-master -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I../../sevensquare-master -I. -o main.o ../src/main.cpp make[1]: g++: Command not found Makefile:248: recipe for target 'main.o' failed make[1]: [main.o] Error 127 make[1]: Leaving directory '/home/d/sevensquare-master/build' Makefile:11: recipe for target 'app' failed make: [app] Error 2

Ideas?

TheoRet commented 7 years ago

ok, found the answer here: http://askubuntu.com/questions/725057/g-command-not-found-when-building-sevensquare-with-make

sudo apt-get install build-essential