This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Problem running appimage on rpi4 #4
Comments
OK.
Some library is missing; probably from https://github.com/koendv/qt5-opengl-raspberrypi
First, find the library:
wget https://github.com/koendv/qt5-opengl-raspberrypi/releases/download/v5.15.2-1/qt5-opengl-dev_5.15.2_armhf.deb
ar x qt5-opengl-dev_5.15.2_armhf.deb
tar xvf data.tar.xz
find ./usr/ -name libQt5EglFSDeviceIntegration.so.5
-> ./usr/lib/qt5.15.2/lib/libQt5EglFSDeviceIntegration.so.5
This is the library. (I think)
next: get the files from the OpenSCAD appimage
wget https://github.com/koendv/openscad-raspberrypi/releases/download/v1.6/OpenSCAD-2021.03.26-armhf.AppImage
chmod +x ./OpenSCAD-2021.03.26-armhf.AppImage
./OpenSCAD-2021.03.26-armhf.AppImage --appimage-extract
This creates a directory squashfs-root with files in it.
next, add the library to the appimage.
copy the library ./usr/lib/qt5.15.2/lib/libQt5EglFSDeviceIntegration.so.5 to ./squashfs-root/usr/lib
cp ./usr/lib/qt5.15.2/lib/libQt5EglFSDeviceIntegration.so.5 ./squashfs-root/usr/lib
Try whether it works now:
cd ./squashfs-root
./AppRun
If it works, re-create the appimage:
From the parent directory of ./squashfs-root
wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-armhf.AppImage
chmod +x ./appimagetool-armhf.AppImage
./appimagetool-armhf.AppImage squashfs-root
This gives you the new OpenScad appimage.
Does this solve the problem?
koen
…On Tue, 04 May 2021 14:51:55 -0700 Maciej Sokołowski ***@***.***> wrote:
Hello. I'm trying to run openscad on rpi4. Thanks for providing
builds! I'm having some Qt problems.
I'm running
`QT_DEBUG_PLUGINS=1 ./OpenSCAD-2021.03.26-armhf.AppImage`. I got
error `libQt5EglFSDeviceIntegration.so.5: cannot open shared object
file: No such file or directory`. After running `sudo apt install
libqt5gui5` error changed to
`/lib/arm-linux-gnueabihf/libQt5EglFSDeviceIntegration.so.5: symbol
_ZN15QPlatformWindow17startSystemResizeERK6QPointN2Qt6CornerE version
Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time
reference`. Any hints on how to proceed further?
|
Any hints on how to proceed further?
If you installed Raspberry Pi os "lite" and upgraded to desktop manually, try the following:
sudo apt-get install libxcb* libxkbcommon-x11-0
koen
|
There's a new release, OpenSCAD-2021.09.13-armhf.AppImage, that may solve this problem. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello. I'm trying to run openscad on rpi4. Thanks for providing builds! I'm having some Qt problems.
I'm running
QT_DEBUG_PLUGINS=1 ./OpenSCAD-2021.03.26-armhf.AppImage
. I got errorlibQt5EglFSDeviceIntegration.so.5: cannot open shared object file: No such file or directory
. After runningsudo apt install libqt5gui5
error changed to/lib/arm-linux-gnueabihf/libQt5EglFSDeviceIntegration.so.5: symbol _ZN15QPlatformWindow17startSystemResizeERK6QPointN2Qt6CornerE version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference
. Any hints on how to proceed further?The text was updated successfully, but these errors were encountered: