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

CUDA error: K2G unable to locate libfreenect2 #16

Closed
37 opened this issue Mar 8, 2016 · 3 comments
Closed

CUDA error: K2G unable to locate libfreenect2 #16

37 opened this issue Mar 8, 2016 · 3 comments

Comments

@37
Copy link

37 commented Mar 8, 2016

Hey mate,

I'm having issues building k2g with cuda, it doesn't appear able to find libreenect2::CudaPacketPipeline when using 'make'.

[ 50%] Building CXX object CMakeFiles/detector.dir/detector.cpp.o
In file included from /home/grace/Code/cpp/detection/detector.cpp:31:0:
/home/grace/Code/cpp/detection/k2g.h: In constructor ‘K2G::K2G(processor, bool, std::__cxx11::string)’:
/home/grace/Code/cpp/detection/k2g.h:91:46: error: expected type-specifier
      dev_ = freenect2_.openDefaultDevice(new *stack trace>*libfreenect2::CudaPacketPipeline());

/home/grace/Code/cpp/detection/k2g.h:93:47: error: expected type-specifier
      dev_ = freenect2_.openDevice(serial, new *stack trace>*libfreenect2::CudaPacketPipeline())

Any ideas? I've looked through the libfreenect issues and can't seem to find anything related. Lfn just doesn't seem to agree with 'CudaPacketPipeline'.

@giacomodabisias
Copy link
Owner

Did you pull the last freenect2 version? The support is quite recent

@37
Copy link
Author

37 commented Mar 11, 2016

I just ended up installing ubuntu, it's all working well. Sorry about raising these bugs!

@37 37 closed this as completed Mar 11, 2016
@giacomodabisias
Copy link
Owner

Ok, no problem :)

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

2 participants