May 2, 20215 yr Author There is no errors! Here is the Makefile, output from make and output from qmake: https://1drv.ms/u/s!Avz73tRxHW6Nhuw-rTyBYswqzXU9zQ?e=eF7VLU As You can see at line 1145 in Makefile the lines for deploy starts. I used : make -B -d > make.txt the qmake is copy from screen with -Wall the compiler gives a lot of warnings about QLatin1literal is deprecated: use Qlatin1string [-Wdeprecated-declarations] while compiling. /Sten
May 2, 20215 yr It does not copy the Qt libraries as far as I can see. The rest of the build seems to be ok. Normally the libraries should be taken from QT_INSTALL_LIBS . Warnings can be removed by using "QMAKE_CXXFLAGS += -Wno-deprecated-copy" in a file "build_options.pro" on the project level. Does make -j4 make copydata make deploy as used in build_release.sh work? What Qt version is this? Alex Alex' Projects: Little Navmap
May 2, 20215 yr Author Tried! make copydata goes fine, but make deploy stops with error 139 at line 1146. text file on above link! Sten
May 2, 20215 yr Author Ohh and i got an patchelf failure the first time . I installed it and the next run was the above. Sten Edited May 2, 20215 yr by smkr
May 2, 20215 yr Uh oh. 😦 "Segmentation fault" means that something has crashed. Either the "cp" command while copying libraries or "make". Can you copy the Qt libraries manually to the "deploy/Little Navmap/lib" folder? Alex Alex' Projects: Little Navmap
May 2, 20215 yr Author It works now! 😄😄 The big problem was 'patchelf'. I could not get LNM to work on the UBUNTU card. I got segmentation fault whatever I did. Then I inserted the Buster card. Checked if patchelf was present. It was not. install patchelf and go to build-littlenavmap-release and do 'make copydata' and 'copy deploy' That was that. tomorrow or later I will make a fresh install and try again! Thank you for Your patience and help, Alex. /Sten
May 3, 20215 yr Author Hi I have made a text file with what You need to compile and run Little Navmap on a Raspberry Pi 4. https://1drv.ms/u/s!Avz73tRxHW6Nhuw-PmwxotakHV4Zwg?e=rfxEIc Regards Sten
May 3, 20215 yr Thanks very much Sten for the detailed instructions. Very good of you. I will give it a try. thanks again. regards upkeep
May 3, 20215 yr 5 hours ago, smkr said: I have made a text file with what You need to compile and run Little Navmap on a Raspberry Pi 4. Terrific! Thank you! Do you mind if I put this into the LNM wiki here: https://github.com/albar965/littlenavmap/wiki? Alex Alex' Projects: Little Navmap
May 3, 20215 yr Author Hi Alex Please use it. All should be able to use the RPI4 and Your program. /Sten
May 3, 20215 yr I think it's worth to mention at README file about hard work of Sten on RPi4 porting 🙂 Regards, Piotr Never give up ... - here are details of the whip-round: https://zrzutka.pl/en/pewr2d -> to help my younger son fights against Acute Lymphoblastic Leukemia (blood cancer).
May 3, 20215 yr Just tried the install and all was fine until near the end. I tried three times but each time got the following: git clone --single-branch --branch release/2.6 https://github.com/albar965/littlenavmap.git Cloning into 'littlenavmap'... remote: Enumerating objects: 34768, done. remote: Counting objects: 100% (766/766), done. remote: Compressing objects: 100% (446/446), done. error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet. fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed Not sure what to do next. Hope you can help Thanks Upkeep
May 3, 20215 yr 1 hour ago, smkr said: All should be able to use the RPI4 and Your program. https://github.com/albar965/littlenavmap/wiki/CompilingRaspberryPI I did some minor formatting changes for Github Markdown format. 1 hour ago, ppgas said: I think it's worth to mention at README file about hard work of Sten on RPi4 porting 🙂 Sure! Isn't this obvious? 😉 Alex Alex' Projects: Little Navmap
Archived
This topic is now archived and is closed to further replies.