How to build gattlib - ubuntu-16.04

I am trying to build the gattlib for Raspbian for Raspberry Pi 3. But when followed the instructions on the site: https://github.com/labapart/gattlib and using Linaro cross-compiling toolchain, I was not able to do this in Ubuntu 16.04. Please advise me, if possible, in details what is the correct way to do this. Thanks.

Related

compiling SSTP plugin for network-manager on Raspberry Pi

I'm trying to install sstp VPN plugin for network manager on raspbian arm64. There is no available sstp plugin on the repository for network-manager so I'm assuming I have to compile it by myself. I've been searching online for any available instruction but I couldn't find any. So I appreciate if anyone could give me any information regarding this issue.
I also tried sstp-client package on terminal but that one also wasn't successfull for me. I coulnd't maintain the sstp connection. So currently network-manager-sstp plugin is my last hope. I'm using arm64 debian bullseye Raspbian.

How to install Qpid Proton on Raspberry pi

I want to use Qpid Proton on the raspberry pi 4 but I have trouble installing it.
Well, it seems I could install it and I can use the examples from the Apache website.
https://qpid.apache.org/releases/qpid-proton-0.33.0/proton/python/docs/tutorial.html
However, the container's on_sendable callback does not seem to be executed.
After doing some research, it seems I need to add a topic exchange with the qpid-config, which is part of qpid-tools.
However, those are not available to install, both with pip or apt ...
Do you know how I can install Qpid-Tools on the raspberry pi?
Do I need to add a repository? And if so, where do I find it?
It's doubtful that there exists a build of qpid-tools fir the ARM based distributions so the short answer is probably that you can't get those tools there. The longer answer would be that you would need to likely build the qpid C++ binaries yourself on your Raspberry Pi using the included INSTALL instructions to try and reverse engineer the needed requirements and platform configuration that would allow it to build on ARM.
If you figure out the requirements you could feed that back to the Qpid community although I don't think there is much ongoing momentum for the Qpid C++ broker.
You can download the source bundle from the Qpid project site here.

Problem regarding Raspberry pi 3 B mobi-engine installation

Whenever I'm trying to install moby-engine it is showing this error. I want to connect raspberry pi to Azure IoT Edge. I am using the documents of https://learn.microsoft.com/en-us/azure/iot-edge/how-to-install-iot-edge-linux. Help me to resolve this problem
I solved this installing this specific version, before installing mobi engine
sudo apt-get install libssl1.0.2
I also wrote about the full steps here
https://elbruno.com/2021/01/29/raspberrypi-install-azureiot-a-couple-of-tips-to-make-it-work/
Regards
-Bruno

Can't install kivy on raspberry pi

I am having trouble installing Kivy on by raspberry pi. I have raspberry Jessie installed and I was following the guide on the Kivy website but I keep getting the error Cython not compiled.
I have Cython 0.21.1 installed. I have read that I may need to install 0.20 but I have tried this but it does not install.
any ideas what I can do. I have searched the net but still have not found a solution.
try pip install Cython==0.23. I think the best option is to follow the installation instruction given in Kivy's official website.
https://kivy.org/docs/gettingstarted/installation.html

Configuring QT Creator on Windows 7 (Raspberry pi is target)

So I will start off by saying that I do NOT want know how to setup or run QT on the pi. I am specifically trying to setup Qt Creator 4.0.3 (Based on Qt 5.7.0 (MSVC 2013, 32 bit)) to write and compile C++ and the run it on the Raspberry pi 2. I have found that running qt on the pi is far to slow.
I have searched for two days to find the right toolchain download for qt/raspberry and its corresponding qt configuration. Nothing seems to work. I have found what seems like a thousand dead ends searching the web. I can write and compile apps for windows console fine. But finding information to cross compile for raspberry seems to be an elusive Unicorn!
Does anyone have this working??? If so which of the many toolchains did you use? And please help me replicate your QT configuration. The closest I have come is using the GCC ARM Embedded toolchain but I cant seem to get the QT options set correctly and I believe that only gets me part of the way there. My ultimate goal is to control GPIO and use the RadioHead library.
Thanks in advance!
I also wanted to do that, and I actually achieved it, It's called "cross-compilation", you build on the Main PC and then compile it to the target.
Initially I wanted to use my main PC with windows 10, but I ended creating a linux partition on my pc to do it since I didn't found any way to do it with windows.
Qt has a very comprehensive tutorial with Qt5 and RaspberryPi2 (both with linux), the only problem is you need linux on your pc to do it. If you want to do this I would suggest following this steps:
Create a linux partition with the same os as in the pi (for example raspbian and debian) and name the username (in linux) "pi" and the password "raspberry". This will help you with external libraries.
Install Qt for Linux on your new partition
Follow Qt's tutorial on https://wiki.qt.io/RaspberryPi2EGLFS
The tutorial is really straightforward, I really recommend it.
Good Luck.