totakke / homebrew-openni2 Goto Github PK
View Code? Open in Web Editor NEWOpenNI2-related formulae for the Homebrew package manager
License: Other
OpenNI2-related formulae for the Homebrew package manager
License: Other
It seams, that the repository 'https://github.com/piedar/OpenNI2-FreenectDriver' isn't available any longer.
Hi,
I got the following error while trying to installing OpenNI2:
$ brew install openni2
==> Downloading https://github.com/occipital/OpenNI2/archive/2.2-beta2.tar.gz
Already downloaded: /Library/Caches/Homebrew/openni2-2.2.0.33.tar.gz
==> Patching
patching file Packaging/Harvest.py
Error: private method `cxx=' called for #<Object:0x007f9c6a0cd268>
Please report this bug:
https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Taps/totakke/homebrew-openni2/openni2.rb:26:in `install'
/usr/local/Library/Homebrew/build.rb:172:in `block in install'
/usr/local/Library/Homebrew/formula.rb:267:in `block in brew'
/usr/local/Library/Homebrew/formula.rb:588:in `block in stage'
/usr/local/Library/Homebrew/resource.rb:62:in `block in unpack'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/resource.rb:59:in `unpack'
/usr/local/Library/Homebrew/resource.rb:52:in `stage'
/usr/local/Library/Homebrew/formula.rb:586:in `stage'
/usr/local/Library/Homebrew/formula.rb:262:in `brew'
/usr/local/Library/Homebrew/build.rb:149:in `install'
/usr/local/Library/Homebrew/build.rb:43:in `main'
/usr/local/Library/Homebrew/build.rb:10:in `block in <top (required)>
This is my brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: bdc815f7b034c01f8808ea9a8a9d088020a3d0df
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit haswell
OS X: 10.9.3-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-451
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Thanks!
Hi,
After doing this, I got the error:
$ brew install openni2-freenectdriver
==> Installing openni2-freenectdriver from totakke/openni2
==> Downloading https://github.com/OpenKinect/libfreenect/archive/v0.4.1.tar.gz
Already downloaded: /Users/ucfan/Library/Caches/Homebrew/openni2-freenectdriver-0.4.1.tar.gz
==> cmake .. -DBUILD_OPENNI2_DRIVER=ON
==> make
Error: No such file or directory - (/usr/local/Cellar/openni2-freenectdriver/0.4.1/libFreenectDriver.0.4.1.dylib, /usr/local/Cellar/openni2/2.2.0-debian/share/openni2/samples/Bin/OpenNI2/Drivers/libFreenectDriver.dylib)
My brew config:
HOMEBREW_VERSION: 1.2.0-48-g6edf938
ORIGIN: https://github.com/Homebrew/brew
HEAD: 6edf9382bcc1240ad6f97c8b752cfe56cef9965d
Last commit: 20 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 9c4f788f512c3fdb9f83dace59b2194a778c13bd
Core tap last commit: 8 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.10.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/ucfan/.rvm/rubies/ruby-2.3.0/bin/ruby
Java: 1.8.0_111
macOS: 10.12.3-x86_64
Xcode: 8.2.1
CLT: N/A
X11: N/A
I'm compiling RGBdemo and nestk with CMake (OS X 10.8.4 FWIW), which has a dependency on openni (which I got through the ZigFu plugin installer) and openni2 (which I'm trying to get through your formula). CMake can find the former, but not the latter. Here's the error dump:
-- OpenNI found (include: /usr/include/ni, lib: /usr/lib/libOpenNI.dylib)
CMake Error at /usr/local/Cellar/cmake/2.8.11.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/2.8.11.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
nestk/cmake/FindOpenNI2.cmake:39 (find_package_handle_standard_args)
nestk/cmake/find_nestk_deps.cmake:107 (FIND_PACKAGE)
nestk/UseEmbeddedNestk.cmake:23 (INCLUDE)
nestk/CMakeLists.txt:67 (INCLUDE)
Is this a case of the formula not adding OPENNI2_LIBRARY and OPENNI2_INCLUDE_DIR to the path?
Hi,
thanks for OpenNI 2 formula, you saved me lot of time. there's only one problem: it won't install correctly.
It installs dependencies ok, but when it tries openni:
==> Installing openni2
==> Cloning https://github.com/OpenNI/OpenNI2.git
Cloning into '/Library/Caches/Homebrew/openni2--git'...
remote: Counting objects: 5136, done.
remote: Compressing objects: 100% (2356/2356), done.
remote: Total 5136 (delta 3242), reused 4392 (delta 2573)
Receiving objects: 100% (5136/5136), 10.45 MiB | 815.00 KiB/s, done.
Resolving deltas: 100% (3242/3242), done.
Checking connectivity... done
==> Checking out revision 5b88c95e4f8d19b95713e3c873c7d07e48e5605b
==> make all doc
_xnUSBOpenDeviceImpl in libXnLib.a(XnLinuxUSB.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [../../../Bin/x64-Release/OpenNI2/Drivers/libPS1080.dylib] Error 1
make: *** [Source/Drivers/PS1080] Error 2
HALP! :)
Hello,
I'm getting this error:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 116, in copy
copyfile(src, dst)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 81, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/private/tmp/openni2-36Hz/OpenNI2-2.2-beta2/Bin/x64-Release/libOpenNI2.dylib'
When running brew install openni2
Any idea?
Hi i am getting this error when i am trying to install openni2
==> make all doc
clang++ -stdlib=libstdc++ -x c++ -c -arch i386 -arch x86_64 -msse3 -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -I/opt/local/include -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -Werror -o ../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jmemnobs.o ../../ThirdParty/LibJPEG/jmemnobs.c
clang++ -stdlib=libstdc++ -x c++ -c -arch i386 -arch x86_64 -msse3 -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -I/opt/local/include -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -Werror -o ../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jquant1.o ../../ThirdParty/LibJPEG/jquant1.c
clang++ -stdlib=libstdc++ -x c++ -c -arch i386 -arch x86_64 -msse3 -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -I/opt/local/include -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -Werror -o ../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jquant2.o ../../ThirdParty/LibJPEG/jquant2.c
clang++ -stdlib=libstdc++ -x c++ -c -arch i386 -arch x86_64 -msse3 -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -I/opt/local/include -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -Werror -o ../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jutils.o ../../ThirdParty/LibJPEG/jutils.c
clang++ -stdlib=libstdc++ -o ../../Bin/x64-Release/libOpenNI2.dylib ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniContext.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniDataRecords.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniDevice.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniDeviceDriver.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniDriverHandler.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniFrameManager.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniRecorder.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniSensor.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniStream.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniStreamFrameHolder.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OniSyncedStreamsFrameHolder.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/OpenNI.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/XnCodec.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/XnStreamCompression.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcapimin.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcapistd.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jccoefct.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jccolor.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcdctmgr.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jchuff.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcinit.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcmainct.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcmarker.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcmaster.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcomapi.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcparam.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcphuff.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcprepct.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jcsample.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jctrans.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdapimin.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdapistd.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdatadst.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdatasrc.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdcoefct.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdcolor.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jddctmgr.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdhuff.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdinput.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdmainct.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdmarker.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdmaster.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdmerge.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdphuff.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdpostct.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdsample.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jdtrans.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jerror.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jfdctflt.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jfdctfst.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jfdctint.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jidctflt.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jidctfst.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jidctint.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jidctred.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jmemmgr.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jmemnobs.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jquant1.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jquant2.o ./../../Bin/Intermediate/x64-Release/libOpenNI2.dylib/jutils.o -arch i386 -arch x86_64 -framework CoreFoundation -framework IOKit -L../../ThirdParty/PSCommon/XnLib/Bin/x64-Release -L../../Bin/x64-Release -lXnLib -ldl -lpthread -undefined error -dynamiclib -headerpad_max_install_names -install_name libOpenNI2.dylib
brew --config is:
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 2dccb4dc3e15c1cfb5298459cf33a7c7f27426d6
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
thank you...
brew install openni2
==> Downloading https://github.com/occipital/OpenNI2/archive/2.2-beta2.tar.gz
Already downloaded: /Library/Caches/Homebrew/openni2-2.2.0.33.tar.gz
==> Downloading https://github.com/occipital/OpenNI2/pull/18.patch
Error: SHA1 mismatch
Expected: e0be30b6b9296939306155580df1ac7912d3f949
Actual: 4beb04a31a64677618801f0e95141807592442ef
Archive: /Library/Caches/Homebrew/openni2--patch-e0be30b6b9296939306155580df1ac7912d3f949.patch
To retry an incomplete download, remove the file above.
I've tried removing the file it told me to, but I end up at the same place.
I did install openni prior to that, uninstalling then trying to install this didn't make a difference.
Hi,
I was trying to install openni2 through brew, but it gives me the following error:
Error: openni2 dependency libusb not installed with:
--universal
libusb is installed on my system, but (probably) not configured correctly. I tried searching for an answer online, but couldn't find any information about the universal flag.
brew is up to date and so is libusb.
Is it just a yeti bug I'm experiencing or has any of you encountered the same thing while trying to install?
Thank you in advance.
Hi,
Thanks for this great library. I'm trying to run NiVIewer and I get a bunch of command line output:
However, for none of the sample programs I see an actual camera interface or anything visual. Any idea what may cause this. (I am on Sierra).
ps: I am using a Kinect v2, hope that's not a problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.