Hello everyone, I upgraded to the OpenNI version 2.3 downloaded from the Orbbec Develop website and tried to compile the following simple program:
'#include
'#include <OpenNI.h>
using namespace std;
using namespace openni;
int main(int argc, char **argv){
OpenNI::initialize();
cout << “ok” << endl;
return 0;
}
I got the following error:
/home/orbbec/OpenNI-Linux-Arm-2.3/OpenNI-Linux-Arm-2.3/Redist/libOpenNI2.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8’
collect2: error: ld returned 1 exit status
When compiled with OpenNI version 2.2, I don’t get any error.
Did you ever get this error and, in that case, how did you solve it?
Best regards