viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
284 stars 64 forks source link

unable to build on rpi3 with provided image #13

Closed mccob closed 7 years ago

mccob commented 7 years ago

Downloaded

http://files.headunit.viktorgino.me/image_2017-08-08-Raspbian-viktorginos-headunit-lite.zip

Followed

http://headunit.viktorgino.me/

When launching

qmake && make -j4 sub-app-pro

after 5-10 minutes, get build error :

[...]
DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -
DQT_CORE_LIB -I. -Iheadunit/hu -Iheadunit/hu/generated.x64 -Iheadunit/common -Iqml_gui/quickcross 
 -isystem /usr/include/libusb-1.0 -isystem /usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-
 2.0/include -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/Qt5GStreamer -isystem 
 /usr/include/arm-linux-gnueabihf/qt5/QtCore -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/taglib -isystem /usr/include/arm-linux-gnueabihf/qt5/QtMultimediaWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -isystem /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5/QtSql -isystem /usr/include/arm-linux-gnueabihf/qt5/QtConcurrent -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o moc_mediascanner.o moc_mediascanner.cpp

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Makefile.app:1444: recipe for target 'qrc_qml.o' failed
make[1]: *** [qrc_qml.o] Error 4
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/pi/headunit-desktop'
Makefile:41: recipe for target 'sub-app-pro' failed
make: *** [sub-app-pro] Error 2
pi@raspberrypi:~/headunit-desktop $
viktorgino commented 7 years ago

Can you please include the whole build output?

Also I've included all the built libraries plus a fairly recent version of headunit-desktop.

To run it just : sudo xinit /opt/headunit-desktop/headunit-app

viktorgino commented 7 years ago

Also just added some extra info in README.md to avoid confusion in the future

mccob commented 7 years ago

sorry, I haven't seen that there is a new image

downloaded last image (17-08) and it's build is working