Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Running the ARM64 port on a PI4B http://sldev.free.fr/forum/viewtopic.php?f=6&t=2304 |
Page 1 of 4 |
Author: | Phil Deakins [ 2022-09-26 14:19:48 ] |
Post subject: | Running the ARM64 port on a PI4B |
Hi Henri, I'm tying to get the ARM version of Cool VL Viewer running on my Raspberry Pi4. I've downloaded:- CoolVLViewer-src-13011.tar.bz2 CoolVLViewer-src-130018.tar.bz2 Being a total linux novice, I imagine only one of them is needed but I don't know which. I've followed the instructions you gave in the SL forum. I.e. I've untarred 13011, changed to the linden/ directory in a terminal, and typed ./linux-build.sh This is what I got:- pi@raspberrypi:~/linden $ ./linux-build.sh =============================================================================== Building a Release viewer. Building for architecture: armv7l Forcing the use of python interpreter: /usr/bin/python3.9 =============================================================================== Running "CXX='g++' cmake -DCMAKE_BUILD_TYPE:STRING=RELEASE -G 'Unix Makefiles' -DUSESYSTEMLIBS:BOOL=OFF -DROOT_PROJECT_NAME:STRING=CoolVLViewer '/home/pi/linden/indra'" in '../viewer-linux-armv7l-release' sh: 1: cmake: not found Cleaning '../viewer-linux-armv7l-release' Error: the command 'cmake' was not found setting DISTCC_DIR to /home/pi/linden/indra/.distcc Error: run "develop.py cmake" first pi@raspberrypi:~/linden $ I tried running develop.py cmake in the same folder which returned "develop.py command not found". There's a folder called 'cmake' in the 'indra' folder and a 'develop.py' script in the scripts folder, which I tried running to no avail. In short, I have no idea what to do. Can you help me please? |
Author: | Henri Beauchamp [ 2022-09-26 14:38:18 ] |
Post subject: | Re: Running the ARM64 port on a PI4B |
Please, read linden/doc/LinuxBuildHowto.txt: it will give you the list of the required tools and libraries to compile the viewer. Here, you need to install cmake from your Linux distribution packages manager. |
Author: | Phil Deakins [ 2022-09-26 15:07:38 ] |
Post subject: | Re: Running the ARM64 port on a PI4B |
Thank you Henri. I installed cmake but, to be perfectly honest, what's in LinuxBuildHowto.txt is totally outside my linux experience and I don't really understand it, let alone how to go about getting everything. Thank you trying, but I'm going to concede and surrender. |
Author: | Henri Beauchamp [ 2022-09-26 16:24:43 ] | |||||||||
Post subject: | Re: Running the ARM64 port on a PI4B | |||||||||
|
Author: | Phil Deakins [ 2022-09-26 17:08:25 ] |
Post subject: | Re: Running the ARM64 port on a PI4B |
I'll try tomorrow, Henri. It looks daunting though, but I'll try |
Author: | Henri Beauchamp [ 2022-09-26 17:49:49 ] | |||||||||
Post subject: | Re: Running the ARM64 port on a PI4B | |||||||||
If the answer is yes and it did not work, did you check you had all runtime libraries installed (with a terminal pointing into the unpacked CoolVLViewer-arm64-1.30.0.3/ directory, type: ./cool_vl_viewer --check-libs) ? For example, libopenal and gstreamer libraries might not be installed by default on your PI and would need to be installed using your packages manager. |
Author: | Phil Deakins [ 2022-09-27 07:53:13 ] | ||||||||||||||||||
Post subject: | Re: Running the ARM64 port on a PI4B | ||||||||||||||||||
I hadn't tried that one, Henri, but I have now and it looks less promising lol. The README-linux.txt file states as a minimum requirement "Computer processor: 64 bits x86 CPU." Running ./cool_vl_viewer --check-libs lists 21 items that are "not a dynamic executable" and "The viewer cannot run on this system". I'm going to soldier on with my previous attempt. I don't know what I'm doing but I have made a little bit of progress with it. |
Author: | Henri Beauchamp [ 2022-09-27 08:07:15 ] | |||||||||||||||||||||||||||
Post subject: | Re: Running the ARM64 port on a PI4B | |||||||||||||||||||||||||||
|
Author: | Phil Deakins [ 2022-09-27 08:12:52 ] |
Post subject: | Re: Running the ARM64 port on a PI4B |
You already have most of it, actually (bash, binutils, python, now cmake)... Search for "stdc++" in your package manager and install the "devel" or "dev" package if not already installed; it should also take care to install g++ and gcc if not already installed. Proceed the same way for "x11" (install any lib*x11-dev*), "mesa" (install mesa*-dev or mesa*-devel), xrender, xinerama... I've discovered that I already have the following packages installed: libstdc++-10-dev/stable,now 10.2.1-6+rpi1 armhf [installed,automatic] g++/stable,now 4:10.2.1-1+rpi1 armhf [installed,automatic] gcc/stable,now 4:10.2.1-1+rpi1 armhf [installed,automatic] x11-common/stable,now 1:7.7+22 all [installed,automatic] x11-xkb-utils/stable,now 7.7+5 armhf [installed,automatic] x11-xserver-utils/stable,now 7.7+8 armhf [installed,automatic] mesa-va-drivers/stable,now 20.3.5-1+rpt4+rpi1 armhf [installed,automatic] mesa-vdpau-drivers/stable,now 20.3.5-1+rpt4+rpi1 armhf [installed,automatic But I don't know if they satisfy the requirements. I think that the libstdc++ might, because it's a dev file, but I don't know about the others. This is what I now get when I run ./linux-build.sh : pi@raspberrypi:~/linden $ ./linux-build.sh =============================================================================== Building a Release viewer. Building for architecture: armv7l Forcing the use of python interpreter: /usr/bin/python3.9 =============================================================================== Running "CXX='g++' cmake -DCMAKE_BUILD_TYPE:STRING=RELEASE -G 'Unix Makefiles' -DUSESYSTEMLIBS:BOOL=OFF -DROOT_PROJECT_NAME:STRING=CoolVLViewer '/home/pi/linden/indra'" in '../viewer-linux-armv7l-release' -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at cmake/Variables.cmake:34 (message): Unsupported architecture armv7l, sorry ! Call Stack (most recent call first): CMakeLists.txt:22 (include) -- Configuring incomplete, errors occurred! See also "/home/pi/linden/viewer-linux-armv7l-release/CMakeFiles/CMakeOutput.log". Cleaning '../viewer-linux-armv7l-release' Error: the command 'cmake' exited with status 1 setting DISTCC_DIR to /home/pi/linden/indra/.distcc Error: run "develop.py cmake" first pi@raspberrypi:~/linden $ And I still fail at running develop.py cmake no matter how I try to run it. Am I getting any warmer? or am I a completely lost cause? |
Author: | Henri Beauchamp [ 2022-09-27 08:16:33 ] | ||||||||||||||||||
Post subject: | Re: Running the ARM64 port on a PI4B | ||||||||||||||||||
A lost cause: ARMv7 denotes a 32 bits CPU, and the viewer can only build and run for 64 bits CPUs... I thought you were owning a PI4B, which got an ARMv8 CPU... Sorry ! |
Page 1 of 4 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |