neuronalmotion / qtrpi

An easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
MIT License
104 stars 40 forks source link

Libpcre16.so.3 not found #75

Closed jekajarkov closed 6 years ago

jekajarkov commented 6 years ago

Hi, I done the full install. On a pi2@jessy. All seem be fine. Then I compiled my qt qml app and upload it to the pi. By trying to start it I got the first error libpng not found. So I take a quick research and install the lib. Now I have an error libpcre16.so.3 not found. I also try to google it and install but nothing help.

synapticvoid commented 6 years ago

Hi there, Have you tried to install the libpcre package with apt-get install libpcre3-dev?

jekajarkov commented 6 years ago

Hi,

Thanks for your response. Yes I already install that package, but that's not helped

----- Nachricht beantworten ----- Von: "Robin Penea" notifications@github.com An: "neuronalmotion/qtrpi" qtrpi@noreply.github.com Cc: "jekajarkov" eugenschreiber@hotmail.com, "Author" author@noreply.github.com Betreff: [neuronalmotion/qtrpi] Libpcre16.so.3 not found (#75) Datum: Do., Nov. 23, 2017 09:48

Hi there, Have you tried to install the libpcre package with apt-get install libpcre3-dev?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/neuronalmotion/qtrpi/issues/75#issuecomment-346558867, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgV1HD8in9-xwEZKIBTAI5EC4dVz5_mcks5s5TFGgaJpZM4Qn_zd.

synapticvoid commented 6 years ago

Alright, let's roll up our sleeves !

jekajarkov commented 6 years ago

ok thats the steps I done.

try to install the package again. "sudo apt-get install libpcre3-dev" --> libpcre3-dev is already the newest version.

try to find with "find /usr/ -name libpcre16.so.3 --> no result

try to find with "find /usr/ -name libpcre16.so* --> no result

synapticvoid commented 6 years ago

What about installing libpcre16-3 with sudo apt install libpcre16-3?

jekajarkov commented 6 years ago

unfortunately it does not work either.

--> Unable to locate package libpcre16-3

----- Nachricht beantworten ----- Von: "Robin Penea" notifications@github.com An: "neuronalmotion/qtrpi" qtrpi@noreply.github.com Cc: "jekajarkov" eugenschreiber@hotmail.com, "Author" author@noreply.github.com Betreff: [neuronalmotion/qtrpi] Libpcre16.so.3 not found (#75) Datum: Fr., Nov. 24, 2017 09:46

What about installing libpcre16-3 with sudo apt install libpcre16-3?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/neuronalmotion/qtrpi/issues/75#issuecomment-346773616, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgV1HO-_Y_TCm_AIeful9g15pMcAF8bAks5s5oJhgaJpZM4Qn_zd.

GuillaumeLazar commented 6 years ago
jekajarkov commented 6 years ago

Hi, yes I updated the OS via sudo apt-get update but that not helped. Actually I used a yocto project image. I compiled the application on my Ubuntu system with qtrpi and download it to the pi. Now it's running.

ucondua commented 6 years ago

I made a full qtrpi and get a lot of mistakes, I can not handle this cnd @ d: ~ $ sudo apt install libpcre16-3 Reading package lists ... Done Building dependency tree Reading state information ... Done E: Unable to locate package libpcre16-3

ucondua commented 6 years ago

I install all packages, but QML debugging is enabled. Only use this in a safe environment. This application failed to start because it could not find or load the Qt platform plugin "eglfs" in "".

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem. Процесс завершён сигналом

RobinChap commented 6 years ago

You can also try to recompile your eglfs platform If you cross compiled like I did :

cd ~/raspi/qtbase/src/plugin/platforms/eglfs ~/raspi/qt5/bin/qmake make make install

ucondua commented 6 years ago

Hello! I went the other way. I installed the missing libraries and installed sudo apt-get install raspberrypi-ui-mods. It works. It is right? But I have one problem. I installed QtGraphicaleffects and it works for me, but I can not enable the designer to generate an error. What to do? Thank you. screenshot 2018-03-23 22-19-44

ucondua commented 6 years ago

The graphic effects work! But does not allow to include a graphic designer, an error

"/home/reanon/Qt5.8.0/5.8/gcc_64/bin/qmlplugindump" returned the exit code: 3. Arguments: -nonrelocatable QtGraphicalEffects 1.0. Error parsing dependencies file : illegal value at 0 failed to promethod of qmlimportscanner QQmlComponent: Component is not ready file: ///opt/qtrpi/raspi/qt5pi/qml/typelist.qml: 2: 1: plugin can not be loaded for module "QtGraphicalEffects": '/opt/qtrpi/raspi/qt5pi/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so 'is an invalid ELF object (wrong cpu architecture)

What to do?