T O P I C R E V I E W |
fabionet31 |
Posted - 21/07/2018 : 15:44:44 Hi,
i need to install LK800 on Raspberry Pi 2 Model B, i see this message " LK can be compiled to produce executable for Raspberry PI."
can i have information for this?
in this page: https://github.com/LK8000/LK8000/wiki/Linux
there are many informations but not sure is correct procedure and I'm not sure the correct source code:
https://github.com/LK8000/LK8000
|
11 L A T E S T R E P L I E S (Newest First) |
Boooing |
Posted - 19/12/2018 : 15:32:28 Could someone give me a step-by-step instruction on how to install LK8000 on a raspberry pi? Did I read this right I have to compile it first? |
Romek |
Posted - 23/11/2018 : 09:46:47 It looks like that I overcomplicated this a lot. Thank you for explanation - now it is good.
I have another observation - maybe this is for another topic. I am temporally using 'Raspbian Stretch with desktop' and when I turn LK8000 on, use it, and then close it, I can see that every touch had an effect not only on LK8000 but also on what was 'below' so Rasbian GUI - e.g. new windows are open or/and moved, etc. Is there any way to prevent it? |
brunotl |
Posted - 22/11/2018 : 12:47:39 why do you use $sudo ?
debian don't preserve $HOME envvars for sudo, when you use sudo your $HOME directory become "/root", so :
with sudo "~/LK8000" is "/root/LK8000" without sudo "~/LK8000" is "/home/pi/LK8000" ( if your user is 'pi' for sure )
all files AND binary are probably in "/root/LK8000"
|
Romek |
Posted - 22/11/2018 : 09:44:03 Just for double check, I removed all files related to LK8000 from my RPI0 and I downloaded LK files from git and I used this time '$sudo make install' command to build. I got to the same situation as the last time, some files are missing. In the following photo: https://imageshack.com/i/pnzjyh6dj you can see on the left side print screen of files just after build is finished and on the right side the same folder after trying to turn on LK8000. New files/folders are created, but still to make it working I need to copy files from other folders into this one.
During every compilation I got a few warnings like this:
CXX Bin/LINUX/Draw/LKDrawWelcome.o Common/Source/Draw/LKDrawWelcome.cpp:45:91: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] ffer,TEXT("%s v%s.%s %s"),_T(LKFORK),_T(LKVERSION),_T(LKRELEASE),_T(__DATE__)); ^ CXX Bin/LINUX/Draw/LKGeneralAviation.o Common/Source/Draw/LKGeneralAviation.cpp:24:2: warning: #warning "to slow, rewrite using freetype outline" [-Wcpp] #warning "to slow, rewrite using freetype outline" ^~~~~~~ |
brunotl |
Posted - 20/11/2018 : 14:29:26 you don't have right png files...
"$make install" generate right files and copy it in your '~/home/pi/LK8000', if it's not done you should have an error somewhere...
for resume : image are converted to right format line 1710 of Makefile using imagemagick and all required files (including png's) are copied to installation path line 1541 to 156 of Makefile
you do a build on PI or you do a cross compilation ?
if you do a cross compilation, use "$make TARGET=PI distrib" you will get a "PI-install.zip" archive containing all required files .... |
Romek |
Posted - 19/11/2018 : 22:52:40 Thank you, it was a good tip. Directory that works for me is '~/home/pi/LK8000'. The following files were missing: 1) files from _Bitmaps with extension *.PNG (present files there were with *.BMP extension). 2) files _Configuration 3) folder _Language was missing 4) DEFAULT_MENU.TXT from _System folder I do not know why these files/folders were missing. I added files to _Bitmaps folder with *.PNG extension from KoboRoot.tgz, however some graphics are not good, see left down corner in this photo: https://imageshack.com/i/poSGMfE8j After some time even more icons appeared in this corner. I will investigate this further. |
brunotl |
Posted - 19/11/2018 : 21:25:28 install directory used by makefile is "~/LK8000", you can check RUNTIME.log for see what directory is missing ... |
Romek |
Posted - 19/11/2018 : 20:24:14 I did run 'make TARGET=PI install' |
brunotl |
Posted - 19/11/2018 : 20:21:20 you have run '$make install' ? |
Romek |
Posted - 19/11/2018 : 20:04:19 Hi, I tried to install LK8000 on RPI Zero W and I got the following error: "no lk800 folder check installation". LK8000 was built in /home directory. This didn't work so I tried different folders but without a success. Can someone confirm that LK8000 should be built in /home directory? If so, do you know where I did a mistake? |
brunotl |
Posted - 23/07/2018 : 20:44:56 this is all you need :
quote:
Raspberry Pi 2
dependencies : zlib1g-dev libzzip-dev libpng-dev libfreetype6-dev libgeographic-dev libboost-dev libinput-dev libudev-dev libglm-dev libsndfile1-dev libasound2-dev xsltproc imagemagick
PI=<rPi rootfs directory> required only for cross compile.
|