|
Installation
How to install.
Phase-Deploy IntroductionBefore you can use SimpleOpenNI you have to install Processing and OpenNI. Processing
WindowsInstall OpenNI,NITE and the Sensor Driver
If everything worked out, you should see the camera in your Device Manager(under PrimeSensor : Kinect Camera, Kinect Motor). Install SimpleOpenNI (Processing < 2.0)
C:\Users\'your username'\Documents\Processing\libraries OSXI made a little installer(see Install OpenNI the short way), if this doesn't work for you, than you should install it the offical way. For my tests i used only OSX 10.6., with 10.5 i had some problems. Install OpenNI the short way
> cd ./OpenNI_NITE_Installer-OSX > sudo ./install.sh Install OpenNI the official way Those programs have to be on your system in order to install OpenNI:
Open the terminal and type in those commands:> sudo port install git-core > sudo port install libtool > sudo port install libusb-devel +universal > mkdir ~/Development/Kinect > cd Kinect > tar xvf OpenNI-Bin-MacOSX-v1.0.0.25.tar.bz2 > sudo ./install.sh > mkdir ~/Development/Kinect > cd ~/Development/Kinect > mkdir OpenNI > mkdir Nite > cd OpenNI > tar xvf OpenNI-Bin-MacOSX-v1.0.0.25.tar.bz2 > sudo ./install.sh ... Install SimpleOpenNI (Processing < 2.0)
/Users/'your username'/Documents/Processing/libraries LinuxInstall OpenNI,NITE and the Sensor Driver
> cd ./yourFolder/OpenNI-Bin-Linux64-v1.1.0.41 > sudo ./install > cd ./yourFolder/Nite-1.3.1.5 > sudo ./install decompress ./yourFolder/avin2-SensorKinect-28738dc/SensorKinect-Bin-Linux64-v5.0.1.32.tar.bz2> cd ./yourFolder/SensorKinect-Bin-Linux64-v5.0.1.32 > sudo install
> cd ./yourFolder/Sensor-Bin-Linux64-v5.0.1.32 > sudo ./install Install SimpleOpenNI (Processing < 2.0)
~/sketchbook/libraries |
thank you so much!
the osx installer works like charm
roberto
Hi, I have created a Java wrapper around PrimeSense?'s kinect driver for windows: http://sourceforge.net/projects/jkinect/ Installation is very easy. this facebook page is for this tool: facebook.com/EngineerArinG follow me on twitter for new releases: @EngineerArinG
The three first links in the Windows install section are dead. The following are not.
http://www.openni.org/downloadfiles/opennimodules/openni-binaries/latest-unstable/108-openni-unstable-build-for-windows-x86-32-bit-v1-1-0
http://www.openni.org/downloadfiles/opennimodules/openni-compliant-middleware-binaries/latest-unstable/116-primesense-nite-unstable-build-for-windows-x86-32-bit-v1-3-1
http://www.openni.org/downloadfiles/opennimodules/openni-compliant-hardware-binaries/31-latest-unstable
Thanks for all your work.
ok, im feeling like a real dummy, but i cant get the library to work with PDE. I've downloaded SimpleOpenNI-0.20-win32.zip unzipped it to C:\Users\phil\Documents\Processing\libraries\SimpleOpenNI
Then if i open any of the examples i get
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError?: C:\Users\phil\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: The specified procedure could not be found
Am i missing something?
my bad. i had old versions of primesense. Working perfectly with OpenNi? 1.1.0.35 and NITE 1.3.1.3 Great job!
Where is the Processing folder on Windows 7?
I have had to add the explicit "." at the beginning of my CLASSPATH env var. Without it, the SimpleOpenNI jar will complain about not being able to find SimpleOpenNI.dll . This is philip.andrews problem, I believe. Please consider adding the directive or a troubleshooting note about this.
jonlu: the Processing folder (I assume you mean where you put the libraries) is in your Documents folder. It will show up on the first run of Processing. Please note that you will probably have to create a folder named "libraries" inside of /Users/<User>/Documents/Processing/ then put the SimpleOpenNI folder in the libraries folder.
I am having the exact same problem. with the simpleopenni and processing. I put it in my libraries folder, and every time I try to run the examples i get.
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError??: C:\Users\phil\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: The specified procedure could not be found
The error pops up right here:
context = new SimpleOpenNI(this);
It says I am missing dependent libraries. Any help would be great?
I have the same issue as George, Anyone know what I need to do to fix this problem?
Java probably can't find the binary part of the SimpleOpenNI Java binding. You'd need to put the SimpleOpenNI.dll (Win) or libSimpleOpenNI.dylib (Mac) somewhere Java can find it, i.e. the bin folder of your Eclipse project.
You should probably include something about requiring the program at http://processing.org/ for those of us that are not in the know.
I did everything that's in the guide but I keep getting this error massage. I am running Ubuntu 64bit and I have Processing installed Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError?: /home/My_Name?/Documents/sketchbook/libraries/SimpleOpenNI/library/libSimpleOpenNI.so: libboost_thread.so.1.46.1: cannot open shared object file: No such file or directory
Hello team,
I am trying to setup environment for my Ubuntu10.10 32 bit. I manually download stable release "openni-bin-linux32-v1.3.3.5" and as you suggest did "sudo install". But I am getting error "install: missing file operand".
pls suggest me what I am doing wrong?
After installing every thing when I am trying to execute given package example ...it prompting me "Device: PrimeSense?/SensorV2?/5.0.0.24: The device is not connected!".
What I am doing wrong/missing?
thanks
I can not install on macosx 10.7.2 when I arrive at this stage I can not run this command: mkdir ~ / Development / Kinect > Cd Kinect > Tar-xvf OpenNI Bin-MacOSX-v1.0.0.25.tar.bz2 > Sudo. / Install.sh
the following message appears MacBook?-Pro-for-Carlos: Kinect P4nick $ sudo. / Install.sh sudo. / install.sh: command not found
please help.. carlos.m4r@gmail.com
Hello guys i have installed the latest development edition of the OpenNI package and have installed SensorKinect? and also have installed the SimpleOpenNI libraries as instructed above for Processing.
this is what i get:
SimpleOpenNI Version 0.20 SimpleOpenNI Error: ContextWrapper?::init
SimpleOpenNI not initialised SimpleOpenNI not initialised
does anyone has an idea what should i fix?
and no examples run as well :C
Hi! I'm having the the same problem as George and Lei with the new SimpleOpenNi? version 0.2.2 I have been working with the old SimpleOpenNi? 0.2 and did not had the problem before. Unfortunately only the new version is downloadable now. Max do you have any ideas how to solve this? Putting the libSimpleOpenNI.jnilib into the local java directory did not help so I switched back to the old version...... thanks!
i cannot install on osx lion.
from this point: > mkdir ~/Development/Kinect
no such file or directory
also if i just use the installer i get this:
Gaspar-Batthas-MacBook?-Pro:~ gasparbattha$ > sudo /Users/gasparbattha/Downloads/OpenNI_NITE_Installer-OSX/install.sh cp: ./data/ni: No such file or directory mkdir: /usr/etc: File exists cp: ./data/primesense: No such file or directory cp: ./data/libOpenN.dylib: No such file or directory cp: ./data/libnim.dylib: No such file or directory cp: ./data/libXn.dylib: No such file or directory mkdir: /opt: File exists mkdir: /opt/local: File exists mkdir: /opt/local/lib: File exists cp: ./data/libusb-1.0.0.dylib: No such file or directory
Can I echo the comment by aud...@gmail.com above? The instructions (and the similar ones in the "Making Things See" book) seem to assume we've got the Processing app installed already. I'm happy to advertise my ignorance: I came here to learn how to set this up from scratch; I'm not enhancing an already-running system with a different set of drivers.
If you are receiving the error:
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError??
And you used the ZigfuDevBundle? as suggested in the book MakingThingsSee?, you may want to uninstall the OpenNI, NITE and sensor drivers that it installed (basically everything with a publisher of PrimaSense?) and then re-install them following the instructions above. The versions installed in the Zigfu bundle are out of date and don't work with the 0.24 version of SimpleOpenNI. After reinstalling the newer versions from the links above, the error went right away. BTW...I'm running Windows Vista Home Premium. Good Luck
All worked fine for me with SimpleOpenNI-0.24-win32
thanks a lot.
Hi! We have updated the ZigFu? Dev Bundle to the latest version of OpenNI (with calibration-free skeleton support) and it should work with SimpleOpenNI and Processing.
No library found for oscP5 No library found for netP5 As of release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder.
what happen ?? help me please
I can't install under 32-bit linux. I ran the install.sh script in each directory, and they all gave me the error: /usr/bin/niReg: cannot execute binary file I'm suspecting that this is a 64 vs 32 bit problem -- are there 32 bit versions of these programs?
A few notes about the Linux 64-bit install:
1) Install Command -> "sudo ./install.sh" NOT "sudo install" 2) Libraries Folder -> ~/sketchbook/libraries may not actually be in your home folder.
3) Java Problem -> Processing ships with its own version of java. That version is the 32-bitThat should do it!!! At least, that's what worked for me.
Hi! I ran into problems when I tried to launch the circle example after installing everything and put things in right folder. I got an error "UnsatisfiedLinkError?: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V" when I was trying to run exmaple. Could someone help me out? Thanks a lot!
Echoing dunlapa... above: running into a problem with niReg when trying to install on 32bit ubuntu 10.4,
OpenNI-Bin-Dev-Linux-x64-v1.5.2.7$ sudo ./install.sh
gets this error (after copying shared libraries, executables, include files, creating database directory... OK):
registering module 'libnimMockNodes.so'.../usr/bin/niReg: 1: Syntax error: Unterminated quoted string
If you are running Win 7 64 bit, you need to uninstall the Kinect SDK and follow the install guide for 64 bit Windows. This solve the issue of "Can't find Depthmap"
I have the same problem with amandath...@gmail.com OpenNI-Bin-Dev-Linux-x64-v1.5.2.7$ sudo ./install.sh
gets this error (after copying shared libraries, executables, include files, creating database directory... OK):
registering module 'libnimMockNodes.so'.../usr/bin/niReg: 1: Syntax error: Unterminated quoted string
I have a different issue as the rest of the people here, i think. I have installed the OpenNI binaries correctly because when running the example "depthimage" it is able to read the libraries but cannot find the device: "maybe the camera is not connected". I realized that only my audio drivers are installed (also the green light only flashes) went back and reinstalled individually all of the binaries and libraries restarted my computer reconnected the kinect and still only have the audio drivers. How do i install the existing drivers? also upon reading further in my device manager i should be able to see audio video and motor under primesense. All i see is audio under microsoft kinect in my device manager. PLEASE HELP!!
What happend with this:
OpenNI-Bin-Dev-Linux-x64-v1.5.2.7# ./install.sh Installing OpenNI
copying shared libraries...OK copying executables...OK copying include files...OK creating database directory...OK registering module 'libnimMockNodes.so'.../usr/bin/niReg: 1: Syntax error: Unterminated quoted string
My ubuntu system is 32 bits ? is this error ? what can i do ?...
Hi, I have the same issue as nlong1, the message is that the camera is flashing and the Kinect is not recognized. I tried the installation on both Windows and Mac and similar issue.
Could it be because there is no driver yet for Kinect for Windows available ? This seems to me the only potential explanation.
Thanks in advance for your help
I get the following error in Processing...:
Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError?: C:\Users\doc\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: Can't find dependent libraries Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError?: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
I thought I installed the proper libraries...
Any help?
hi
I am new to kinect, i installed openni,nite and kinectsensor drivers and i run the samples given in primesense folder. Examples are executed and my kinect is working.
I was copied SimpleOpenNI folder into C:\Users\username\Documents\Processing this path. And i am trying to use this(import SimpleOpenNI.;) in the program in VC++ 2010 but there, it gives errors.
please Can any one solve my problem
hi
I am new to kinect, i installed openni,nite and kinectsensor drivers and i run the samples given in primesense folder. Examples are executed and my kinect is working.
I was copied SimpleOpenNI folder into C:\Users\username\Documents\Processing this path. And i am trying to use this(import SimpleOpenNI.;) in the program in VC++ 2010 but there, it gives errors.
Errors: IntelliSense??: identifier "import" is undefined IntelliSense??: variable "SimpleOpenNI" is not a type name
please Can any one solve my problem
If you get issues with not being able to find the SimpleOpenNI library you probably are using 32 bit Java on a 64bit system. You can have a 64bit system but download everything in 64bit without updating your java then you'll get that error. I think it should work if you either get 64bit java or just download everything in 32bit. Just get everything to match.
Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError??: C:\Users\doc\Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: Can't find dependent libraries Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError??: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V
at SimpleOpenNI.SimpleOpenNIJNI.swig_module_init(Native Method) at SimpleOpenNI.SimpleOpenNIJNI.<clinit>(SimpleOpenNIJNI.java:1542) at SimpleOpenNI.ContextWrapper??.<init>(ContextWrapper??.java:54) at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:192) at DepthImage??.setup(DepthImage??.java:40) at processing.core.PApplet.handleDraw(Unknown Source) at processing.core.PApplet.run(Unknown Source) at java.lang.Thread.run(Thread.java:662) I thought I installed the proper libraries...
Linux OpenNI Installation on a fresh Ubuntu 11.1. (PC) does not work. Trying to install uncompresses OpenNI with the Terminal command "sudo ./install,sh -i" from the uncompressed "OpenNI_NITE....." folder, stops within a few lines with an error message. 'libnimocknodes.so'/usr/bin/nireg/niReg: 1.Syntax error: "unterminated quoted string".
@ign...@gmail.com This is a Processing library; thus, you should be running Processing and not VC++.
In spite of having virtually no idea where to begin, I got this working fine on a 64bit Ubuntu 11.10 system with Bradley....@gmail.com's clarifications. But trying to install on a 32bit system I get the same errors as amandath...@gmail.com, wx12...@gmail.com, phreddo...@gmail.com,and armandom...@gmail.com
When trying to run the examples under processing, I get the "unsatisified link" errors.
Seems like there are installer issues with 32 bit linux.
Well I went to the OpenNI download site,http://75.98.78.94/Downloads/OpenNIModules.aspx and downloaded the binaries, middleware binaries and hardware binaries for 32bit ubuntu 10.10. (I'm running 11.10)
The installation worked. No errors. But when running I still get the unsatisfied link error.
Here is a piece of information that might be useful to some people...
On my laptop the kinect does not work if plugged on a USB 3.0 port. I'm running Ubuntu 11.04 64 bits. I downloaded the corresponding package, followed the instructions and did not encounter any error or problem but then in processing I was only getting a blank / black image instead of the expected depth, rgb, infrared images... and again without any error message of any sort. I switched the port from a USB 3.0 (that I hadn't even noticed it was plugged in) to a 2.0 one and everything worked. Might saved a few hours to someone in the same situation. Cheers,
S.
Hello,
i have the same problem related with Can't find the SimpleOpenNI library (SimpleOpenNI32) : java.lang.UnsatisfiedLinkError?: D:\programas\processing-1.5.1\modes\java\libraries\SimpleOpenNI\library\SimpleOpenNI32.dll: The specified procedure could not be found
trying simple-openni+kinect+processing
i have windows 7, 64 bits i've download, reboot, install, and try the two versions: 64bits and 32 bits
i've copied the extracted folder: SimpleOpenNI to processing-1.5.1/modes/java/libraries
and i'me getting the same error! (Can't find the SimpleOpenNI library (SimpleOpenNI32) :) anyone can help?..
This page seems to have a fix for the 32 bit linux issues. Not sure how to apply it tho.
https://code.google.com/p/simple-openni/issues/detail?id=35
Many thanks to Bradley....@gmail.com (up Feb 11) and d...@alum.mit.edu (https://code.google.com/p/simple-openni/issues/detail?id=35). Their solution fixed my two related but different problems.
If you receive "Can't find the SimpleOpenNI library (SimpleOpenNI32) : ..." error, it probably is due to incompatibility of the architecture (32 vs 64). I encountered two scenarios:
1. On x64 Ubuntu, installed everything x64 but encountered above error. Bradley's solution (up Feb 11) works here. Apparently Processing has a 32-bit Java in it, and that shall be replaced with a 64-bit Java as described by Bradley. Many thanks, Bradley.
2. On x32 Ubuntu, installed everything x32 but encountered above error (again!). d...'s solution (Issue 35) works here. Apparently SimpleOpenNI download has been built for 64-bit and the library folder is missing "libSimpleOpenNI32.so" file. One need to build the source for 32-bit and copy "libSimpleOpenNI32.so" into the SimpleOpenNI library folder. Alternatively, see Issue 37. Many thanks, d...@alum.mit.edu.
I have Lion as my OS in my MacBook? and I could not install the "OpenNI_NITE_Installer-OSX" I did exactly what is instructed! downloaded it, opened up Terminal and changed directory to the file and then tried to install it using this command "sudo ./install.sh" but it did not work! it said "-bash: sudo: command not found"
Help please!!!