This site requires JavaScript, please enable it in your browser!
Greenfoot back
dangjavageek
dangjavageek wrote ...

2014/12/3

updated Kinect instructions for Mac OS X

dangjavageek dangjavageek

2014/12/3

#
from previous thread, "Greenfoot Kinect / Mac OS X 10.7 Lion - libusb-devel" and thanks to nccb, I got this to work: for Mac OS X 10.10 with the following software versions: Mac OS X 10.10.1 XCode 6.1.1 macports 2.3.3 sudo /opt/local/bin/port -v selfupdate RESULT: MacPorts base version 2.3.3 installed ---> MacPorts base is already the latest version sudo /opt/local/bin/port install libtool RESULT: clean install sudo /opt/local/bin/port install libusb +universal RESULT: clean install sudo /opt/local/bin/port install boost RESULT: clean install sudo /opt/local/bin/port install wxWidgets-3.0 RESULT: clean install OpenNI from greenfoot kinect download page RESULT: clean install Kinect Driver from greenfoot kinect download page RESULT: clean install NITE from greenfoot kinect download page RESULT: clean install test OpenNI SimpleViewer RESULT: works with -Djava.library.path=/usr/lib kinectserver-1.2m2 -> ./configure --with-boost=/opt/local/include --with-wx-config=/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/bin/wx-config --with-wx-prefix=/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0 make sudo make install RESULT: clean install /usr/local/bin/kinectserver RESULT: works!
pendragon pendragon

2015/11/12

#
Thanks dangjavageek! I've gone through this process a few times as well as nccb's workaround for the configure.ac file. Either way, I get error messages. Following these steps, I get all the way to make and sudo make install and get this error message: clang: error: no such file or directory: '/opt/local/lib/libboost_thread-mt.a' clang: error: no such file or directory: '/opt/local/lib/libboost_atomic-mt.a' Contrastingly, when I've made the changes to the configure.ac file, I get this message: 4: INTERNAL ERROR: recursive push_string! autom4te: /usr/bin/m4 failed with exit status: 1 make: *** Error 1 Any thoughts?
pendragon pendragon

2015/11/12

#
This is what happens when I run autoreconf -i: $ autoreconf -i /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4: INTERNAL ERROR: recursive push_string! autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: error: echo failed with exit status: 1 autoreconf: /opt/local/bin/aclocal failed with exit status: 1
dexpot dexpot

2016/8/18

#
pendragon wrote...
Following these steps, I get all the way to make and sudo make install and get this error message: clang: error: no such file or directory: '/opt/local/lib/libboost_thread-mt.a' clang: error: no such file or directory: '/opt/local/lib/libboost_atomic-mt.a'
You might need to attach -no_static:
sudo /opt/local/bin/port install boost -no_static
You need to login to post a reply.