Getting to work...
Ubuntu Linux has the advantage of being one of the simplest and most user-friendly Operative Systems around, with a huge community of people willing to help and improve upon it to grant us freedom of knowledge and computer usage. Its my favorite system to work being very stable and powerful.
Which will bring us the Terminal. Now you simply need to type the following commands.
This will clone the libfreenect library into the selected directory: $ git clone http://github.com/OpenKinect/libfreenect.git Then enter the directory: $ cd libfreenect Once you're in the libfreenect directory you must uncheck the unstable audio branch which is what will enable us to use the microphone array on the Kinect. $ git checkout unstable |
Then we need to build the application using the make command. For that we're gonna create a directory, you can call it whatever you want but for simplicity I always call them Build/build.
$ mkdir build
$ cd build
$ cmake -DBUILD_AUDIO=true ..
Check that it marks no errors and no missing applications. Install whatever it marks and then proceed with the making. NOTE: The make command will connect to the Internet in order to download the audios.bin which is a firmware needed for the MS Kinect to work, without it the device won't be able to function properly and it takes some time to finish so be patient (in once computer I had, I had to wait one hour for it to finish!).
$sudo make
Now I usually type sudo make install just to be sure but I've read its not necessary. Afterwards you'll get a \bin directory with the executables. You can try running the glview to make a test (after connecting your Kinect of course...).
$ sudo bin/glview
Now one more thing to modify, in my computers recently I had troubles with getting the micview and wavrecord examples to work because according to my computer, it couldn't find the audios.bin firmware.
In order to solve that problem I created the following directory /usr/local/shared/libfreenect. It should exist already but sometimes it isn't created. I'm still not sure why.
Then you just enter the \build directory on libfreenect which should be \home\username-whatever\libfreenect\build and type:
$ cp audios.bin /usr/local/shared/libfreenect
Which will copy the firmware to the libfreenect directory and will enable you to use the microphone array.
Now you're set and ready to code!
$ mkdir build
$ cd build
$ cmake -DBUILD_AUDIO=true ..
Check that it marks no errors and no missing applications. Install whatever it marks and then proceed with the making. NOTE: The make command will connect to the Internet in order to download the audios.bin which is a firmware needed for the MS Kinect to work, without it the device won't be able to function properly and it takes some time to finish so be patient (in once computer I had, I had to wait one hour for it to finish!).
$sudo make
Now I usually type sudo make install just to be sure but I've read its not necessary. Afterwards you'll get a \bin directory with the executables. You can try running the glview to make a test (after connecting your Kinect of course...).
$ sudo bin/glview
Now one more thing to modify, in my computers recently I had troubles with getting the micview and wavrecord examples to work because according to my computer, it couldn't find the audios.bin firmware.
In order to solve that problem I created the following directory /usr/local/shared/libfreenect. It should exist already but sometimes it isn't created. I'm still not sure why.
Then you just enter the \build directory on libfreenect which should be \home\username-whatever\libfreenect\build and type:
$ cp audios.bin /usr/local/shared/libfreenect
Which will copy the firmware to the libfreenect directory and will enable you to use the microphone array.
Now you're set and ready to code!
Now were do I get software support?
Well, I'm sad to admit I'm still a newbie on this libfreenect thing but you can always ask the experts for any doubt you have or contact me (right upper corner) and I'll be happy to help you if possible. You can ask the makers here: