01-19-2018, 08:58 PM | #31 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2018
Device: Kobo mini
|
@tshering - hat page was helpful - thank you.
I managed to compile QT for the Ubuntu desktop and then use qtcreator to build the app and test it on the desktop. However, I now wanted to compile QT using the toolchain in the linked document and the compiler complains about cc1plus being missing. I have setup my enironment PATH correctly (which g++ shows the right binary) and the ./configure command includes the right paths. So all should work, but it doesn't. Code:
export PATH=~/kobo/gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux/arm-linux-gnueabihf/bin:$PATH ./configure -embedded arm -prefix /usr/local/qt4kobo -no-static -shared -opensource -webkit -nomake examples -nomake demos -release -confirm-license Creating qmake. Please wait... g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/home/ssykes/kobo/qt-everywhere-opensource-src-4.8.5/include -I/home/ssykes/kobo/qt-everywhere-opensource-src-4.8.5/include/QtCore -I/home/ssykes/kobo/qt-everywhere-opensource-src-4.8.5/src/corelib/global -I/home/ssykes/kobo/qt-everywhere-opensource-src-4.8.5/src/corelib/xml -I/home/ssykes/kobo/qt-everywhere-opensource-src-4.8.5/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/ssykes/kobo/qt-everywhere-opensource-src-4.8.5/mkspecs/qws/linux-x86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED project.cpp g++: error trying to exec 'cc1plus': execvp: No such file or directory make: *** [project.o] Error 1 Quote:
|
|
01-20-2018, 05:10 PM | #32 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Select "handle update" > "KR install uncontrolled" Thank you again for reporting. |
|
01-20-2018, 05:16 PM | #33 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
01-21-2018, 07:59 AM | #34 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Jan 2018
Device: Kobo H2O2 (2017)
|
Quote:
|
|
01-21-2018, 08:23 AM | #35 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
01-21-2018, 01:09 PM | #36 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2014
Device: Kindle PW
|
|
01-21-2018, 01:33 PM | #37 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
01-21-2018, 02:30 PM | #38 |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
I'm not completely sure, but I think it happens when I open plato from KSM (can't do that directly from nickel), quit plato to go back to KSM, and then start nickel. It does not happen when I make a detour to koreader before starting nickel.
|
01-21-2018, 03:04 PM | #39 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
While nickel is running, press "ps" and look in the output for something like Code:
873 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/run_test_script.png /adds/kbmenu/fmonsh/run_test_script.sh 876 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/switchtokoreader.png /adds/kbmenu/fmonsh/switchtokoreader.sh 879 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/simulate_usb_connection.png /adds/kbmenu/fmonsh/simulate_usb_connection.sh 882 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/poweroff.png /adds/kbmenu/fmonsh/poweroff.sh 885 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/restart_nickel.png /adds/kbmenu/fmonsh/restart_nickel.sh 889 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/exit_nickel.png /adds/kbmenu/fmonsh/exit_nickel.sh 892 root 0:00 /adds/kbmenu/tools/fmon /mnt/onboard/kbmenupngs/toggle_nightmode.png /adds/kbmenu/fmonsh/toggle_nightmode.sh |
|
01-21-2018, 03:32 PM | #40 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
wrong thread
|
01-21-2018, 04:37 PM | #41 | |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Quote:
Of course, as long as usbnet is enabled I don't see the problem with fmon. As soon as it is disabled, nickel starts (from time to time) again without fmon (or at least exit_nickel or toggle_nightmode don't work anymore). |
|
01-21-2018, 04:43 PM | #42 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
01-21-2018, 05:06 PM | #43 | |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Quote:
Edit: And I can trigger it with simulate_usb_connection. I'll check with the old fmon. Last edited by taos; 01-21-2018 at 05:09 PM. |
|
01-21-2018, 05:20 PM | #44 |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
|
01-22-2018, 03:41 PM | #45 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Start Menu 08 | tshering | Kobo Developer's Corner | 1021 | 06-29-2020 04:59 PM |
Kobo-Adding alternative readers using Kobo Start Menu | Ken Maltby | KOReader | 75 | 01-10-2020 01:35 PM |
Kobo Start Menu | tshering | Kobo Developer's Corner | 918 | 10-12-2017 02:32 PM |
Start KOReader automatically with Kobo Start Menu | checcousero | KOReader | 2 | 03-07-2017 11:42 AM |
Kobo Start Menu 07 | tshering | Kobo Developer's Corner | 644 | 03-02-2017 06:40 AM |