View Single Post
  #12   Spotlight this post!  
Unread 21-01-2014, 22:31
POSIXGuru POSIXGuru is offline
Registered User
FRC #1389 (The Body Electric)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Walt Whitman High School
Posts: 3
POSIXGuru is an unknown quantity at this point
Re: Getting the Kinect to work with OpenCV and libfreenect/My experience with the Kin

Try changing `pkg-config opencv --libs` libfreenect --libs` to `pkg-config --libs opencv libfreenect`

Quote:
Originally Posted by yash101 View Post
Here's the output:
rm -f main.o
rm -f *~ core *.core
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../TestOpenCVLibFreenect -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I../TestOpenCVLibFreenect -I. -o main.o ../TestOpenCVLibFreenect/main.cpp
g++ -Wl,-O1 -o TestOpenCVLibFreenect main.o -L/usr/lib/x86_64-linux-gnu `pkg-config opencv --libs` libfreenect --libs` -lQtCore -lpthread

Sadly, I don't speak robot (or do I?) so I don't really understand what the problem is!