mooltipass / moolticute

Mooltipass crossplatform daemon/tools
GNU General Public License v3.0
143 stars 67 forks source link

Compiling on arch linux #4

Closed NicoHood closed 8 years ago

NicoHood commented 8 years ago
g++ -c -pipe -O2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../moolticute -I. -I../src/QtAwesome -I../src -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtWebSockets -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o QtAwesome.o ../src/QtAwesome/QtAwesome.cpp
../src/QtAwesome/QtAwesome.h:392:7: error: expected identifier before numeric constant
       linux                = 0xf17c,
       ^
../src/QtAwesome/QtAwesome.h:392:7: error: expected '}' before numeric constant
../src/QtAwesome/QtAwesome.h:392:7: error: expected unqualified-id before numeric constant
In file included from ../src/QtAwesome/QtAwesome.cpp:10:0:
../src/QtAwesome/QtAwesome.h:699:1: error: expected declaration before '}' token
 }
 ^
Makefile.gui:417: recipe for target 'QtAwesome.o' failed
make[1]: *** [QtAwesome.o] Error 1
make[1]: Leaving directory '/home/alarm/hackallthethings/moolticute/build'
Makefile:58: recipe for target 'sub-gui-pro-make_first' failed
make: *** [sub-gui-pro-make_first] Error 2

I installed

sudo pacman -S --needed qt5-websockets libusb qt5-base

Any ideas what might be missing? Those packages are available, starting with qt:

[alarm@alarmpi build]$ pacman -S qt     
qt-assistant-compat   qt4pas                qt5-doc               qt5-imageformats      qt5-sensors           qt5-translations      qt5-x11extras         qtcurve-gtk2          qtkeychain            qtspim
qt-at-spi             qt5-3d                qt5-enginio           qt5-location          qt5-serialbus         qt5-virtualkeyboard   qt5-xmlpatterns       qtcurve-qt4           qtmpc                 qtwebkit
qt-recordmydesktop    qt5-base              qt5-examples          qt5-multimedia        qt5-serialport        qt5-wayland           qt5ct                 qtcurve-qt5           qtox                  
qt4                   qt5-canvas3d          qt5-feedback          qt5-quickcontrols     qt5-svg               qt5-webchannel        qtav                  qtcurve-utils         qtractor              
qt4-gstreamer         qt5-connectivity      qt5-graphicaleffects  qt5-quickcontrols2    qt5-systems           qt5-webkit            qtchooser             qtfm                  qtscriptgenerator     
qt4-private-headers   qt5-declarative       qt5-gstreamer         qt5-script            qt5-tools             qt5-websockets        qtcreator             qtiplot               qtscrobbler
raoulh commented 8 years ago

Fixed in https://github.com/raoulh/moolticute/commit/200487a5c3524d86fc178b34c86247c58a09c774

NicoHood commented 8 years ago

Thanks. Compiling now finished. I will try the App later and open a PR for some readme updates, so other users can recompile faster.