GABYDRAKO / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

OSX installation #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install according to instructions
2. Open any/all of the examples in Processing
3. Click Run

What is the expected output? What do you see instead?
Get the library meesage
"Library not loaded: ../../Bin/Release/libXnVNite.dylib"

What version of the product are you using? On what operating system?
SimpleOpenNI-0.18-osx.zip on osx

Please provide any additional information below.
Are there missing files in the zip? There is no Bin directory, just 
documentation, examples, and library (which I installed in 
Documents/Processing/libraries)

Thanks!

Original issue reported on code.google.com by alpine.s...@gmail.com on 5 Jun 2011 at 11:58

GoogleCodeExporter commented 8 years ago
I had this issue when trying to get it working in eclipse on OSX. I was able to 
resolve this issue by reinstalling OpenNI and re downloading the SimpleOpenNI 
files.

I installed OpenNI following these instructions:

http://code.google.com/p/simple-openni/wiki/Installation#OSX

I did the "Install OpenNI the short way" part.

Original comment by bjohnson...@gmail.com on 9 Jun 2011 at 6:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the same problem, do we miss something? hope somebody can help us

Original comment by jingling...@hotmail.com on 4 Jul 2011 at 2:07

GoogleCodeExporter commented 8 years ago
Same problem here. Using MAC OSX and the Processing IDE, not Eclipse. 
Everything was working fine, but I updated the library files 
(libSimpleOpenNI.jnilib and  SimpleOpenNI.jar) with the most recent versions  
(SimpleOpenNI-0.20-osx) and got the same error. I re-installed OpenNI from the 
same place as bjohnson, and it works. Seems to take longer than it used to 
compile, but it works.

Original comment by emed...@gmail.com on 12 Aug 2011 at 4:07

GoogleCodeExporter commented 8 years ago
I managed to fix this by modifying the file here 
http://code.google.com/p/simple-openni/source/browse/trunk/SimpleOpenNI/platform
/osx/library_localLib/changeToLoadPath.sh

change "Release" to "x86-Release" in all instances and run the script in "Data" 
folder of the installer and also in the fodler where libSimpleOpenNI.jnilib 
(~/Documents/Processing/libraries/SimpleOpenNI/library).

Run the install script again.

That fixed it for me

Original comment by j...@fader.co.uk on 26 Feb 2012 at 1:40

GoogleCodeExporter commented 8 years ago
here is the patched script

Original comment by j...@fader.co.uk on 26 Feb 2012 at 1:41

Attachments:

GoogleCodeExporter commented 8 years ago
I installed OpenNI, NITE and Sensor-Kinect via this instructions: 
https://github.com/totakke/openni-formula

How can I point the simple-openni to use this installation?

Original comment by mar251@gmail.com on 25 Aug 2012 at 3:05

GoogleCodeExporter commented 8 years ago
I'm a little basic about this, but I can't get the patch to work.
Where do I put the file e how do I run it? I tried sh changeToLoadPath.sh and 
it doesn't find the files to change.

Original comment by jonatas....@gmail.com on 15 Dec 2013 at 6:52

GoogleCodeExporter commented 8 years ago
Ok I couldn't find a way to patch it so I just copied the files to the root of 
the mac system(where it was looking for it) and it worked.

Original comment by jonatas....@gmail.com on 23 Jan 2014 at 7:34