Open antsiro opened 1 year ago
Hi,
Please have a look at the RaspbianStretch_20180313
branch, there are some Pi 4 install instructions, e.g. installing a specific commit of OpenHMD from source.
Hope that helps.
Hi, thanks for a quick response. Sorry, I don't see these instructions from source nor the source files to build it. Could you please tell me where I get the sources (I assume your deb package contained some patch of openhmd), is there a special configuration needed and I'll build it with cmake? Otherwise I can download it from openhmd site (https://packages.ubuntu.com/focal/libopenhmd-dev) and install.
my bad, instructions are here: https://github.com/WayneKeenan/python-vrzero/blob/master/INSTALL.md#3-install-openhmd
snippet:
sudo apt-get remove libopenhmd0 libopenhmd-dev
git clone https://github.com/OpenHMD/OpenHMD
cd OpenHMD
git checkout 71829a902b8135e8e5557faaa488dc800685c949
sudo apt-get install cmake libsdl2-dev libhidapi-dev libhidapi-hidraw0
mkdir build
cd build
cmake .. -DOPENHMD_DRIVER_PSVR=ON -DOPENHMD_EXAMPLE_SIMPLE=ON -DBUILD_BOTH_STATIC_SHARED_LIBS=ON
make
sudo make install
sudo ldconfig
The deb package was created as a by-product of checkinstall
. (https://wiki.debian.org/CheckInstall)
Also, if you'd prefer to keep your system packages sane use that instead of make install
super, thanks a lot!
Hello Wayne, Thank you for your project. Trying to install on Pi 4B on the Ubuntu server (Linux ubuntu 5.4.0-1069-raspi) Somehow this package is 32bit: sudo dpkg --install libopenhmd0_0.3.0-1_armhf.deb dpkg: error processing archive libopenhmd0_0.3.0-1_armhf.deb (--install): package architecture (armhf) does not match system (arm64) Errors were encountered while processing: libopenhmd0_0.3.0-1_armhf.deb
Should I enable Multiarch support or do you have an arm64 version of the deb package?