openni_grabber.h not found while using PCL - cmake

I'm using PCL to connect to a Kinect camera. Right now, I'm just trying to build the OpenNi Grabber tutorial found here. While building I'm getting an error that openni_grabber.h is not found.
fatal error: 'pcl/io/openni_grabber.h' file not found
#include <pcl/io/openni_grabber.h>
I checked the directory in question and the file is indeed missing, but I'm not sure why. Is there an install option that I'm missing?
I have installed OpenNi using Homebrew and this formula. I am using the Kinect v1.
Thank you!

Related

pyinstaller rejects numpy on Mac (M1, Big Sur & Intel Catalina)

pyinstaller have been working fine for me in this program until I began using numpy. The error message seems to be saying that I'm using the wrong version of numpy. I supposed that to mean that version I'm using isn't for the M1 chip. But I've also tried this on an Intel MacBook Air to no avail. Same error message there. And I looked at the material and the error message refers us to, and tried that too. Ie, I ddid a pip install of cython, etc. But.... still no go, and same error message. I'm making the program in Pycharm, and have tried this using both its venv environment and also the conda environment.
Both give the same result. Ideas anyone?
Here's the error message:
Please note and check the following:
The Python version is: Python3.9 from "/Users/abMain/zaad/zaad"
The NumPy version is: "1.21.2"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: dlopen(/var/folders/n1/26fjs9wx6hz5q9r5kdt5bn3w0000gp/T/_MEIJmdMCM/numpy/core/_multiarray_umath.cpython-39-darwin.so, 2): no suitable image found. Did find:
/var/folders/n1/26fjs9wx6hz5q9r5kdt5bn3w0000gp/T/_MEIJmdMCM/numpy/core/_multiarray_umath.cpython-39-darwin.so: mach-o, but wrong architecture
/private/var/folders/n1/26fjs9wx6hz5q9r5kdt5bn3w0000gp/T/_MEIJmdMCM/numpy/core/_multiarray_umath.cpython-39-darwin.so: mach-o, but wrong architecture

TFLite cross-compiling arm64 build error?

As I am currently trying to Tensorflow lite for ARM64 architecture, I just try to follow the instructions from below:
https://www.tensorflow.org/lite/guide/build_arm64#cross-compile_for_arm64
But I simply get a compilation error:
tensorflow/lite/tools/make/downloads/ruy/ruy/cpuinfo.cc:9:21: fatal error: cpuinfo.h: No such file or directory
I am surprised this starting build not working out of the box.
Btw, I am trying to do the above in Ubuntu 16.04 VM.
Anybody had the same issues?
Solved now. You need to explicity install Bazel for this.
The tensorflow-lite dependencies script does not do this. Not sure why, should have been part of this.

Having trouble to configure the php_crack.dll‏ with Phalcon

I'm new to this Phalcon framework and just started working on it.
It is configured on XAMPP. Phalcon developer Tools also has been setup.
XAMP 1.8.3 for windows 7, 32 bit
PHP 5.5.9
Compiler MSVC11 (Visual C++ 2012)
Architecture x86
But, now, I want to configure the php_crack.dll but constantly getting below error.
httpd.exe - Entry Point Not Found
The procedure entry point php_checkuid could not be located in the dynamic link library php5ts.dll.
OK
Warning
PHP Startup: Unable to load dynamic library 'D:\xampp2\php\ext\php_crack.dll' - The specified procedure could not be found.
OK
Kindly help me out and let me know what I m doing wrong.
Thanks in advance
Regards,
Virda
After wasting a lot of time I found a solution of this problem.
The problem was the php_crack.dll and php version was mismatch, when I downloaded the correct version of crack.dll then the error resolved.
To download the correct version of crack.dll
open the below link and click on DLL under windows section.
According to php version download the file.
http://pecl.php.net/package/crack

STLINK cannot detect my STM32VL discovery

I'm working on a debian 6.0 installed on virtualbox 4 hosted by Windows7, and I'm trying to get my STM32VL work using STLINK project that allows programming and debugging STM32 on Linux.
I followed their tutorial and installed all needed dependancies.
But when I run the program ./​​st-util -1, I get the following error:
tbarry#darkstar:~/stlink$ ./st-util -1
2014-03-20T10:18:48 WARN src/stlink-sg.c: Failed to find an stlink v1 by VID:PID
Error: could not open stlink device
Error: could not open stlink device
I underline that I have already installed Virtualbox extensions, and usb 2.0 is well handled.
Does anyone have an idea of ​​what is blocking me?
I'd same problem. It was driver problem. Windows detected my st-link as mass storage device, so st-util didn't see it. I've used zadig utility in order to change the driver.
Not having found a solution to my problem, I tried with VMware player and it worked nice.
Conclusion: Whatever the problem I had, it was coming from VirtualBox.

SensorKinect not installing?

I was recently following a tutorial in a "Kinect Hacking" book that I purchased on Amazon. The first thing I was asked to do, is to check to see if my Kinect plug would fit into my laptop's which it did. I was then asked to download OpenNI from the following link: http://www.openni.org/Downloads/OpenNIModules.aspx
The only problem is that the link given above redirects to a "unknown page" (which is probably due to a recent site update...Anyway, I download OpenNI from here instead: http://www.openni.org/openni-sdk/ (for Windows), and it installed fine, though after then asked to additionally install Sensor Kinect from the following link: https://github.com/avin2/SensorKinect (that link did work) and executing the .exe file, I received an error message saying to: "Please install OpenNI version 1.2.0.4 or higher!"
So...what should I do?
Thanks in advance! (I haven't had any help on the OpenNI forums, so I posted here).
P.S I'm running Windows 8
Apparently I'm not the only one with this problem, and after some research I found that the new OpenNI isn't compatible with the SensorKinect, so in order to fix this I have to download the version that is slightly dated, luckily a site called "ZigFu" has all the necesary plugins built onto one: http://zigfu.com/en/downloads/browserplugin/