loading

I've been watching the Kinect hacks online for the past several months and really enjoyed them. I started thinking recently that I would kind of like to work with it myself, see what kinds of things I might be able to make and do, and decided to get a Kinect to play with.

The first thing I found was that there are a lot of different development platforms that all connect the Kinect to the computer in different ways. I also found out that all of these platforms were in different stages of development, and I don't think any of them are finished.

In the end, I found a lot of information about Kinect 1.2 running under Ubuntu, and felt that this platform gave me the most initial options for immediate enjoyment.

Trying to install, I found that the instructions that are given on the webpage (which are incredibly difficult to find), aren't really helpful in installing them on a computer, so after spending two weeks with google and three computers, I finally feel I've figured out the best way to install the working application. This instructable will be my attempt to convey that information I learned to you!

Step 1: An Operating System


For the purpose of this instructable, I installed all of my applications on the current version of the Ubuntu Operating system. So If you head over to ubuntu.com, and download the desktop version of Ubuntu 10.10 either 32 or 64 bit depending on your system hardware and you'll be ready to begin!

[Note: I have not tried this with Ubuntu 11.04 and can therefor not guarantee any of this will work within that OS]

Follow the directions on their page for installing either via a usb thumb drive or a cd (or your own preferred method). Once Ubuntu is installed on your computer, you're ready to move on to step two!
<p>Hi,<br><br>I've been working through this tutorial, and it is very helpful and easy to use. However, when I got to step 9, I tried to run the sudo ./bin/RawKinectViewer &gt; CalibrationData.csv command, but got this error:<br></p><p>imehrslab@imehrslab-OptiPlex-9010:~/src/Kinect-2.8-001$ ./bin/RawKinectViewer &gt; CalibrationData.csv<br>./bin/RawKinectViewer: error while loading shared libraries: libKinect.g++-3.so.2: cannot open shared object file: No such file or directory<br>imehrslab@imehrslab-OptiPlex-9010:~/src/Kinect-2.8-001$ <br><br>As you can see, I'm using significantly higher versions of the Kinect software as well as the Vrui, so that could be one cause. I can't use 1.2 however, because I'm using a Kinect-for-Windows model, which apparently needs Kinect 2.8 (or at least it said so in the download page). Any ideas on what could be wrong? Thanks for the help and the great tutorial, I had all kinds of trouble before I found it.<br><br>Josh</p>
<p>Hi Moncvan,</p><p>Iam stuck up with the same problem t said :&quot;error while loading shared libraries: libKinect.g++-3.so.2: cannot open shared object file: No such file or directory&quot;. </p><p>It would be great help from your end if u have resolved this issue.</p><p>REgards</p><p>K S Chidanand Kumar</p>
<p>One more instruction is missing here. <br>From the kinect folder, after executing make, do execute : make install. After this, you won't get the libKinect error</p>
Hi, I installed the new version one like the Kinect 2.0 and Vrui-2.2-003 in my Ubuntu terminal cause I need to apply multiple kinects like in the video of youtube: http://www.youtube.com/watch?v=5-w7UXCAUJE <br> <br>After I followed the instruction above, when I type in inside of folder Kinect 2.0 like <br>sudo ./bin/RawKinectViewer &gt; CalibrationData.scv <br> <br>It said :&quot;error while loading shared libraries: libKinect.g++-3.so.2: cannot open shared object file: No such file or directory&quot; <br> <br>So, what should I do ? Do I have to install another library ? If yes, how? <br> <br>Thanks
<p>Hai, Did you get this problem solved? I have the same problem.</p><p>thnks</p><p>Henry.van.gestel@gmail.com</p>
<p>Hi Henry.van.gestel,</p><p>Iam stuck up with the same problem t said :&quot;error while loading shared libraries: libKinect.g++-3.so.2: cannot open shared object file: No such file or directory&quot;.</p><p>It would be great help from your end if u have resolved this issue.</p><p>REgards</p><p>K S Chidanand Kumar</p>
<p>One more instruction is missing here. <br>From the kinect folder, after executing make, do execute : make install. After this, you won't get the libKinect error</p>
<p>thank you very much. it helped us very much. nice, simple, step wise. </p><p>thanks a lot man again. we were struck on it for a while and getting to this solved it all.</p>
<p>Hi! I stumbled upon this tutorial, and this was the one which helped me make a Kinect for Windows work, so I really appreciate your work here. I did it on Lubuntu 12.04, and I would add the following: Both from the Vrui and the Kinect you will need the latest versions, or at least previous versions of Vrui did not compiled for me, and the fresh .sh &quot;installer&quot; did not run properly, too. Also, I have a Kinect for Windows, which is not supperted by Kinect only in the 2.8 version (according to its comment).<br><br>Thanks again!</p>
Hey man, great guide, but I am a little stuck. I have downloaded everything as you said, word for word, but I keep getting this bunch of errors: <br>In file included from /home/metalshadow/src/Vrui-2.0-003/Misc/TimerEventScheduler.h:28:0, <br> from /home/metalshadow/src/Vrui-2.0-003/GLMotif/ScrollBar.h:28, <br> from GLMotif/ScrollBar.cpp:23: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:115:24: error: declaration of &lsquo;operator+=&rsquo; as non-function <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:115:21: error: expected &lsquo;;&rsquo; at end of member declaration <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:115:31: error: expected &lsquo;)&rsquo; before &lsquo;increment&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:120:22: error: &lsquo;size_t&rsquo; has not been declared <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:128:2: error: &lsquo;size_t&rsquo; does not name a type <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:131:2: error: &lsquo;size_t&rsquo; does not name a type <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:135:18: error: &lsquo;size_t&rsquo; has not been declared <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:157:22: error: expected &lsquo;)&rsquo; before &lsquo;sAllocSize&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:212:2: error: &lsquo;size_t&rsquo; does not name a type <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;void Misc::PriorityHeap::reallocate(int)&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:138:3: error: &lsquo;allocSize&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:143:7: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:143:7: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:143:14: error: expected &lsquo;;&rsquo; before &lsquo;i&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:143:18: error: &lsquo;i&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:143:20: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In copy constructor &lsquo;Misc::PriorityHeap::PriorityHeap(const Misc::PriorityHeap&amp;)&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:164:4: error: class &lsquo;Misc::PriorityHeap&rsquo; does not have any field named &lsquo;allocSize&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:165:22: error: &lsquo;allocSize&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:166:4: error: class &lsquo;Misc::PriorityHeap&rsquo; does not have any field named &lsquo;numElements&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:169:7: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:169:7: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:169:14: error: expected &lsquo;;&rsquo; before &lsquo;i&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:169:18: error: &lsquo;i&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:169:20: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In destructor &lsquo;Misc::PriorityHeap::~PriorityHeap()&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:175:7: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:175:7: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:175:14: error: expected &lsquo;;&rsquo; before &lsquo;i&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:175:18: error: &lsquo;i&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:175:20: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;Misc::PriorityHeap&amp; Misc::PriorityHeap::operator=(const Misc::PriorityHeap&amp;)&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:187:8: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:187:8: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:187:15: error: expected &lsquo;;&rsquo; before &lsquo;i&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:187:19: error: &lsquo;i&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:187:21: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:191:7: error: &lsquo;allocSize&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:201:4: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:202:15: error: expected &lsquo;;&rsquo; before &lsquo;i&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:202:19: error: &lsquo;i&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;bool Misc::PriorityHeap::isEmpty() const&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:210:10: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;Misc::PriorityHeap::Iterator Misc::PriorityHeap::end()&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:222:24: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;Misc::PriorityHeap&amp; Misc::PriorityHeap::insert(const Content&amp;)&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:226:6: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:226:19: error: &lsquo;allocSize&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:230:3: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:230:3: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:230:10: error: expected &lsquo;;&rsquo; before &lsquo;insertionPos&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:231:10: error: expected &lsquo;;&rsquo; before &lsquo;parent&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:232:6: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:232:50: error: &lsquo;parent&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:256:5: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;Misc::PriorityHeap&amp; Misc::PriorityHeap::reinsertSmallest()&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:271:3: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:271:3: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:271:10: error: expected &lsquo;;&rsquo; before &lsquo;insertionPos&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:274:11: error: expected &lsquo;;&rsquo; before &lsquo;child1&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:275:11: error: expected &lsquo;;&rsquo; before &lsquo;child2&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:276:11: error: expected &lsquo;;&rsquo; before &lsquo;minIndex&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:277:7: error: &lsquo;child1&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:277:14: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:277:55: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:279:7: error: &lsquo;child2&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:279:14: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:279:55: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:281:7: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:281:17: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:283:20: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:283:39: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;Misc::PriorityHeap&amp; Misc::PriorityHeap::removeSmallest()&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:291:3: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:291:3: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:291:10: error: expected &lsquo;;&rsquo; before &lsquo;insertionPos&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:294:11: error: expected &lsquo;;&rsquo; before &lsquo;child1&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:295:11: error: expected &lsquo;;&rsquo; before &lsquo;child2&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:296:11: error: expected &lsquo;;&rsquo; before &lsquo;minIndex&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:297:7: error: &lsquo;child1&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:297:14: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:297:55: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:299:7: error: &lsquo;child2&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:299:14: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:299:55: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:301:7: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:301:17: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:303:9: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:303:28: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:306:5: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:307:8: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h: In member function &lsquo;Misc::PriorityHeap&amp; Misc::PriorityHeap::remove(const Misc::PriorityHeap::Iterator&amp;)&rsquo;: <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:315:3: error: &lsquo;size_t&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:315:3: note: suggested alternative: <br>/usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: note: &lsquo;std::size_t&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:315:10: error: expected &lsquo;;&rsquo; before &lsquo;insertionPos&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:318:5: error: &lsquo;numElements&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:321:9: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:323:11: error: expected &lsquo;;&rsquo; before &lsquo;parent&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:324:34: error: &lsquo;parent&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:326:28: error: &lsquo;parent&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:331:9: error: &lsquo;insertionPos&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:333:11: error: expected &lsquo;;&rsquo; before &lsquo;minIndex&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:334:11: error: expected &lsquo;;&rsquo; before &lsquo;child&rsquo; <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:335:7: error: &lsquo;child&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:335:55: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:337:6: error: &lsquo;child&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:338:55: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>/home/metalshadow/src/Vrui-2.0-003/Misc/PriorityHeap.h:340:28: error: &lsquo;minIndex&rsquo; was not declared in this scope <br>make: *** [o/g++-3.g0.O3/GLMotif/ScrollBar.o] Error 1 <br>
is there any easier way to do this or i have to follow this long and complex procedure <br>
I would strongly recommend against these instructions at this point actually. I did this when there really wasn't that much information on the subject. Check the last step (11). <br /> <br />Click the links to processing for something that is super easy to install and get working straight away. OpenKinect has it's own installation instructions, but they're a little more in depth then I remember the Processing plugin being. <br /> <br />Best of luck!
thanku very much for the tutorial....<br><br>every thing was working fine before i reached the step to MAKE the Kinect 1.2 and got the following error...<br><br>Compiling USBContext.cpp...<br>USBContext.cpp:25: fatal error: libusb-1.0/libusb.h: No such file or directory<br>compilation terminated.<br>make: *** [o/USBContext.o] Error 1<br><br>i can't understand where it looks for 'libusb' file....<br>waiting for ur reply<br>thanks in advance<br>
I'm really sorry. I tried searching around the web a bit, but wasn't able to find anything. Since I don't use my Kinect anymore, so I'm not sure what this error is.<br /><br />Please ensure that you download the exact items I mentioned (most of them have been updated since I wrote this), and follow the steps exactly. I know this works, because I've had to use it several times to reinstall Kinect software on my computer.<br /><br />Since everything has been updated though, I'm not sure if someone changed their code or not. I'm really sorry I can't be of more help.
thanks for reply....<br><br>one more thing i would like to ask is that what is the purpose of Vrui while using Kinect????<br><br>regards
And one other shorter (more concise)<a href="http://www.rit.edu/innovationcenter/kinectatrit/category/tools/vrui-vr-toolkit"> bit of info</a> on the topic.
Of course. Sorry I couldn't be of more help.<br /> <br /> I only linked to the download page of Vrui in my instructable. <a href="http://idav.ucdavis.edu/~okreylos/ResDev/Vrui/MainPage.html">Here's the main page which tells you all about it</a>.
StumpChunkman, has anyone told you that you rock today?<br><br>I was slightly frustrated for a bit there. I reckon the problem is disorganization on my part. I have been able to get point cloud and ir camera data out of the kinect after 15 minutes of playing around. For the last two weeks have read sooo many tutorials. and followed like five of them. ROS file system, openNI, etc. I want to do finger/gesture tracking. I confused myself pretty well on what talks to what and by what mechanism. i wiped the box and started from scratch. Found an Engineers checklist, and started over again. Documenting my steps...<br><br>Here is the manual: http://www.guymacon.com/ENGINEER/PLANNING/INDEX.HTM<br><br><br>On to tracking environmental variables!<br><br>Thanks Bud!<br>
Awesome! I'm glad to hear you got it working!<br /><br />That's pretty much the exact same problem I had when I first started trying to work with the Kinect. Every guide I found was useless, or left out a ton of information that I needed.<br /><br />After trying and failing quite a few times, I finally decided that when I eventually got it working, I'd document my progress so other people could replicate it.<br /><br />It's really annoying when you find directions online that leave out really important details.<br /><br />Happy hacking!
Thanks for the reply Stumpchuck.<br><br>I re-read your instructions, decided to follow them directly, with the same versions of Vrui and everything else. Yeah! I at least have a different error. I feel like its some kind of dependency , as it refers to a file that is missing.<br>I found the ValueSource.h file. My problem is that I do not have a proper education in Xnix. I am on Ubuntu, Natty. for the last ten months. I know windows systems throughly. Does not appear to help much, hehe. <br><br>me@Computer:~/src/Kinect-1.2b$ make<br>Compiling KinectCamera.cpp...<br>KinectCamera.cpp:32:28: fatal error: IO/ValueSource.h: No such file or directory<br>compilation terminated.<br>make: *** [o/KinectCamera.o] Error 1<br><br>Again, thanks for your time.<br>
It looks like you have kinect-1.2b. Try just straight up <a href="http://idav.ucdavis.edu/~okreylos/ResDev/Kinect/Kinect-1.2.tar.gz">kinect-1.2</a><br /> <br /> I'd be nice to be able to see your computer, sorry I'm not incredibly helpful from this side.
I should have used my eyes a little better. I found that &quot;the VRUIDIR variable at the top of Kinect-1.2's makefile needs to be changed, to $(HOME)/Vrui-2.0-001 or $(HOME)/Vrui-2.0-002, respectively&quot; - so I changed that, now I get this error:<br><br><br>me@ocmputer:~/src/Kinect-1.2a$ make<br>Compiling KinectCamera.cpp...<br>KinectCamera.cpp: In static member function &lsquo;static void KinectCamera::StreamingState::transferCallback(libusb_transfer*)&rsquo;:<br>KinectCamera.cpp:233:53: error: no matching function for call to &lsquo;Threads::MutexCond::signal(Threads::MutexCond::Lock&amp;)&rsquo;<br>/home/me/Vrui-2.2/include/Threads/MutexCond.h:97:7: note: candidate is: void Threads::MutexCond::signal()<br>make: *** [o/KinectCamera.o] Error 1<br>
Awww...this one is way more difficult then the last one! I need to download and try to install everything to see what's going on. That's why I haven't gotten back to you yet.<br /><br />Hopefully I have some time this weekend. I'm not sure I'll know what's causing this problem exactly though.
Hi, StumpChunkman.<br>I really like your guide. <br>I am stuck at make on &quot;Go to src, then Kinect-1.2 folder&quot;.<br>I am sure it is because I am new to linux. I guess I just don't fully get it yet.<br><br>Here is my terminal output: me@Computer:~/src/Kinect-1.2b$ make<br>makefile:49: /home/me/Vrui-2.1/share/Vrui.makeinclude: No such file or directory<br>make: *** No rule to make target `/home/me/Vrui-2.1/share/Vrui.makeinclude'. Stop.<br><br>I have Vrui-2.2-001 installed, I know some of the packages changed, nevertheless I am not sure how to handle this. Any help would be greatly appreciated.<br><br>Thanks again,<br>Microbot<br><br>
Thank you so much for this very clearly written instructable. I'm writing this from ubuntu, I have never read such a good description of what is going on in terminal. just followed blindly and got lucky in the past.<br><br>I hope to eventually build a similar system to the kinect +++ in order to control kites by computer... eventually for power generation. <br>Once I nail it I'll get you the instructable back. Hopefully as clear as this one.
That sounds awesome! I'm looking forward to seeing it!
ok... here's the concept ... And it's kicking off<br>https://sites.google.com/site/kitepowerresearch/
Wow, super awesome idea!
Just a suggestion if your new to linux you should use Zorin OS instead of ubuntu (a modded vesion of ubuntu) and its much easier to install it on a flash drive using unetbootin :) just a helpful tip
Interesting. I'd never heard of Zorin before, it looks interesting.<br /><br />I've been using one distro or another for the better part of a decade and finally decided that Ubuntu was the most comfortable fit for me. Which is why I was so irritated when they completely revamped their desktop environment. After swapping distro's again for gnome 3, I realized that it was just the way desktops are going and got used to it. I finally put Ubuntu back on and it seems pretty confortable. There are still a few things that bug the hell out of me (like not being able to control certain aspects of your sidebar)...but I'm willing to look past that for now.<br /><br />Thanks for the heads up though, that Look Changer program would have been handy about 10 years ago!
Nice. I tried to get my Kinect running in Ubuntu 11.04, but got caught up in all the dependencies and other things that needed to be compiled from source (which weren't in Synpatic). Do you think there's any way your setup could be used with <a href="https://github.com/petermoz/keyboard-anywhere">https://github.com/petermoz/keyboard-anywhere</a>? It lets you play a virtual piano with the Kinect.<br>
That took a little longer then expected, but I finished and found a much easier way then I did it previously. <a href="http://www.instructables.com/id/Invisible-Piano/">You can find instructions here</a>. Let me know if you have any more questions!
Actually, the images you see in the last step shows my foray into keyboard-anywhere. I took his code and re-purposed it for what I was doing. If you just want to use the default sounds that he has, install OpenKinect with the python wrapper. You'll run into a ton of issues, but I promise it works. I'll try to put up a forum topic this weekend that deals with that (hopefully I have some time).
<strong>&quot;</strong> <em>my grandma's PC she was throwing away</em><strong> &quot;&nbsp; </strong>(in last picture bubble)<br> OMG - time is moving so quickly. my mother still refuses to have one and his grandmother is throwing her old one out. LOL

About This Instructable

65,412 views

120 favorites

License:

Bio: You can see my personal website at sneezingturtle.com.
More by StumpChunkman: Taurus - Laser Cut Astrological Wall Art How to Fix a Power Adapter Visualizing Current Flow through a Resistor Circuit
Add instructable to: