Created
February 13, 2014 12:59
-
-
Save PauloMigAlmeida/8974648 to your computer and use it in GitHub Desktop.
Compiling OpenNI and libfreenect to get Kinect for XBOX 360 working on Fedora 17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#References | |
# | |
#http://schnelle-walka.blogspot.com.br/2013/04/openni-20-with-fedora-18.html | |
#https://github.com/OpenKinect/libfreenect#fetch-build | |
# A couple of threads on StackOverflow but unfortunately I can't remember all of them | |
#Install Dependencies: | |
yum install libXmu-devel libudev-devel libusb1-devel mesa-libGLU-devel freeglut-devel freeglut-devel cmake | |
#Clone OpenNI2 | |
git clone https://github.com/OpenNI/OpenNI2.git | |
cd OpenNI2 | |
#Replace compiler parameters | |
vim ThirdParty/PSCommon/BuildSystem/CommonCppMakefile | |
- Change: LDFLAGS += $(LIB_DIRS_OPTION) $(USED_LIBS_OPTION) | |
- By: LDFLAGS += -lpthread -lrt $(LIB_DIRS_OPTION) $(USED_LIBS_OPTION) | |
#Compiling OpenNI2 | |
make | |
#Clone libfreenect | |
git clone https://github.com/OpenKinect/libfreenect | |
cd libfreenect | |
mkdir build | |
cd build | |
cmake .. | |
make | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment