Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when running application #14

Open
githubdannym opened this issue Sep 10, 2019 · 0 comments
Open

Segmentation fault when running application #14

githubdannym opened this issue Sep 10, 2019 · 0 comments

Comments

@githubdannym
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant