I am compiling oni2avi on ubuntu 18.04 using cmake and have changed the OpenNI directories in CMakeLists.txt to "home/user/openni/Include" and "/home/user/openni/Redist/libOpenNI2.so" for the header and library respectively.
When running the make generated by cmake I get the following response after linking the CXX executable:
"/usr/bin/ld: skipping incompatible /home/user/openni/Redist/libOpenNI2.so when searching for -lOpenNI2"
The build then finishes without throwing up any errors.
However, when running the application, I get a "Segmentation fault (core dumped)" and only the title of the .avi files are generated at a few kb each, but not the videos themselves. I have tried this with all the available codecs.
Do you know how I might resolve this? Is it something to do with linking the directory to a .so file instead of a .dylib one?
Hi,
I am compiling oni2avi on ubuntu 18.04 using cmake and have changed the OpenNI directories in CMakeLists.txt to "home/user/openni/Include" and "/home/user/openni/Redist/libOpenNI2.so" for the header and library respectively.
When running the make generated by cmake I get the following response after linking the CXX executable: "/usr/bin/ld: skipping incompatible /home/user/openni/Redist/libOpenNI2.so when searching for -lOpenNI2" The build then finishes without throwing up any errors.
However, when running the application, I get a "Segmentation fault (core dumped)" and only the title of the .avi files are generated at a few kb each, but not the videos themselves. I have tried this with all the available codecs.
Do you know how I might resolve this? Is it something to do with linking the directory to a .so file instead of a .dylib one?
Cheers